homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Code, Content, and Presentation / Flash and Shockwave
Forum Library, Charter, Moderator: open

Flash and Shockwave Forum

Rollover menu over an iframe not working in firefox

5+ Year Member

Msg#: 663 posted 1:58 pm on Nov 1, 2005 (gmt 0)

I have a flash rollover menu where part of the menu appears over an iframe. When I move my mouse over the parts of the menu that overlap the iframe, I lose focus on the menu disappears. Anybody know how to fix this? I am using Firefox 1.0.7



Msg#: 663 posted 10:38 pm on Nov 1, 2005 (gmt 0)

use scrolling divs not i-frames, they are simply bad code practice these days


WebmasterWorld Senior Member suzyuk us a WebmasterWorld Top Contributor of All Time 10+ Year Member

Msg#: 663 posted 10:51 pm on Nov 1, 2005 (gmt 0)

mizu Welcome!

an iframe is a windowed component, it always appears "on top". As far as z-indez is concerned you can't get higher than an iframe :( well except in IE..

but a flash movie.. I'm led to believe is slightly different, you need to specify the transparency both in the <object param> and the <embed> elements..

<param name="wmode" value="transparent"> &
<embed wmode="transparent"....>

whether or not that still works over the top of an iframe I'm not sure


5+ Year Member

Msg#: 663 posted 12:33 pm on Nov 2, 2005 (gmt 0)

Hi All

I am working on a company intranet and do not have the luxury of deciding whether to use iframes and flash or not!

I also have to use the <param name="wmode" value="transparent"> in flash. All works 100% in IE, but in Firefox it seems like the iframe grabs the focus when the mouse moves over it, thus the menu jumps back to its original position.

Adding a z-index to the iframe does not seem to have any effect?


Msg#: 663 posted 5:40 pm on Nov 2, 2005 (gmt 0)

as has been said before flash is not subject to z stacking but sits above everything.

Wht not just move the i-frame down a bit...problem solved


10+ Year Member

Msg#: 663 posted 12:21 am on Nov 3, 2005 (gmt 0)

As a general rule of thumb, NEVER use I-frames... too many inconsistancies and problems associated with them.


5+ Year Member

Msg#: 663 posted 6:32 am on Nov 3, 2005 (gmt 0)

not to sound odd or stray away from the topic of this forum, but can anyone help with an audio problem I'm having in Flash MX?


5+ Year Member

Msg#: 663 posted 3:48 pm on Mar 12, 2008 (gmt 0)

Hi there,

I noticed this thread and I also noticed Richard N's reply about Iframes.

Sometimes scrollable divs are sometimes good when you have minimal amounts of data. You could populate them using AJAX if you were so inclined. However, for involving complex UIs that may have to change dynamically on your page they are useless, you need an Iframe. I am thinking this is your dilema here.

What I found is that you CAN get a div to go over an iframe in firefox, especially now that firefox is up to 2.3 or more. Its all about the positioning of the menu that drops down. In most cases drop down menus are relatively positioned within the same div that tool bar menu item is located. I had this very same problem. What I did was i absolutely positioned the drop down. Then what I did was made the VERY TOP level div, the one that surrounds your menu items probably, positioned relative. The menu will now drop down in the correct spot, and z-indexes will be recognized. Its a funny quirk. Before I had the divs that the drop down was located in all realtively or absolutely positioned and it wouldn't work properly, but after I removed all positioning from all the divs above the drop down menu div (except the top level), it worked fine. Perhaps play with this and let me know how it goes (if you still have the problem, this post is very old).

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / Flash and Shockwave
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved