View Full Version : Iframe/Netscape
djfenom
01-07-2003, 11:12 AM
I am currently building a website which has a nicely designed curvy background and right aligned navigation, due to this design, an Iframe is used in the centre of the page so that it can scroll and not spoil the design. On the navigation there is a 'products' button which has a dropdown menu on it. When you click the 'products' button a layer is visible over the top of the Iframe were you can select which product you want to view.
This works perfectly in IE, however in NS6 the layer with the dropdown in it goes underneath the Iframe. Is there any way of getting around this?
Thanks.
Chris
brothercake
01-07-2003, 12:21 PM
In a nutshell, no. Frames are window-level objects with a z-order of infinity - nothing can go above them, except in IE6.
djfenom
01-07-2003, 01:34 PM
I feared that may be the case, looks like I'm gonna have to do a different version of the site for NS and IE4/5.
While I'm here does anyone have a nice detection script to tell the browser to go to a different page if it is NS or IE4/5.
I need this as a link though, so when you click on the link, it will then redirect the user rather than do it onload.
Thanks.
Chris
brothercake
01-08-2003, 01:30 AM
http://www.brothercake.com/scripts/sniffer.php will give you a useable set of variables; use them how you like.
But I would tend to avoid multi-browser pages; such a hassle to maintain; better to embed browser-specific code into individual pages (if need be - best to avoid browser-specific design in the first place)
If it was me, I'd ditch either the iframe or the menu; probably the iframe and do it with SS includes of some kind.
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.