E
Eric
I'm working with a function which is part of my navigation menu. I'm
working with hidden and visible layers and can't seem to determine why
this code will not work in netscape...I'm sure it has something to do
with the "show" and "hide" wording...any ideas?
function MM_showHideLayers() {
var i,p,v,obj,args=MM_showHideLayers.arguments;
for (i=0; i<(args.length-2); i+=3) if
((obj=MM_findObj(args))!=null) { v=args[i+2];
if (obj.style) { obj=obj.style;
v=(v=='show')?'visible'v='hide')?'hidden':v; }
obj.visibility=v; }
}
working with hidden and visible layers and can't seem to determine why
this code will not work in netscape...I'm sure it has something to do
with the "show" and "hide" wording...any ideas?
function MM_showHideLayers() {
var i,p,v,obj,args=MM_showHideLayers.arguments;
for (i=0; i<(args.length-2); i+=3) if
((obj=MM_findObj(args))!=null) { v=args[i+2];
if (obj.style) { obj=obj.style;
v=(v=='show')?'visible'v='hide')?'hidden':v; }
obj.visibility=v; }
}