vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3 Articles (https://vborg.vbsupport.ru/forumdisplay.php?f=187)
-   -   Displaying DHTML Menus Above Flash Banners (https://vborg.vbsupport.ru/showthread.php?t=176537)

FatalBreeze 04-17-2008 10:00 PM

Displaying DHTML Menus Above Flash Banners
 
Hello Guys!

At first i had the exact problem, and i looked for a solution here in vb.org but couldn't find one, so when i finally did find a solution, i felt i'm obligated to write a short article.

So let's get to business:

PROBLEM: DHTML menus (i.e. Thread Tools) are displayed behind flash banners.

SOLUTION:

The solution is the Window Mode (wmode).
There are three types of window mode:
  1. Window: This is the default value for wmode, it makes the flash banner to always shown on top.
  2. Opaque: Will let you see the DHTML menu over the flash banner, however if there are transparent parts in the banner, you won't be able to see the HTML which is behind the flash banner (usually the background).
  3. Transparent: Just like the opaque mode, but will let you see the the HTML in the transparent places in the banner. For example, if you have a transparent place in the banner, and the background of the HTML page is black, then you'll see the color black in the transparent places.
So, to use the wmode, all you have to do is:
  1. Add the folowing parameter to the object tag:
    HTML Code:

    <param name="wmode" value="opaque">
  2. Add the following line to the EMBED tag:
    HTML Code:

    wmode="opaque"
(NOTICE: "opaque" mode was just an example in the above, you can either use "window", "opaque" or "transparent").

I hope i helped someone, and i'll see you later in further articles.


All times are GMT. The time now is 01:31 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01904 seconds
  • Memory Usage 1,708KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_html_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (1)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete