Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:14
IFrames and IE5
Poster: bracken
Dated: Friday August 20 2004 - 0:35:51 BST
Hi, I have a webpage that has the milonic menu in the top section of the page then followed by an iframe that the content is displayed in. It works fine in later versions of IE but in IE5 the menu seems to be under the IFrame i tried playing with z-index but no luck there does anyone have any suggestions.
Poster: Leeson
Dated: Monday August 23 2004 - 11:50:49 BST
This seems to be a common problem and is caused by that, in IE5, iframes are always on top, regardless of z-index. What to do is either re-design, so that iframe and menu does not overlap, or do as I did.
You make an iframe ("hidden", 1x1px at bottom of page) and load the content of the frame into a div, which you place where the iframe used to be. I used a script from http://www.dyn-web.com, but i am sure you can google for others. This seems to work nicely for all browsers. I am quite new to the whole webdesign area, so my code might be a bit "ugly", but it works.
our url is http://www.mednut.ki.se/research/mmc