Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Mouseovers are displaying behind Flash

Status
Not open for further replies.

jewel464g

Technical User
Jul 18, 2001
198
US
I volunteered to help our local Goodwill make some changes to their site. One of the requested items was a pop-up menu when you mouse over the top menu.


They have an existing flash that they want to keep. For some reason the menu pops up behind the flash. How can I get it to appear on top?

Jewel

When faced with a decision, always ask, 'Which would be the most fun?'
 
you could try setting the z-index of the popups.

By the way, that code is truly dreadful. Fireworks does not make a good web site.

I appreciate that this may not be your code, this may be the code you've inherited, in which case I may well be teaching Granny to suck eggs - but I'll hand out the advice anyway ;-)
[ul] [li]look into Web Standards (such as using a Doctype and valid markup)[/li]
[li]learn about CSS, and seperation of presentation from content (the CSS Zen Garden is a good example)[/li]
[li]avoid menus which are created in JavaScript, as they cannot be used if JavaScript is switched off, and cannot be indexed by search engines. Accessible popup menus are possible, they just require a different approach.[/li][/ul]

---
Marcus
better questions get better answers - faq581-3339
accessible web design - zioncore.com
 
Turns out this is actually a Flash issue not a javascript issue. To fix the problem I just added this line in my flash

<param name="wmode" value="opaque">

And yes I did inherit all of this code, and just want to get it working for them. I don't have the time to totally rebuild a site this large for free.

Jewel

When faced with a decision, always ask, 'Which would be the most fun?'
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top