|
<script language="JavaScript1.2"> <br/> document.write("<style type=text/css>#master {LEFT: -100px; POSITION: absolute; TOP: 25px; VISIBILITY: visible; WIDTH: 200px; Z-INDEX: 2}#menu {LEFT: 100px; POSITION: absolute; TOP: 25px; VISIBILITY: visible; WIDTH: 18px; Z-INDEX: 5}#top {LEFT: 0px; POSITION: absolute; TOP: 25px; VISIBILITY: visible; WIDTH: 100px; Z-INDEX: 5}#screen {LEFT: 0px; POSITION: absolute; TOP: 31px; VISIBILITY: visible; WIDTH: 100px; Z-INDEX: 5}#screenlinks {LEFT: 0px; POSITION: absolute; TOP: 31px; VISIBILITY: visible; WIDTH: 100px; Z-INDEX: 5}</style>") <br/> var ie = document.all ? 1 : 0 <br/> var ns = document.layers ? 1 : 0 <br/> <br/> if(ie){ <br/> document.write('<style type="text/css">') <br/> document.write("#screen {filter:Alpha(Opacity=30);}") <br/> document.write("</style>") <br/> } <br/> <br/> if(ns){ <br/> document.write('<style type="text/css">') <br/> document.write("#master {clip:rect(0,150,250,0);}") <br/> document.write("</style>") <br/> } <br/> <br/> <br/> var ie = document.all ? 1 : 0 <br/> var ns = document.layers ? 1 : 0 <br/> <!-- 此特效使用《网页特效精灵》编辑制作--> <br/> <!-- 奥天软件:http://www.aosky.net--> <br/> <br/> var master = new Object("element") <br/> master.curLeft = -100; master.curTop = 10; <br/> master.gapLeft = 0; master.gapTop = 0; <br/> master.timer = null; <br/> <br/> function moveAlong(layerName, paceLeft, paceTop, fromLeft, fromTop){ <br/> clearTimeout(eval(layerName).timer) <br/> <br/> if(eval(layerName).curLeft != fromLeft){ <br/> if((Math.max(eval(layerName).curLeft, fromLeft) - Math.min(eval(layerName).curLeft, fromLeft)) < paceLeft){eval(layerName).curLeft = fromLeft} <br/> else if(eval(layerName).curLeft < fromLeft){eval(layerName).curLeft = eval(layerName).curLeft + paceLeft} <br/> else if(eval(layerName).curLeft > fromLeft){eval(layerName).curLeft = eval(layerName).curLeft - paceLeft} <br/> if(ie){document.all[layerName].style.left = eval(layerName).curLeft} <br/> if(ns){document[layerName].left = eval(layerName).curLeft} <br/> } <br/> <br/> if(eval(layerName).curTop != fromTop){ <br/> if((Math.max(eval(layerName).curTop, fromTop) - Math.min(eval(layerName).curTop, fromTop)) < paceTop){eval(layerName).curTop = fromTop} <br/> else if(eval(layerName).curTop < fromTop){eval(layerName).curTop = eval(layerName).curTop + paceTop} <br/> else if(eval(layerName).curTop > fromTop){eval(layerName).curTop = eval(layerName).curTop - paceTop} <br/> if(ie){document.all[layerName].style.top = eval(layerName).curTop} <br/> if(ns){document[layerName].top = eval(layerName).curTop} <br/> } <br/> <br/> <br/> eval(layerName).timer=setTimeout('moveAlong("'+layerName+'",'+paceLeft+','+paceTop+','+fromLeft+','+fromTop+')',30) <br/> } <br/> <br/> function setPace(layerName, fromLeft, fromTop, motionSpeed){ <br/> eval(layerName).gapLeft = (Math.max(eval(layerName).curLeft, fromLeft) - Math.min(eval(layerName).curLeft, fromLeft))/motionSpeed <br/> eval(layerName).gapTop = (Math.max(eval(layerName).curTop, fromTop) - Math.min(eval(layerName).curTop, fromTop))/motionSpeed <br/> <br/> moveAlong(layerName, eval(layerName).gapLeft, eval(layerName).gapTop, fromLeft, fromTop) <br/> } <br/> <br/> var expandState = 0 <br/> <br/> function expand(){ <br/> if(expandState == 0){setPace("master", 0, 10, 10); if(ie){document.menutop.src = "images/hidemenuin.gif"}; expandState = 1;} <br/> else{setPace("master", -100, 10, 10); if(ie){document.menutop.src = "images/hidemenuout.gif"}; expandState = 0;} <br/> } <br/> <br/> document.write("<div id=master><div id=menu onmouseover=\"javascript:expand()\"><table border=0 cellpadding=0 cellspacing=0 width=18><tbody><tr><td width=\"100%\"><a href=\"javascript:expand()\" onFocus=this.blur()><img alt=点击这里展开/关闭快捷菜单 border=0 height=70 name=menutop src=\"images/hidemenuout.gif\" width=18></a></td></tr></tbody></table></div><div id=top>"); <br/> document.write("<table border=0 cellpadding=0 cellspacing=0 width=100><tbody><tr><td width=\"100%\"><img border=0 height=6 src=\"images/hidemenutop.gif\" width=100></td></tr></tbody></table></div><div id=screen onmouseout=\"javascript:expand()\"><table border=0 cellpadding=5 cellspacing=0 width=100><tbody><tr><td bgcolor=#336666 width=\"100%\" height=\"194\">"); <br/> document.write("<table bgcolor=#336666 border=0 cellpadding=0 cellspacing=0 width=\"100%\" height=\"100%\"><tbody><tr><td width=\"100%\"><table border=0 cellpadding=5 cellspacing=1 width=\"100%\"><tbody><tr><td bgcolor=#ecf6f5 width=\"100%\"><br><br><br><br><br></td></tr></tbody></table></td></tr></tbody></table></td></tr></tbody></table></div><div id=screenlinks>"); <br/> document.write("<table border=0 cellpadding=6 cellspacing=0 width=100><tbody><tr><td style=\"FILTER: alpha(opacity=90)\" width=\"100%\"><table bgcolor=#336666 border=0 cellpadding=0 cellspacing=0 width=\"100%\" ><tbody>"); <br/> document.write("<tr><td width=\"100%\"><table border=0 cellpadding=6 cellspacing=1 width=\"100%\"><tbody><tr>"); <br/> document.write("<td bgcolor=#ECF6F5 width=\"100%\" align=\"center\"><font color=#999900>烟雨棕情</font><br><br>"); <br/> document.write("<a href=index.htm target=\"_blank\">├首 页</a><br>"); <br/> document.write("<a href=music/ target=\"_blank\">├天籁之音</a><br>"); <br/> document.write("<a href=# target=\"_blank\">├原创文学</a><br>"); <br/> document.write("<a href=http://home.itdrp.com/wyg target=\"_blank\">├班级主页</a><br>"); <br/> document.write("<a href=flashbook/index.htm target=\"_blank\">├雁过留痕</a><br>"); <br/> document.write("<a href=dc.htm target=\"_blank\">├友情链接</a><br>"); <br/> document.write("</td></tr></tbody></table></td></tr></tbody></table></td></tr></tbody></table></div></div>"); <br/> <br/> if(ie){var sidemenu = document.all.master;} <br/> if(ns){var sidemenu = document.master;} <br/> <br/> function FixY(){ <br/> if(ie){sidemenu.style.top = document.body.scrollTop+10} <br/> if(ns){sidemenu.top = window.pageYOffset+10} <br/> } <br/> <br/> setInterval("FixY()",100); <br/> </script> <br/> <!--webbot bot="HTMLMarkup" endspan --> <br/> </TD> <br/> </TR> |
|