TOP /TIME&JavaScript | メニュー(IE5.5) TIME&JavaScript |
---|
<style> t\:* {behavior: url(#default#time2);} #menu td{filter:blendTrans();cursor:hand;font-size: 10pt} </style> <script language="JavaScript"><!-- divtop=50; var mtid; tempfrom=divtop; flagm=0; function Menuset(){ flagm=1; tempto=document.body.scrollTop+divtop; topMove.from=tempfrom; topMove.to=tempto; topMove.beginElement(); tempfrom=tempto; } function Menuposition(){ if(window.createPopup){ if(flagm){ clearTimeout(mtid); mtid=setTimeout("Menuposition()",100); } else Menuset(); }else if(document.all){ document.all("menubase").style.pixelTop=document.body.scrollTop+divtop; }else{ document.getElementById("menubase").style.top=(pageYOffset+divtop)+"px"; } } onscroll = Menuposition; function mouseout(obj){ if(document.all)obj.filters("blendTrans").apply(); obj.style.backgroundColor = "white"; if(document.all)obj.filters("blendTrans").play(); obj.style.color=''; }/*himajin.moo.jp*/ //--> </script> <div id="menubase"style="position:absolute;width:150;padding: 8px;border: 1px solid blue;top:50;left:10;"> <table id="menu"width="100%"> <tr><td onmouseover="this.style.backgroundColor = '#6688ff';this.style.color='#ffffff'" onmouseout="mouseout(this)" onclick="window.location.href='../index.html'"> TOP </td></tr> <tr><td onmouseover="this.style.backgroundColor = '#6688ff';this.style.color='#ffffff'" onmouseout="mouseout(this)" onclick="window.location.href='../freejava/stokerimg.html'"> マウスストーカー(画像) </td></tr> <tr><td onmouseover="this.style.backgroundColor = '#6688ff';this.style.color='#ffffff'" onmouseout="mouseout(this)" onclick="window.location.href='../freejava/stoker3.html'"> マウスストーカー(花火) </td></tr> <tr><td onmouseover="this.style.backgroundColor = '#6688ff';this.style.color='#ffffff'" onmouseout="mouseout(this)" onclick="window.location.href='../freejava/heart2.html'"> 追いかけるハート </td></tr> <tr><td onmouseover="this.style.backgroundColor = '#6688ff';this.style.color='#ffffff'" onmouseout="mouseout(this)" onclick="window.location.href='../freejava/stoker4.html'"> マウスストーカー(衛星) </td></tr> </table> <t:ANIMATE id="topMove" attributename='top' begin="indefinite" dur="1"from="" to="" decelerate="1" fill="freeze"onend="flagm=0" /> </div>