I am trying to have multiple layers on a page that toggle on and off, it
works on a htm file but when I use it as an asp file it doesnt show
anything.
This is the javascript code that is hindering my asp page:
function MM_showHideLayers() { //v3.0
var i,p,v,obj,args=MM_showHideLayers.arguments;
for (i=0; i<(args.length-2); i+=3) if
((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
if (obj.style) { obj=obj.style;
v=(v=='show')?'visible':(v='hide')?'hidden':v; }
obj.visibility=v; }
}
N e ideas on why this wouldn't work on an asp file?
--
ms_mmswan
------------------------------------------------------------------------
Posted via
http://www.codecomments.com
------------------------------------------------------------------------