8、跟随鼠标的快乐小孩

8、跟随鼠标的快乐小孩

<STYLE>v\:* {

       BEHAVIOR: url(#default#VML)

}

A:link {

       COLOR: coral; TEXT-DECORATION: none

}

A:visited {

       COLOR: red; TEXT-DECORATION: none

}

A:active {

       COLOR: green; TEXT-DECORATION: none

}

A:hover {

       COLOR: steelblue; TEXT-DECORATION: none

}

</STYLE>

 

<SCRIPT language=JavaScript>

function click() {if (event.button==2 | event.button==3) {alert('小心别笑破肚皮,哈哈')}} document.onmousedown=click

</SCRIPT>

 

<META content="MSHTML 6.00.2900.2144" name=GENERATOR></HEAD>

<BODY bgColor=#000000 scroll=yes>

<DIV style="WIDTH: 749px; HEIGHT: 19px"><FONT face=MingLiu size=2></FONT></DIV>

<DIV style="BACKGROUND: #e4e4e4; font-color: black"></DIV>

<DIV>  </DIV>

<DIV></DIV>

<DIV></DIV>

<DIV style="WIDTH: 727px; HEIGHT: 32px">

<P align=center><BR></P></DIV>

<DIV class=OutlookMessageHeader dir=ltr align=left> </DIV>

<DIV class=OutlookMessageHeader dir=ltr align=left> </DIV>

<DIV><FONT color=#ff0000 size=4></FONT> </DIV>

<DIV> </DIV>

<DIV>

<P align=center><BR></P></DIV>

<DIV style="FONT: 10pt arial">

<DIV><STRONG><FONT face="Comic Sans MS" color=#ffff00

size=3>    </FONT></STRONG><BR> </DIV></DIV>

<BLOCKQUOTE

style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">

  <DIV><FONT face="Comic Sans MS" size=4></FONT><BR> </DIV>

  <DIV><FONT color=#00ffff></FONT> </DIV>

  <BLOCKQUOTE

  style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">

    <DIV><FONT color=#00ffff><BR></FONT> </DIV>

    <DIV><FONT color=#00ffff></FONT> </DIV>

    <DIV

    style="FONT-WEIGHT: bold; FONT-SIZE: 14px; COLOR: #ffff00; FONT-FAMILY: verdana"

    align=justify><BR><BR><BR><BR><FONT size=1></FONT> </DIV><IMG id=Om

    style="LEFT: -1000px; POSITION: absolute" height=145 src="store/pic/1.gif"

    width=145>

    <SCRIPT>    

ddx=0;ddy=0;PX=0;PY=0;xm=0;ym=0    

OmW=Om.width/2;OmH=Om.height/2    

document.body.style.cursor="hand"    

function Ouille(){    

       x=Math.round(PX+=(ddx+=((xm-PX-ddx)*3)/100))    

       y=Math.round(PY+=(ddy+=((ym-PY-ddy)*3-300)/100))    

       Om.style.left=x-OmW    

       Om.style.top=y-OmH    

       elastoc.to=x+","+y    

       elastoc.strokecolor="RGB("+x+","+(2*y)+",0)"    

       setTimeout("Ouille()",1)       

}    

function momouse(){    

       xm=window.event.x    

       ym=window.event.y    

       elastoc.from=xm+","+ym    

}    

if(ScriptEngineMajorVersion()==5 && ScriptEngineMinorVersion()==5){    

code="<v:line id=elastoc style='LEFT:0;POSITION:absolute;TOP:0' strokeweight='1.5pt'></v:line>"} else {    

code="<v:group style='LEFT:-10;WIDTH:100pt;POSITION:absolute;TOP:0;HEIGHT:100pt' coordsize='21600,21600'><v:line id=elastoc style='LEFT:0;WIDTH:100pt;POSITION:absolute;TOP:0;HEIGHT:100pt' strokeweight='1.5pt'></v:line></v:group>"}    

document.body.insertAdjacentHTML("afterBegin",code)    

document.onmousemove=momouse    

Ouille()    

//----------------------------------------------------------------------    

    </SCRIPT>

     </BLOCKQUOTE></BLOCKQUOTE>

<SCRIPT language=JavaScript src=""></SCRIPT>

</BODY></HTML>

 

 

Write a comment

Comments: 0