right this should be fairly straightforward. I have a number of Div's set up to cover my screen while some scripts load. but i can't seem to change their zIndex in netscape so that they wil go to the bottom of the stack and be hidden away nicely.
here's the script/html section
<div id="background" style="position:absolute; left:0; top:0; width:100%; height:100%; z-index=-1; background-color:white;"></div>
<div id="cover" style="position:absolute; left:0; top:0; width:100%; height:100%; z-index:500; background-color:white">
<a href="#" onClick="win_flip();">
<div id="clicky" style="position:absolute;left:45%; top:20%; width:200px; height:100px; border-width:2px; border-style:solid; border-color:#808080; background-color:#C0C0C0; color:#C0C0C0">
<h5 style="color:black; font-size:14px,text-align:center;font-family:tahoma;"><a href='#' onmouseover="popUp(3)" onmouseout="popOut()" onfocus="if(this.blur)this.blur()" onClick="win_flip();"><center>ASTeC Website</center></h5></a></p>
<p><center> <a href="http://accelerator.dl.ac.uk/index.html/" onmouseover="popUp(4)" onmouseout="popOut()" onfocus="if(this.blur)this.blur()">Old Browsers</a></center></p>
</div>
</div>
</a>
<script laguage="javascript">
function win_flip(){
if (document.all) {
cover.style.zIndex='-100';
clicky.style.zIndex=-201;
}
else if (document.layers) {
cover.zIndex=-100;
clicky.zIndex=-201;
}
}
i tried using the netscape javascript console [thanks for telling me about that doc]. it just tells me that win_flip() is undefined and thats about it.
Thanks
: : Relain : ::