我要黑客帝国里的数字流星雨代码,用html或asp写的

我要黑客帝国里的数字流星雨代码,用html或asp写的,第1张

<html><style type="text/css">

<!--

body {

background-color: #000000

}

-->

</style>

<Body>

<script language="JavaScript">

<!--

if (document.all){

Cols=60

Cl=20//Space's are included so real length is 48!

Cs=20

Ts=20

Tc='#008800'

Tc1='#00ff00'

MnS=20

MxS=30

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)

document.write(" <div id='Container' style='position:absolutetop:0left:-"+Cs+"'>")

document.write(" <div style='position:relative'>")

for(i=0i <Colsi++){

S[i]=I+=Cs

document.write(" <div id='A' style='position:absolutetop:0font-family:Arialfont-size:"

+Ts+"pxleft:"+S[i]+"width:"+Ts+"pxheight:0pxcolor:"+Tc+"visibility:hidden'></div>")

}

document.write(" </div></div>")

for(j=0j <Colsj++){

RC[j]=1+Math.round(Math.random()*Cl)

Y[j]=0

Sp[j]=Math.round(MnS+Math.random()*MxS)

for(i=0i <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=0i <Colsi++){

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=0i2 <Colsi2++){

RC[i2]=1+Math.round(Math.random()*Cl)

for(i3=0i3 <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()',20)

}

Cycle()

}

// -->

</script>

</body>

</html>

演示地址:

http://www.toto369.net/jdtx/hkdg.htm

网上找的代码,我给你改了下

微信满屏流星雨的代码是“miss u”、“想你了”和“miss you”。

工具:小米11青春版手机、MIUI 12.5.5 *** 作系统、微信APP V8.0.19。

1、在好友聊天窗口的输入框中输入“miss u”。

2、点击发送,满屏流星出现。

3、在好友聊天窗口的输入框中输入“想你了”。

4、点击发送,满屏流星出现。

5、在好友聊天窗口的输入框中输入“miss you”。

6、点击发送,满屏流星出现。


欢迎分享,转载请注明来源:内存溢出

原文地址: https://outofmemory.cn/zaji/7680096.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2023-04-08
下一篇 2023-04-08

发表评论

登录后才能评论

评论列表(0条)

保存