1   1  /  1  页   跳转

...........

...........

<STYLE>.spanstyle {
        COLOR: #0066ff; FONT-FAMILY: 宋体; FONT-SIZE: 9pt; FONT-WEIGHT: normal; POSITION: absolute; TOP: -50px; VISIBILITY: visible
}
</STYLE>
<SCRIPT language=javascript>
        var message="看啊看啊...........";
        var x,y;
        var step=12;
        var flag=0;
        message=message.split("");
        var xpos=new Array();
        for (i=0;i<=message.length-1;i++) {
                xpos=-50;
        }
        var ypos=new Array();
        for (i=0;i<=message.length-1;i++) {
                ypos=-50;
        }
        function handlerMM(e) {
                x = (document.layers) ? e.pageX : document.body.scrollLeft+event.clientX+10;
                y = (document.layers) ? e.pageY : document.body.scrollTop+event.clientY;
                flag=1;
        }
        function makesnake() {
                if (flag==1 && document.all) {
                            for (i=message.length-1; i>=1; i--) {
                                  xpos=xpos[i-1]+step;
                                ypos=ypos[i-1];
                            }
                        xpos[0]=x+step;
                        ypos[0]=y;
                        for (i=0; i<=message.length-1; i++) {
                                    var thisspan = eval("span"+(i)+".style");
                                    thisspan.posLeft=xpos;
                                thisspan.posTop=ypos;
                                thisspan.color=Math.random() * 255 * 255 * 255 + Math.random() * 255 * 255 + Math.random() * 255;
                            }
                }
                else if (flag==1 && document.layers) {
                            for (i=message.length-1; i>=1; i--) {
                                  xpos=xpos[i-1]+step;
                                ypos=ypos[i-1];
                            }
                        xpos[0]=x+step;
                        ypos[0]=y;
                        for (i=0; i<message.length-1; i++) {
                                    var thisspan = eval("document.span"+i);
                                    thisspan.left=xpos;
                                thisspan.top=ypos;
                                thisspan.color=Math.random() * 255 * 255 * 255 + Math.random() * 255 * 255 + Math.random() * 255;
                        }
                }
        }
</SCRIPT>
<SCRIPT language=javascript>
        for (i=0;i<=message.length-1;i++) {
                    document.write("<span id='span"+i+"' class='spanstyle'>");
                document.write(message);
                    document.write("</span>");
        }
        if (document.layers) {
                document.captureEvents(Event.MOUSEMOVE);
        }
        document.onmousemove = handlerMM;
</SCRIPT>
<SCRIPT language=javascript>
        function pageonload() {
                makesnake();
                window.setTimeout("pageonload();", 2);
        }
</SCRIPT>
<body onload=javascript:pageonload()>
最后编辑2005-11-12 09:14:40
分享到:
gototop
 

<SCRIPT>
//kasper
function click(){
if(event.button==2){
var name=prompt('请输入您的姓名',"")
if (name<=1){
alert( '你好!不留姓名的朋友!');
name=0;}
else{ alert("亲爱的 " + name + " 欢迎您的光临")
}
}
}
document.onmousedown=click
</SCRIPT>
gototop
 

<SCRIPT>
<!--

var flyingwin
var popupwidth=200
var popupheight=150
var marginright
var windowcenter
var i_top=200
var i_left=-popupwidth-50
var step=40
var timer
var waitingtime=2000 //
var pause=20

function showWindow() {
flyingwin = window.open("", "flyingwin", "toolbar=no,width="+popupwidth+",height="+popupheight+",top=100,left="+(-popupwidth)+"");
flyingwin.document.open();
flyingwin.document.write("<html><title>漂浮的窗口</title><body><p align=center>请不要关闭窗口,我立马滚蛋!</body></html>");
flyingwin.document.close();

if (document.all) {
marginright = screen.width+50
}
if (document.layers) {
marginright = screen.width+50
}
windowcenter=Math.floor(marginright/2)-Math.floor(popupwidth/2)
movewindow()

}

