____________________
javascript part:
Code: Select all
function out(loc,block)
{
loc.style.visibility="hidden";
block.style.visibility="hidden";
}
function over(loc,block)
{
loc.style.visibility="visible";
block.style.visibility="visible";
}Code: Select all
<script>
for(ey=$y-4,a=0;ey!=$y+5;ey++)
{
for(ex=$x-4;ex!=$x+5;ex++,a++)
{
document.write('<span id="b' + ex + 'b' + ey + '" style="position:absolute;visibility:hidden;left:0;">');
document.write('HELLO' + ex + '</span>');
}
}
</script>another script. Part of anchor.
Code: Select all
onMouseOver="over(l' + ex + 'l' + ey + ',b' + ex + 'b' + ey + ')" onMouseOut="out(l' + ex + 'l' + ey +',b' + ex + 'b' + ey +')"The layer showing "HELLO" is of SPAN (block on upper script) and I can't get it to work for NS6. However the loc (upper script) is an image and the upper script works for it on NS6 provided i delete the entry of BLOCK from the mouse events.
How can I make SHOW and HIDE span or div work for NS6? thanks