Need a code, drop down menu hidden

roey

From Pandora.
Joined
Feb 22, 2012
Messages
234
Reaction score
19
Hi all,

I have a demo play area and this kills the drop down menu (it hides behind the demo slot hiding the drop down) is there a code i can add to make the menu take priority?


Edit: its a Wordpress site
 

Online18Casino

Affiliate Guard Dog Member
Joined
Sep 7, 2009
Messages
596
Reaction score
58
Hi all,

I have a demo play area and this kills the drop down menu (it hides behind the demo slot hiding the drop down) is there a code i can add to make the menu take priority?


Edit: its a Wordpress site

To be honest, I am having a very hard time trying to visualize what your explaining.. If you have an example url maybe we could be of more help..?
 

Perc

Affiliate Guard Dog Member
Joined
Aug 24, 2010
Messages
195
Reaction score
19
What kind of theme are you using (free/paid/custom/etc)?

I had the same issue before, and I finally just fixed it, but not sure how much help I can be. It's definitely in the way the theme is coded, most likely in the css.

I used a program called Artisteer to create my theme, back in 2010 I think it was version 2, and the drop-down menus were hidden behind embedded videos and games. I just got the latest version and updated my theme, and now the menus work properly.

The theme code/files that it spit out are totally different, so I can't really tell you exactly what changed to fix it.
 

slotplayer

Affiliate Guard Dog Member
Joined
Aug 8, 2008
Messages
1,843
Reaction score
307
its a well known problem.

it has to do with the stacking order of elements (ie.. banners, text blocks, forms, links). when you add items to your page they're really stacked on top of each other in the order of occurrance, like a stack of pancakes.

you can adjust the stack order (if needed) by adding/modifying the zindex property. The higher the zindex the closer the element is to the top of the stack.

Unfortunately, flash elements are always placed on the very top of the stack irregardless of what the zindex value is set to on other elements, which is why your menu is behind the flash game.

SWF file ignores stacking order, plays on top of DHTML layers


the fix is to set the wmode flashvar to transparent.

Flash OBJECT and EMBED tag attributes

Because many of the flash game code are in an iframe we don't have access to the wmode parameter. Youtube allows it to appended to the url and thus passed to flash player to be changed to whatever.

what games are these?
 
Last edited:

roey

From Pandora.
Joined
Feb 22, 2012
Messages
234
Reaction score
19
These are a handful of tropezia palace games(not all)

Seems theres no simple fix i can find atm.

Xparam name="wmode" value="transparent"> does nothing. Anyone have a simple fix?
 
Last edited:

slotplayer

Affiliate Guard Dog Member
Joined
Aug 8, 2008
Messages
1,843
Reaction score
307
These are a handful of tropezia palace games(not all)

Seems theres no simple fix i can find atm.

<param name="wmode" value="transparent"> does nothing. Anyone have a simple fix?

I don't think wmode works unless the flash game is in the object tag like this.

PHP:
<object width="200" height="300" data="example.swf" type="application/x-shockwave-flash">
    <param name="quality" value="high" />
    <param name="wmode" value="transparent" />
    <param name="src" value="example.swf" />
</object>

But you can try the zindex as it seems to work with the newer version browsers (except ie8 ).

here is a simple test page using a netent game. The game first loads on top of the red box.
click the "click me" link and you'll see the red box appear over the game.
All it does is use a little javascript to change the zindex of the red box from -1 to 100.



I'm not familiar with wordpress but you'll have to add or change the zindex property in your css file for the nav menu.
set it really high like 1000 (z-index:1000)
 
Last edited:

Vladi

Affiliate Guard Dog Member
Joined
Feb 4, 2008
Messages
772
Reaction score
115
These sort of problems are predominantly found on Internet Explorer on Windows. First I would ask Tropezia to alter the wmode on the flash that they embed with their script. It will benefit everyone that uses their script if they can do this for you.

If not, and the z-index mentioned above doesn't work (it won't in many cases) there is an IE-only fix. Google "IE iframe shim" and you'll find a way of making sure your drop down appears over the top of the flash by hiding an iframe element that is the exact same size and shape as your menu behind the menu. The iframe will draw over the top of the flash and your menu will draw over the top of the iframe. Like many fixes for the multitude of IE rendering bugs it is bizarre and illogical but it works. If that sounds too complicated, you'll need a developer who should be able to sort it out quickly as the problem is old and well known.
 
Top