📄 蝴蝶翻飞.txt
字号:
先将下列代码复制到<head></head>之间:
<SCRIPT language=javascript>
function LayerMove(yyleft,yytop,yyfnx,yyfny,yydiv,yybilder,yyloop,yyto,yycnt,yystep)
{
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='LayerMove('+yyleft+','+yytop+',"'+yyfnx+'","'+yyfny+'","'+yydiv+'",'+yybilder+','+yyloop+','+yyto+','+yycnt+','+yystep+')';
if (yycnt<=yystep*yybilder)
{
eval(yydiv+".yyto=setTimeout(argStr,yyto)");}
}
}
function Mousetrace(evnt) {
if (yyns4)
{if (evnt.pageX) {ml=evnt.pageX; mt=evnt.pageY;} }
else{
ml=(event.clientX + document.body.scrollLeft);
mt=(event.clientY + document.body.scrollTop);
}
if (tracescript)eval(tracescript)
}
function viewsource(){
sourceid.style.visibility="visible";
}
//-->
</SCRIPT>
再将下列代码复制到<body></body>之间:
<DIV id=sourceid style="VISIBILITY: hidden">
</DIV>
<DIV id=yyd0
style="CLIP: rect(0px 50px 50px 0px); HEIGHT: 50px; POSITION: absolute; WIDTH: 50px; Z-INDEX: 1"><IMG
height=32 src="fly12.gif" width=32> </DIV>
<DIV id=yyd1
style="CLIP: rect(0px 50px 50px 0px); HEIGHT: 50px; POSITION: absolute; WIDTH: 50px; Z-INDEX: 1"><IMG
height=32 src="fly12.gif" width=32> </DIV>
<SCRIPT>
var yyns4=window.Event?true:false; var mt = 0; var ml = 0;
document.onmousemove = Mousetrace;
tracescript = '';
if (yyns4){ document.captureEvents(Event.MOUSEMOVE);
Mousetrace('',',document.Mousetrace1')}
LayerMove(0,0,'ml+cos((15*sin(yycnt/24))+0)*120*(sin(10+yycnt/20)+0.2)*cos(yycnt/20)','mt+sin((15*sin(yycnt/36))+0)*90*(sin(10+yycnt/20)+0.2)*cos(yycnt/20)','document.layers[\'yyd0\']',2000,true,100,0,1);
LayerMove(0,0,'ml+cos((15*sin(yycnt/16))+90)*90*(sin(10+yycnt/20)+0.2)*cos(yycnt/20)','mt+sin((15*sin(yycnt/28))+90)*90*(sin(10+yycnt/20)+0.2)*cos(yycnt/20)','document.layers[\'yyd1\']',2000,true,100,0,1);
</SCRIPT>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -