Fireflies following the mouse

Source: Internet
Author: User

Intermediary transaction http://www.aliyun.com/zixun/aggregation/6858.html ">seo diagnose Taobao guest cloud host technology Hall

<script language= "JavaScript" >


if (!document.layers&&!document.all)


event= "Test"


function Showtip2 (current,e,text) {


if (document.all&&document.readystate== "complete") {


document.all.tooltip2.innerhtml= ' <marquee style= border:1px solid black ' > ' +text+ ' </marquee> '


document.all.tooltip2.style.pixelleft=event.clientx+document.body.scrollleft+10


document.all.tooltip2.style.pixeltop=event.clienty+document.body.scrolltop+10


document.all.tooltip2.style.visibility= "Visible"}


else if (document.layers) {


document.tooltip2.document.nstip.document.write (' <b> ' +text+ ' </b> ')


document.tooltip2.document.nstip.document.close ()


document.tooltip2.document.nstip.left=0


Currentscroll=setinterval ("Scrolltip ()", 100)


document.tooltip2.left=e.pagex+10


document.tooltip2.top=e.pagey+10


document.tooltip2.visibility= "Show"}}


function Hidetip2 () {


if (document.all)


document.all.tooltip2.style.visibility= "hidden"


else if (document.layers) {


clearinterval (Currentscroll)


document.tooltip2.visibility= "Hidden"}}


function Scrolltip () {


if (document.tooltip2.document.nstip.left>=-document.tooltip2.document.nstip.document.width)


document.tooltip2.document.nstip.left-=5


Else


document.tooltip2.document.nstip.left=150}


</script>


<script language= "JavaScript" >


function Yy_layerfx (yyleft,yytop,yyfnx,yyfny,yydiv,yybilder,yyloop,yyto,yycnt,yystep) {//v1.2


if (document.layers) | | (document.all)) {


with (Math) {yynextx= eval (YYFNX)}


with (Math) {yynexty= eval (yyfny)}


yycnt= (yyloop && yycnt>=yystep*yybilder) 0:yycnt+yystep;


if (document.layers) {


eval (yydiv+ ". top=" + (yynexty+yytop))


eval (yydiv+ ". left=" + (Yynextx+yyleft))}


if (document.all) {


eval ("Yydiv=yydiv.replace (/.layers/gi, '. All ')");


eval (yydiv+ ". style.pixeltop=" + (yynexty+yytop));


eval (yydiv+ ". style.pixelleft=" + (Yynextx+yyleft)); }


argstr= ' Yy_layerfx (' +yyleft+ ', ' +yytop+ ', ' ' +yyfnx+ ', ' ' +yyfny+ ', ' ' +yydiv+ ', ' +yybilder+ ', ' +yyloop+ ', ' +yyto + ', ' +yycnt+ ', ' +yystep+ ';


if (yycnt<=yystep*yybilder) {eval (yydiv+. Yyto=settimeout (Argstr,yyto));}}


function Yy_mousetrace (evnt) {


if (YYNS4)


{if (Evnt.pagex) {yy_ml=evnt.pagex; yy_mt=evnt.pagey;}}


else{


yy_ml= (Event.clientx + document.body.scrollLeft);


yy_mt= (Event.clienty + document.body.scrollTop);}


if (yy_tracescript) eval (yy_tracescript)}


</script>


<script language= "JavaScript" >


function Popwin ()


{


var Popwin = window.open ("new.htm", "Popwin", "toolbar=no,directries=no,scrollbars=yes,height=350,width=400");


}


</script>


<body>


<div id= "Tooltip2 style=" Position:absolute;visibility:hidden;clip:rect (0 0); Background-color:lightyellow ">


<layer name= "Nstip" width= "1000px" bgcolor= "Lightyellow" >


</layer>


</div>


<div id= "yyd0"


Style= "Position:absolute; left:10px; top:50px; width:3px; height:3px; Z-index:1; Background-color: #19636c; Layer-background-color: #19636c; border:1px none #000000; Clip:rect (0 3 3 0) "></div><div


id= "Yyd1"


style= "Position:absolute; left:20px; top:50px; width:3px; height:3px; Z-index:1; Background-color: #708574; Layer-background-color: #708574; border:1px none #000000; Clip:rect (0 3 3 0) "></div><div


