pnj
Feb 22nd, 2001, 02:59 PM
heres the code:
***********
<a href="#"onMouseOver="showMenu('NorthLayer')>
***********
function showMenu(menuName)
if(ns)
{
eval("document" + layerRef + "['" + menuName + "']" + styleRef + ".visibility = '" + showRef + "'");
*******
this is where the layerRef,styleRef,showRef come from
if (ns){ // for netscape
layerRef = ".getElementById";
styleRef = ".style";
showRef = "visible";
hideRef = "hidden";
}
********
in IE this(the ie version,very simmalar to this) I get dynamic dropdown menus
in Netscape I get nothing. this is Netscape 6 I am trying to get this to work in.
I can get an alert to show up from the showMenu function so I know I am reaching it, but my layer just won't show up..
any suggestions?
thanks
***********
<a href="#"onMouseOver="showMenu('NorthLayer')>
***********
function showMenu(menuName)
if(ns)
{
eval("document" + layerRef + "['" + menuName + "']" + styleRef + ".visibility = '" + showRef + "'");
*******
this is where the layerRef,styleRef,showRef come from
if (ns){ // for netscape
layerRef = ".getElementById";
styleRef = ".style";
showRef = "visible";
hideRef = "hidden";
}
********
in IE this(the ie version,very simmalar to this) I get dynamic dropdown menus
in Netscape I get nothing. this is Netscape 6 I am trying to get this to work in.
I can get an alert to show up from the showMenu function so I know I am reaching it, but my layer just won't show up..
any suggestions?
thanks