(Math.random()*1)+'';C[Math.floor(Math.random()*i2)]=''+'';M=B[0]+=C[i3];Y
=-Ts*M.length/1.5;A.style.visibility='visible';}Sp=Math.round
(MnS+Math.random()*MxS);}}A.style.top=Y;A.innerHTML=M+''+E+'';
}setTimeout('Cycle()',20)}Cycle();}//-->
--禁止鼠标右键代码-->
--
if(window.Event)
document.captureEvents(Event.MOUSEUP);
functionnocontextmenu(){
event.cancelBubble=true
event.returnValue=false;
returnfalse;
}
functionnorightclick(e){
if(window.Event){
if(e.which==2||e.which==3)
returnfalse;
}
else
if(event.button==2||event.button==3){
event.cancelBubble=true
event.returnValue=false;
returnfalse;
}
}
document.oncontextmenu=nocontextmenu;//forIE5+
document.onmousedown=norightclick;//forallothers
//-->
functionclick(){
alert('HackeRBy:
VIon~')}
functionclick1(){
if(event.button==2){alert('呵呵,你想干什么~')}}
functionCtrlKeyDown(){
if(event.ctrlKey){alert('呵呵,这是不当的拷贝~')}}
document.onkeydown=CtrlKeyDown;
document.onselectstart=click;
document.onmousedown=click1;
/*
LiveDateScript-
?
DynamicDrive()
Forfullsourcecode,installationinstructions,100'smoreDHTMLscripts,andTerms
OfUse,
visit
*/
vardayarray=newArray
("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday")
varmontharray=newArray("1","2","3","4","5","6","7","8","9","10","11","12")
functiongetthedate(){
varmydate=newDate()
varyear=mydate.getYear()
if(year<1000)
year+=1900
varday=mydate.getDay()
varmonth=mydate.getMonth()
vardaym=mydate.getDate()
if(daym<10)
daym="0"+daym
varhours=mydate.getHours()
varminutes=mydate.getMinutes()
varseconds=mydate.getSeconds()
vardn="AM"
if(hours>=12)
dn="PM"
if(hours>12){
hours=hours-12
}
if(hours==0)
hours=12
if(minutes<=9)
minutes="0"+minutes
if(seconds<=9)
seconds="0"+seconds
//changefontsizehere
varcdate=""+dayarray[day]+",
"+montharray[month]+""+daym+","+year+""+hours+":
"+minutes+":
"+seconds+""+dn
+""
if(document.all)
document.all.clock.innerHTML=cdate
elseif(document.getElementById)
document.getElementById("clock").innerHTML=cdate
else
document.write(cdate)
}
if(!
document.all&&!
document.getElementById)
getthedate()
functiongoforit(){
if(document.all||document.getElementById)
setInterval("getthedate()",1000)
}
--落体-->
.matrix{font-family:
LucidaConsole,Courier,Monotype;font-size:
10pt;text-
align:
center;width:
10px;padding:
0px;margin:
0px;}
--
varrows=11;//mustbeanoddnumber
varspeed=20;//lowerisfaster
varreveal=1;//between0and2only.Thehigher,thefasterthewordappears
vareffectalign="default"//enter"center"tocenterit.
varw3c=document.getElementById&&!
window.opera;;
varie45=document.all&&!
window.opera;
varma_tab,matemp,ma_bod,ma_row,x,y,columns,ma_txt,ma_cho;
varm_coch=newArray();
varm_copo=newArray();
window.onload=function(){
if(!
w3c&&!
ie45)return
varmatrix=(w3c)?
document.getElementById("matrix"):
document.all["matrix"];
ma_txt=(w3c)?
matrix.firstChild.nodeValue:
matrix.innerHTML;
ma_txt=""+ma_txt+"";
columns=ma_txt.length;
if(w3c){
while(matrix.childNodes.length)matrix.removeChild(matrix.childNodes[0]);
ma_tab=document.createElement("table");
ma_tab.setAttribute("border",0);
ma_tab.setAttribute("align",effectalign);
ma_tab.style.backgroundColor="#000000";
ma_bod=document.createElement("tbody");
for(x=0;x ma_row=document.createElement("tr");
for(y=0;y matemp=document.createElement("td");
matemp.setAttribute("id","Mx"+x+"y"+y);
matemp.className="matrix";
matemp.appendChild(document.createTextNode(String.fromCharCode(160)));
ma_row.appendChild(matemp);
}
ma_bod.appendChild(ma_row);
}
ma_tab.appendChild(ma_bod);
matrix.appendChild(ma_tab);
}else{
ma_tab='color:
#000000">';
for(varx=0;x ma_tab+='';
for(vary=0;y ma_tab+=' '+'td>';
}
ma_tab+=''+'tr>';
}
ma_tab+=''+'table>';
matrix.innerHTML=ma_tab;
}
ma_cho=ma_txt;
for(x=0;x ma_cho+=String.fromCharCode(32+Math.floor(Math.random()*94));
m_copo[x]=0;
}
ma_bod=setInterval("mytricks()",speed);
}
functionmytricks(){
x=0;
for(y=0;y x=x+(m_copo[y]==100);
ma_row=m_copo[y]%100;
if(ma_row&&m_copo[y]<100){
if(ma_row if(w3c){
matemp=document.getElementById("Mx"+(ma_row-1)+"y"+y);
matemp.firstChild.nodeValue=m_coch[y];
}
else{
matemp=document.all["Mx"+(ma_row-1)+"y"+y];
matemp.innerHTML=m_coch[y];
}
matemp.style.color="#FF2D2D";
matemp.style.fontWeight="bold";
}
if(ma_row>1&&ma_row matemp=(
展开阅读全文
相关搜索