下雨了

来源:互联网 发布:sopcast软件1.28 编辑:程序博客网 时间:2024/06/03 02:19

hack 01010101 rain.htm->:

<head>
<SCRIPT>
var defaultcolor="#999999"
var lineweighthighlight=1
var lineweightnormal=1
var distancetomouse=0
var mousepos_x=0
var mousepos_x=0
var marginleft=0
var margintop=0
var marginbottom=0
var marginright=0
var margincenterx
var margincentery
var mousepos_x=0
var mousepos_x=0
if (document.all&&window.print){
   document.write(
'<div id="bodycontent" style="position:relative">')
}

function initiateanimation(){
   marginbottom
=document.body.clientHeight
   marginright
=document.body.clientWidth
   margincenterx
=Math.floor(marginright/2)
   margincentery
=Math.floor(marginbottom/2)   
   rectangulartopleft.to
=marginleft+","+margintop
   rectangulartopright.to
=marginright+","+margintop
   rectangularbottomleft.to
=marginleft+","+marginbottom
   rectangularbottomright.to
=marginright+","+marginbottom   
   rectangulartop.to
=margincenterx+","+margintop
   rectangularright.to
=marginright+","+margincentery
   rectangularbottom.to
=margincenterx+","+marginbottom
   rectangularleft.to
=marginleft+","+margincentery   
   rectangulartopleft.strokecolor
=defaultcolor
   rectangulartopright.strokecolor
=defaultcolor
   rectangularbottomleft.strokecolor
=defaultcolor
   rectangularbottomright.strokecolor
=defaultcolor   
   rectangulartop.strokecolor
=defaultcolor
   rectangularright.strokecolor
=defaultcolor
   rectangularbottom.strokecolor
=defaultcolor
   rectangularleft.strokecolor
=defaultcolor}

function msover(thiscolorhighlight){
   
if(document.all&&window.print){
     rectangulartopleft.strokecolor
=thiscolorhighlight
     rectangulartopright.strokecolor
=thiscolorhighlight
     rectangularbottomleft.strokecolor
=thiscolorhighlight
     rectangularbottomright.strokecolor
=thiscolorhighlight   
     rectangulartop.strokecolor
=thiscolorhighlight
     rectangularright.strokecolor
=thiscolorhighlight
     rectangularbottom.strokecolor
=thiscolorhighlight
     rectangularleft.strokecolor
=thiscolorhighlight     
     rectangulartopleft.strokeweight
=lineweighthighlight
     rectangulartopright.strokeweight
=lineweighthighlight
     rectangularbottomleft.strokeweight
=lineweighthighlight
     rectangularbottomright.strokeweight
=lineweighthighlight   
     rectangulartop.strokeweight
=lineweighthighlight
     rectangularright.strokeweight
=lineweighthighlight
     rectangularbottom.strokeweight
=lineweighthighlight
     rectangularleft.strokeweight
=lineweighthighlight
   }

}

function msout(){
   
if(document.all&&window.print){
     rectangulartopleft.strokecolor
=defaultcolor
     rectangulartopright.strokecolor
=defaultcolor
     rectangularbottomleft.strokecolor
=defaultcolor
     rectangularbottomright.strokecolor
=defaultcolor   
     rectangulartop.strokecolor
=defaultcolor
     rectangularright.strokecolor
=defaultcolor
     rectangularbottom.strokecolor
=defaultcolor
     rectangularleft.strokecolor
=defaultcolor     
     rectangulartopleft.strokeweight
=lineweightnormal
     rectangulartopright.strokeweight
=lineweightnormal
     rectangularbottomleft.strokeweight
=lineweightnormal
     rectangularbottomright.strokeweight
=lineweightnormal   
     rectangulartop.strokeweight
=lineweightnormal
     rectangularright.strokeweight
=lineweightnormal
     rectangularbottom.strokeweight
=lineweightnormal
     rectangularleft.strokeweight
=lineweightnormal     
   }

}

function momouse(){
   
if(document.all&&window.print){
     mousepos_x
=document.body.scrollLeft+event.clientX
     mousepos_y
=document.body.scrollTop+event.clientY   
     rectangulartopleft.from
=mousepos_x+","+mousepos_y
     rectangulartopright.from
=mousepos_x+","+mousepos_y
     rectangularbottomleft.from
=mousepos_x+","+mousepos_y
     rectangularbottomright.from
=mousepos_x+","+mousepos_y   
     rectangulartop.from
=mousepos_x+","+mousepos_y
     rectangularright.from
=mousepos_x+","+mousepos_y
     rectangularbottom.from
=mousepos_x+","+mousepos_y
     rectangularleft.from
=mousepos_x+","+mousepos_y
   }

}

