※ 芝麻開門 ※
|
<style> <!-- #slidemenubar, #slidemenubar2{ position:absolute; left:-100px; width:200px; top:170px; background-color:green; layer-background-color:yellow; font:bold 14px Verdana; line-height:20px; } --> </style> </head> <body background="jpg/01_bkg1.jpg"> <script language="JavaScript1.2"> if (document.all) document.write('<div id="slidemenubar2" style="left:-100" onMouseover="pull()" onMouseout="draw()">') </script><script language="JavaScript1.2"> var sitems=new Array() var sitemlinks=new Array() //Links sitems[0]="../power/jpg/hand.gif" //These are the links pertaining to the above text. sitemlinks[0]="power-1.htm" for (i=0;i<=sitems.length-1;i++) document.write('<a href='+sitemlinks[i]+' target="main"><Img src='+sitems[i]+' border="0"></a><br>') </script><script language="JavaScript1.2"> function regenerate(){ window.location.reload() } function regenerate2(){ if (document.layers) setTimeout("window.onresize=regenerate",400) } window.onload=regenerate2 if (document.all){ document.write('</div>') themenu=document.all.slidemenubar2.style rightboundary=0 leftboundary=-150 } else{ themenu=document.layers.slidemenubar rightboundary=150 leftboundary=10 } function pull(){ if (window.drawit) clearInterval(drawit) pullit=setInterval("pullengine()",50) } function draw(){ clearInterval(pullit) drawit=setInterval("drawengine()",50) } function pullengine(){ if (document.all&&themenu.pixelLeft<rightboundary) themenu.pixelLeft+=5 else if(document.layers&&themenu.left<rightboundary) themenu.left+=5 else if (window.pullit) clearInterval(pullit) } function drawengine(){ if (document.all&&themenu.pixelLeft>leftboundary) themenu.pixelLeft-=5 else if(document.layers&&themenu.left>leftboundary) themenu.left-=5 else if (window.drawit) clearInterval(drawit) } </script> |