<title> Static navigation scripts </title>
<script language=javascript>
<!--
function Setvariables () {//depending on the browser to preset the properties that need to be changed
if (navigator.appname = = "Netscape")//if NS
{
v= ". top=";
ds= "document.";
Sd= "";
Y= "Window.pageyoffset";
}
else {//if it is IE
v= ". pixeltop=";
Ds= "";
Sd= ". Style";
Y= "Document.body.scrollTop";
}
}
function Keeplocation () {//This is used to keep the position of the floating layer
Object= "Object1";//This defines the name (ID) of the layer that needs to be persisted
Yy=eval (y);//Take the distance from the top of the page to the top of the window
eval (ds+object+sd+v+yy);//Adjustment layer Position
SetTimeout ("Keeplocation ()", 10);//Set delay for next adjustment
}
-
</SCRIPT>
<style type= "Text/css" >
<!--
A{TEXT-DECORATION:NONE;COLOR:808080;FONT-SIZE:11PT}
a:hover{color:ff0000}
-
</style>
<body onload= "Setvariables (); Keeplocation ()" >
<div id= "Object1" style= "Position:absolute; Visibility:show; left:0px; top:0px; Z-index:2 ">
<table width=128 border=0 cellspacing=20 cellpadding=0>
<tr>
<TD height= ">"
<a href=#></a><p>
<a href=# target= "_blank" ><marquee scrollamount= "2" > can also scroll links </marquee></a><br>
</td>
</tr>
</table>
</div>
1<br>2<br>3<br>4<br>5<br>6<br>7<br>8<br>9<br>10<br >11<br>12<br>13<br>14<br>15<br>16<br>17<br>18<br>19<br >20<br>21<br>22<br>23<br>24<br>25<br>26<br>27<br>28<br >29<br>30<br>
</body>