PHP Code:
function MM_showHideLayers() { //v6.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; }
}
Thats the code the opens the boxes?
And...
PHP Code:
.demo {color:#000033; background-color:#cccccc; layer-background-color:#cccccc;
position:absolute; top:174px; left:210px; width:321px; height:118px;
z-index:99; visibility:hidden;}
.demo1 {color:#000033; background-color:#cccccc; layer-background-color:#cccccc;
position:absolute; top:110px; left:367px; width:112px; height:98px;
z-index:99; visibility:hidden;}
Thats the styles for the 2 boxes?
If this is the case, the 2 z-indexes are the same, 99, and that function doesn't change it... try making it +1 of the other's value each time...
Weird, in IE sumtimes it works, and sumtimes it doesn't...