Layers in IE and NS - Different....how to fix?
I have made a drop down layered menu bar and it seems the layer orientation is different for IE and NS.
If you go here...
http://members.ozemail.com.au/~stuartjohnston/Scalextric/
you will see it works fine in IE - but NS the layers are different and hence the drop down doesnt work...
ideas?
Jack Michaelson posted this at 10:00 — 12th February 2002.
He has: 1,733 posts
Joined: Dec 1999
I think the only way is to do a browsercheck first and then something like
if(NS){
NS actions
}
if(IE){
IE actions}
Hope this helps,
Abhishek Reddy posted this at 10:25 — 12th February 2002.
He has: 3,348 posts
Joined: Jul 2001
if (document.layers)
{
//NS stuff
}
if (document.all)
{
//IE stuff
}
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.