Tip: you can modify some code before running
Script Description: add the following code<body>Region<script>if (!document.layers)document.write('<div id="divStayTopLeft" >')</script><layer id="divStayTopLeft"><!--EDIT BELOW CODE TO YOUR OWN MENU--><table border="1" width="130" cellspacing="0" cellpadding="0"> <tr> <td width="100%" bgcolor="#FFFFCC"> <p align="center"><b><font size="4">Menu</font></b></td> </tr> <tr> <td width="100%" bgcolor="#FFFFFF"> <p align="left">Webpage creation tutorial<br>NetEase<br>Yahoo<br>Federated broadband network<br>Nanjing Broadcasting and Television</td> </tr></table><!--END OF EDIT--></layer><script type="text/javascript">// Enter "frombottom" or "fromtop" var verticalpos = "frombottom" if (! Document. layers) document. write ('</div>') Function JSFX_FloatTopDiv () {var startX = 3, startY = 150; var ns = (navigator. appName. indexOf ("Netscape ")! =-1); var d = document; function ml (id) {var el = d. getElementById? D. getElementById (id): d. all? D. all [id]: d. layers [id]; if (d. layers) el. style = el; el. sP = function (x, y) {this. style. left = x; this. style. top = y ;}; el. x = startX; if (verticalpos = "fromtop") el. y = startY; else {el. y = ns? PageYOffset + innerHeight: document. body. scrollTop + document. body. clientHeight; el. y-= startY;} return el;} window. stayTopLeft = function () {if (verticalpos = "fromtop") {var pY = ns? PageYOffset: document. body. scrollTop; ftlObj. y + = (pY + startY-ftlObj. y)/8;} else {var pY = ns? PageYOffset + innerHeight: document. body. scrollTop + document. body. clientHeight; ftlObj. y + = (pY-startY-ftlObj. y)/8;} ftlObj. sP (ftlObj. x, ftlObj. y); setTimeout ("stayTopLeft ()", 10);} ftlObj = ml ("divStayTopLeft"); stayTopLeft ();} JSFX_FloatTopDiv ();</script>
Tip: you can modify some code before running