Click to See Complete Forum and Search --> : Portable Menu > Mozilla?
schlachs
03-03-2003, 07:24 AM
I have a question concerning the "Portable Menu" http://javascript.internet.com/navigation/portable-menu.html you offer on this site.
It seems to work well with IE but not with Mozilla. Could anybody tell me how to make it work with Mozilla?
Thanks!
khalidali63
03-03-2003, 08:03 AM
There are allots of ready made menus out there( cross browser)
http://dynamicdrive.com/dynamicindex1/staticmenu.htm
this link has one for both NS6+ and IE
Cheers
Khalid
gil davis
03-03-2003, 08:32 AM
Replace the function setVariables() with this:
function setVariables() {
//if (navigator.appName == "Netscape") {
if (document.layers)
{v=".top=";
dS="document.";
sD="";
y="window.pageYOffset";}
else
{if (document.all)
{v=".pixelTop=";
dS="";
sD=".style";
y="document.body.scrollTop";}
else
{if (document.getElementById)
{v="').style.top=";
dS="document.getElementById('";
sD="";
y="window.pageYOffset";}
}
}
}
schlachs
03-03-2003, 09:31 AM
Thanks to both of you, very kind!