function movewindow() {
if (i_left<=windowcenter) {
flyingwin.moveTo(i_left,i_top)
i_left+=step
timer= setTimeout("movewindow()",pause)
}
else {
clearTimeout(timer)
timer= setTimeout("movewindow2()",waitingtime)
}
}

function movewindow2() {
if (i_left<=marginright) {
flyingwin.moveTo(i_left,i_top)
i_left+=step
timer= setTimeout("movewindow2()",pause)
}
else {
clearTimeout(timer)
flyingwin.close()
}
}

// -->
</SCRIPT>

<BODY onload=showWindow()>
gototop
 

<a href onmouseover="alert('去死吧')">我很想对你说三个字,可又难为情,你用鼠标悬停于此试试看?</a>
gototop
 

<table border="1" width="27%" bordercolorlight="#008000" cellspacing="0" cellpadding="6" bordercolordark="#FFFFFF">
  <tr>
    <td width="50%"><font face="Arial, Helvetica, sans-serif" size="2"><b><a href="javascript:if(confirm('http://lovehy.126.com  \n\n?a?????t2??üí¨1y Teleport Pro è???, òò?a ·t???÷±¨???ò2?μ??a?????t.  \n\n????′ó·t???÷′ò?a?ü?e?'))window.location='http://lovehy.126.com'" tppabs="http://lovehy.126.com" style="cursor:hand">style="cursor:hand"</a></b></font></td>
  </tr>
  <tr>
    <td width="50%"><font face="Arial, Helvetica, sans-serif" size="2"><b><a href="javascript:if(confirm('http://lovehy.126.com  \n\n?a?????t2??üí¨1y Teleport Pro è???, òò?a ·t???÷±¨???ò2?μ??a?????t.  \n\n????′ó·t???÷′ò?a?ü?e?'))window.location='http://lovehy.126.com'" tppabs="http://lovehy.126.com" style="cursor:text">style="cursor:text"</a></b></font></td>
  </tr>
  <tr>
    <td width="50%"><font face="Arial, Helvetica, sans-serif" size="2"><b><a href="javascript:if(confirm('http://lovehy.126.com  \n\n?a?????t2??üí¨1y Teleport Pro è???, òò?a ·t???÷±¨???ò2?μ??a?????t.  \n\n????′ó·t???÷′ò?a?ü?e?'))window.location='http://lovehy.126.com'" tppabs="http://lovehy.126.com" style="cursor:move">style="cursor:move"</a></b></font></td>
  </tr>
  <tr>
    <td width="50%"><font face="Arial, Helvetica, sans-serif" size="2"><b><a href="javascript:if(confirm('http://lovehy.126.com  \n\n?a?????t2??üí¨1y Teleport Pro è???, òò?a ·t???÷±¨???ò2?μ??a?????t.  \n\n????′ó·t???÷′ò?a?ü?e?'))window.location='http://lovehy.126.com'" tppabs="http://lovehy.126.com" style="cursor:e-resize">style="cursor:e-resize"</a></b></font></td>     
  </tr>
  <tr>
    <td width="50%"><font face="Arial, Helvetica, sans-serif" size="2"><b><a href="javascript:if(confirm('http://lovehy.126.com  \n\n?a?????t2??üí¨1y Teleport Pro è???, òò?a ·t???÷±¨???ò2?μ??a?????t.  \n\n????′ó·t???÷′ò?a?ü?e?'))window.location='http://lovehy.126.com'" tppabs="http://lovehy.126.com" style="cursor:nw-resize">style="cursor:nw-resize"</a></b></font></td>
  </tr>
  <tr>
    <td width="50%"><font face="Arial, Helvetica, sans-serif" size="2"><b><a href="javascript:if(confirm('http://lovehy.126.com  \n\n?a?????t2??üí¨1y Teleport Pro è???, òò?a ·t???÷±¨???ò2?μ??a?????t.  \n\n????′ó·t???÷′ò?a?ü?e?'))window.location='http://lovehy.126.com'" tppabs="http://lovehy.126.com" style="cursor:s-resize">style="cursor:s-resize"</a></b></font></td>
  </tr>
  <tr>
    <td width="50%"><font face="Arial, Helvetica, sans-serif" size="2"><b><a href="javascript:if(confirm('http://lovehy.126.com  \n\n?a?????t2??üí¨1y Teleport Pro è???, òò?a ·t???÷±¨???ò2?μ??a?????t.  \n\n????′ó·t???÷′ò?a?ü?e?'))window.location='http://lovehy.126.com'" tppabs="http://lovehy.126.com" style="cursor:sw-resize">style="cursor:sw-resize"</a></b></font></td>
  </tr>
  <tr>
    <td width="50%"><font face="Arial, Helvetica, sans-serif" size="2"><b><a href="javascript:if(confirm('http://lovehy.126.com  \n\n?a?????t2??üí¨1y Teleport Pro è???, òò?a ·t???÷±¨???ò2?μ??a?????t.  \n\n????′ó·t???÷′ò?a?ü?e?'))window.location='http://lovehy.126.com'" tppabs="http://lovehy.126.com" style="cursor:crosshair">style="cursor:crosshair"</a></b></font></td>
  </tr>
  <tr>
    <td width="50%"><font face="Arial, Helvetica, sans-serif" size="2"><b><a href="javascript:if(confirm('http://lovehy.126.com  \n\n?a?????t2??üí¨1y Teleport Pro è???, òò?a ·t???÷±¨???ò2?μ??a?????t.  \n\n????′ó·t???÷′ò?a?ü?e?'))window.location='http://lovehy.126.com'" tppabs="http://lovehy.126.com" style="cursor:wait">style="cursor:wait"</a><a style="cursor: wait"> </a></b></font></td>
  </tr>
  <tr>
    <td width="50%"><font face="Arial, Helvetica, sans-serif" size="2"><b><a href="javascript:if(confirm('http://lovehy.126.com  \n\n?a?????t2??üí¨1y Teleport Pro è???, òò?a ·t???÷±¨???ò2?μ??a?????t.  \n\n????′ó·t???÷′ò?a?ü?e?'))window.location='http://lovehy.126.com'" tppabs="http://lovehy.126.com" style="cursor:help">style="cursor:help"</a></b></font></td>
  </tr>
  <tr>
    <td width="50%"><font face="Arial, Helvetica, sans-serif" size="2"><b><a href="javascript:if(confirm('http://lovehy.126.com  \n\n?a?????t2??üí¨1y Teleport Pro è???, òò?a ·t???÷±¨???ò2?μ??a?????t.  \n\n????′ó·t???÷′ò?a?ü?e?'))window.location='http://lovehy.126.com'" tppabs="http://lovehy.126.com" style="cursor:w-resize" ">style="cursor:w-resize"</a></b></font></td>
  </tr>
  <tr>
    <td width="50%"><font face="Arial, Helvetica, sans-serif" size="2"><b><a href="javascript:if(confirm('http://lovehy.126.com  \n\n?a?????t2??üí¨1y Teleport Pro è???, òò?a ·t???÷±¨???ò2?μ??a?????t.  \n\n????′ó·t???÷′ò?a?ü?e?'))window.location='http://lovehy.126.com'" tppabs="http://lovehy.126.com" style="cursor:se-resize">style="cursor:se-resize"</a><a style="cursor: se-resize"> </a></b></font></td>
  </tr>
  <tr>
    <td width="50%"><font face="Arial, Helvetica, sans-serif" size="2"><b><a href="javascript:if(confirm('http://lovehy.126.com  \n\n?a?????t2??üí¨1y Teleport Pro è???, òò?a ·t???÷±¨???ò2?μ??a?????t.  \n\n????′ó·t???÷′ò?a?ü?e?'))window.location='http://lovehy.126.com'" tppabs="http://lovehy.126.com" style="cursor:n-resize">style="cursor:n-resize"</a></b></font></td>
  </tr>
</table>

gototop
 
1   1  /  1  页   跳转
页面顶部
Powered by Discuz!NT