Welcome to WebmasterWorld Guest from 22.214.171.124
Forum Moderators: open
I'm a student doing a webdesign project and have encountered trouble with the way JS drop-down menus appear when using iframes in old browsers (ie 5.0 and earlier versions). The problem is that the menu drops down behind the iframe instead of in front of it(like it does in ie 6.0).
I'm using the iframe to display a html document inside another html document. (black field on the site, see web-address below)
I've temporarily put the site up at the web-address below.
<Sorry, no personal URLs>
Any help would be greatly appreciated!
Thanks in advance.
[edited by: tedster at 3:47 pm (utc) on Mar. 25, 2003]
In older browsers iframes and forms are considered ontop. They are the highest in the z-index. I know with some menu scripts you can put code in the page that is displayed in the frame so you can overcome this problem. I don't know of any other way than that though.
While, as korkus said, it is possible - it's important to remember that these JS/dHTML drop down menus make use of the Document Object Model (DOM).
An iFrame, by definition, has a DOM seperate (but assessible) to that of the containing page.