Justin
06-13-2003, 05:49 PM
how would you make this compadible with netscape
<html><head><title>ENTER</title>
<script language="javascript">
if(navigator.appName == "Netscape"){var net = "yes"}
var space=1;
function eye(){
if(net == "yes"){
alert("This is supposed to skip to the other side of your screen, but because you have netscape it doesn't work.")
}else{
if(space == 1){document.all.fire.style.left = parseInt(document.all.fire.style.left) -650; setTimeout("space=2;",'50')}
if(space == 2){document.all.fire.style.top = parseInt(document.all.fire.style.top) -300; setTimeout("space=3;",'50')}
if(space == 3){document.all.fire.style.left = parseInt(document.all.fire.style.left) +650; setTimeout("space=4;",'50')}
if(space == 4){document.all.fire.style.top = parseInt(document.all.fire.style.top) +300; setTimeout("space=1;",'50')}
}
}
</script>
</head>
<BODY background="back.jpg" link="black" Vlink="black">
<div id="fire" style="position: absolute; left: 680px;
top: 290px;" OnMouseover="eye()"><img src="fireeye.gif"></div>
</body></html>
<html><head><title>ENTER</title>
<script language="javascript">
if(navigator.appName == "Netscape"){var net = "yes"}
var space=1;
function eye(){
if(net == "yes"){
alert("This is supposed to skip to the other side of your screen, but because you have netscape it doesn't work.")
}else{
if(space == 1){document.all.fire.style.left = parseInt(document.all.fire.style.left) -650; setTimeout("space=2;",'50')}
if(space == 2){document.all.fire.style.top = parseInt(document.all.fire.style.top) -300; setTimeout("space=3;",'50')}
if(space == 3){document.all.fire.style.left = parseInt(document.all.fire.style.left) +650; setTimeout("space=4;",'50')}
if(space == 4){document.all.fire.style.top = parseInt(document.all.fire.style.top) +300; setTimeout("space=1;",'50')}
}
}
</script>
</head>
<BODY background="back.jpg" link="black" Vlink="black">
<div id="fire" style="position: absolute; left: 680px;
top: 290px;" OnMouseover="eye()"><img src="fireeye.gif"></div>
</body></html>