马上注册成为YANBONG会员吧! 时下最热门的资讯、娱乐、贴图等分享都在这里等你发掘哦!
您需要 登录 才可以下载或查看,没有账号?注册
×
將下面框內的程式碼複製,貼在<body>及</body>標籤之間。
- <META http-equiv="Page-Enter" CONTENT="RevealTrans(Duration=4,Transition=4)">
- <div align="center">
- <center>
- <table border="0" cellpadding="0" cellspacing="0" width="100%">
- </table>
- </center>
- </div>
- <div id="yyd0"
- style="position:absolute; width=50;height=50;z-index:1;clip: rect(0 50 50 0)">
- <img src="蝴蝶圖">
- </div>
- <div
- id="yyd1"
- style="position:absolute;width=50;height=50; z-index:1;clip: rect(0 50 50 0)">
- <img src="蝴蝶圖">
- </div>
- <script language="JavaScript">
- <!--
- 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)*120*(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>
复制代码
將下面框內的程式碼複製,貼在<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)
- }
- -->
- </script>
- <META http-equiv="Page-Enter" CONTENT="RevealTrans(Duration=4,Transition=4)">
复制代码
|