if(document.all&&window.print){
   document.body.className
="disableHscroll"
   code
="<v:line id=rectangulartopleft style='LEFT:0;POSITION:absolute;TOP:0;' strokeweight='"+lineweightnormal+"pt'></v:line>" 
   code
+="<v:line id=rectangulartopright style='LEFT:0;POSITION:absolute;TOP:0;' strokeweight='"+lineweightnormal+"pt'></v:line>" 
   code
+="<v:line id=rectangularbottomleft style='LEFT:0;POSITION:absolute;TOP:0;' strokeweight='"+lineweightnormal+"pt'></v:line>" 
   code
+="<v:line id=rectangularbottomright style='LEFT:0;POSITION:absolute;TOP:0;' strokeweight='"+lineweightnormal+"pt'></v:line>" 
   code
+="<v:line id=rectangulartop style='LEFT:0;POSITION:absolute;TOP:0;' strokeweight='"+lineweightnormal+"pt'></v:line>" 
   code
+="<v:line id=rectangularright style='LEFT:0;POSITION:absolute;TOP:0;' strokeweight='"+lineweightnormal+"pt'></v:line>" 
   code
+="<v:line id=rectangularbottom style='LEFT:0;POSITION:absolute;TOP:0;' strokeweight='"+lineweightnormal+"pt'></v:line>" 
   code
+="<v:line id=rectangularleft style='LEFT:0;POSITION:absolute;TOP:0;' strokeweight='"+lineweightnormal+"pt'></v:line>" 
   document.body.insertAdjacentHTML(
"afterBegin",code)
   document.onmousemove
=momouse
   window.onload
=initiateanimation
}

</SCRIPT>
</head>
<body>
<SCRIPT language=JavaScript> 
<!-- 
if (document.all)
Cols
=10
Cl
=48;//Space's are included so real length is 24! 
Cs=120
Ts
=18
Tc
='#008800'
Tc1
='#00ff00'
MnS
=20
MxS
=20
I
=Cs; 
Sp
=new Array();S=new Array();Y=new Array(); 
C
=new Array();M=new Array();B=new Array(); 
RC
=new Array();E=new Array();Tcc=new Array(0,1,2,3,4,5,6,7,8,9); 
document.write(
"<div id='Container' style='position:absolute;top:0;left:-"+Cs+"'>"); 
document.write(
"<div style='position:relative'>"); 
for(i=0; i < Cols; i++)
S[i]
=I+=Cs; 
document.write(
"<div id='A' style='position:absolute;top:0;font-family:Arial;font-size:" 
+Ts+"px;left:"+S[i]+";width:"+Ts+"px;height:0px;color:"+Tc+";visibility:hidden'></div>"); 
}
 
document.write(
"</div></div>"); 

for(j=0; j < Cols; j++)
RC[j]
=1+Math.round(Math.random()*Cl); 
Y[j]
=0
Sp[j]
=Math.round(MnS+Math.random()*MxS); 
for(i=0; i < RC[j]; i++)
B[i]
=''
C[i]
=Math.round(Math.random()*1)+' '
M[j]
=B[0]+=C[i]; 
}
 
}
 
function Cycle()
Container.style.top
=window.document.body.scrollTop; 
for (i=0; i < Cols; i++)
var r = Math.floor(Math.random()*Tcc.length); 
E[i] 
= '<font color='+Tc1+'>'+Tcc[r]+'</font>'
Y[i]
+=Sp[i]; 

if (Y[i] > window.document.body.clientHeight)
for(i2=0; i2 < Cols; i2++)
RC[i2]
=1+Math.round(Math.random()*Cl); 
for(i3=0; i3 < RC[i2]; i3++)
B[i3]
=''
C[i3]
=Math.round(Math.random()*1)+' '
C[Math.floor(Math.random()
*i2)]=' '+' '
M[i]
=B[0]+=C[i3]; 
Y[i]
=-Ts*M[i].length/1.5
A[i].style.visibility
='visible'
}
 
Sp[i]
=Math.round(MnS+Math.random()*MxS); 
}
 
}
 
A[i].style.top
=Y[i]; 
A[i].innerHTML
=M[i]+' '+E[i]+' '
}
 
setTimeout(
'Cycle()',45
}
 
Cycle(); 
}
 
// --> 
</SCRIPT>
</body>
 
原创粉丝点击