id= "Yyd2"


style= "Position:absolute; left:30px; top:50px; width:3px; height:3px; Z-index:1; Background-color: #379bbf; Layer-background-color: #379bbf; border:1px none #000000; Clip:rect (0 3 3 0) "></div><div


id= "Yyd3"


style= "Position:absolute; left:40px; top:50px; width:3px; height:3px; Z-index:1; Background-color: #25184c; Layer-background-color: #25184c; border:1px none #000000; Clip:rect (0 3 3 0) "></div><div


id= "Yyd4"


style= "Position:absolute; left:50px; top:50px; width:3px; height:3px; Z-index:1; Background-color: #31bd3c; Layer-background-color: #31bd3c; border:1px none #000000; Clip:rect (0 3 3 0) "></div><div


id= "Yyd5"


style= "Position:absolute; left:60px; top:50px; width:3px; height:3px; Z-index:1; Background-color: #c11efd; Layer-background-color: #c11efd; border:1px none #000000; Clip:rect (0 3 3 0) "></div><script>


var yyns4=window. Event?true:false; var yy_mt = 0; var yy_ml = 0;


document.onmousemove = yy_mousetrace;


yy_tracescript = ';


if (yyns4) {document.captureevents (event.mousemove);


yy_mousetrace (', ', document. Yy_mousetrace1 ')}


Yy_layerfx (0,0, ' Yy_ml+cos ((15*sin (yycnt/39.83007847812662)) +0) *150* (sin (10+yycnt/20) +0.2) *cos (YYCNT/20) ', ' Yy_ Mt+sin ((15*sin (yycnt/34.224861639800686)) +0) *150* (sin (10+yycnt/20) +0.2) *cos (YYCNT/20) ', ' document.layers[\ ' yyd0 \ '] ', 2000,true,80,0,1;


Yy_layerfx (0,0, ' Yy_ml+cos ((15*sin (yycnt/27.66510707209673)) +30) *150* (sin (10+yycnt/20) +0.2) *cos (YYCNT/20) ', ' Yy_mt+sin ((15*sin (yycnt/9.240632767417667)) +30 *150* (sin (10+yycnt/20) +0.2) *cos (YYCNT/20) ', ' document.layers[\ ' Yyd1\ '], 2000,true,80,0,1);


Yy_layerfx (0,0, ' Yy_ml+cos ((15*sin (yycnt/16.45318944579641)) +60) *150* (sin (10+yycnt/20) +0.2) *cos (YYCNT/20) ', ' Yy_mt+sin ((15*sin (yycnt/16.0564452288292)) +60 *150* (sin (10+yycnt/20) +0.2) *cos (YYCNT/20) ', ' document.layers[\ ' Yyd2\ '], 2000,true,80,0,1);


Yy_layerfx (0,0, ' Yy_ml+cos ((15*sin (yycnt/6.95348954836835)) +90) *150* (sin (10+yycnt/20) +0.2) *cos (YYCNT/20) ', ' Yy_ Mt+sin ((15*sin (yycnt/44.13697049887155)) +90) *150* (sin (10+yycnt/20) +0.2) *cos (YYCNT/20) ', ' document.layers[\ ' yyd3 \ '] ', 2000,true,80,0,1;


Yy_layerfx (0,0, ' Yy_ml+cos ((15*sin (yycnt/33.90077294583733)) +120) *150* (sin (10+yycnt/20) +0.2) *cos (YYCNT/20) ' , ' Yy_mt+sin (15*sin (yycnt/2.2378828869411587) +120) *150* (sin (10+yycnt/20) +0.2) *cos (YYCNT/20) ', ' document.layers [\ ' yyd4\ '], 2000,true,80,0,1);


Yy_layerfx (0,0, ' Yy_ml+cos ((15*sin (yycnt/37.858312521039835)) +150) *150* (sin (10+yycnt/20) +0.2) *cos (YYCNT/20) ', ' Yy_mt+sin (15*sin (yycnt/18.083839795990098) +150) *150* (sin (10+yycnt/20) +0.2) *cos (YYCNT/20) ', ' Document.layers[\ ' yyd5\ '], 2000,true,80,0,1);


</script>


</body>
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.