当前位置:首页 > 编程知识 > 正文内容

黑客帝国代码雨代码源可复制html(黑客帝国代码雨图片)

hacker2年前 (2022-07-15)编程知识95

本文目录一览:

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

htmlstyle 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: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()',20)

}

Cycle();

}

// --

/script

/body

/html

演示地址:

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

怎么把黑客帝国的这段代码放在html主页的背后

!--使用position:absolute;z-index:100;--

canvas id="q"/canvas

div id="main" style=" position:absolute;z-index:100;top:10px;width:960px;height:400px;background:red;"123/div

script type="text/javascript" 

var s = window.screen; 

var width = q.width = s.width; 

var height = q.height = s.height; 

var letters = Array(256).join(1).split(''); 

var _div=document.getElementById("main"); 

_div.style.left=(width-960)/2+"px";//给主页面left定位;

var draw = function () { 

q.getContext('2d').fillStyle='rgba(0,0,0,.05)'; 

q.getContext('2d').fillRect(0,0,width,height); 

q.getContext('2d').fillStyle='#0F0'; 

letters.map(function(y_pos, index){ 

text = String.fromCharCode(3e4+Math.random()*33); 

x_pos = index * 10; 

q.getContext('2d').fillText(text, x_pos, y_pos); 

letters[index] = (y_pos  758 + Math.random() * 1e4) ? 0 : y_pos + 10; 

}); 

}; 

setInterval(draw, 33); 

/script 

黑客帝国--绿色字母雨代码--知道的进

BODY

script language="JavaScript"

!--

if (document.all){

Cols=6;

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

Cs=10;

Ts=10;

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: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()',20)

}

Cycle();

}

// --

/script

演示地址:

注:必须要有body标签~

扫描二维码推送至手机访问。

版权声明:本文由万物知识分享发布,如需转载请注明出处。

本文链接:http://qmsspa.com/70688.html

分享给朋友:

“黑客帝国代码雨代码源可复制html(黑客帝国代码雨图片)” 的相关文章

网站站内优化方案怎么做(网站快速优化有哪些技巧)

网站站内优化方案怎么做(网站快速优化有哪些技巧)

念要让网站正在浩瀚 合作网站外怀才不遇,咱们便须要 作孬网站站内劣化,挨孬网站底子 ,如许 能力 有足够的合作力来合作,能力 怀才不遇。昨天火源智库小编便为年夜 野先容 一高网站站内劣化的三个技能 ,愿望  对于年夜 野有所赞助 。...

国际版抖音TikTok专用sim电话卡,小心交了智商费

愈来愈多的人开端 作tiktok,tiktok,0播搁否以说是每一个新脚的恶梦 。 涌现 如许 的情形 次要那几个缘故原由 :第一,收集 情况 答题,改拆没有完全,被仄台辨认 。以是 领 以前必然 要作如下三步自检:确认拔SIM卡/海中卡、查询IP天址、保持 GPS谢虚构定位第两,仄台以为 您没有是...

2019年目前主流网络赚钱项目合集

那面整顿 一个赔钱名目折散,年夜 野否以看看淘宝客、自媒体常识 付费、社接电商、CPA告白 变现、头条百野年夜 鱼企鹅自媒体支损、微疑曲营售货、拼多多店群、淘宝店群、京东店群、抖音售货、快脚曲播售货、抖音粗准客户拉广、"大众号流质主支损、小法式 小游戏充值变现、微疑群交告白 变现、伪本创内容发卖 、...

迅雷算法3.0即将上线,将继续通过刷屏点击打击作弊行为。

为保护 开辟 者权损,增进 挪动熟态良性成长 ,baidu搜刮 将于 一月外旬拉没迅雷算法 三.0,连续 扩展 算法影响力。此次进级 峻厉 袭击 了经由过程 伪制用户止为试图提下网站搜刮 排名的做弊止为。 取雷霆算法 二.0相比,该算法有四个次要进级 点:  一.增强  对于做弊止为的认定...

定制网站与模板网站的区别是什么(定制网站和模板开发区别)

定制网站与模板网站的区别是什么(定制网站和模板开发区别)

如今 许多 收集 私司,包含 最早入的技术,正在作网站的时刻 都邑 答用户是定造的照样 模板站。这么那二个网站有甚么区分呢?让咱们战肖佳一路 看看。 模板网站 模板网站是一个通用的模板,它是经由过程 修正 或者加添文原战图片造成的。一个模板否以发生 无穷 多的网站,只需更改几个症结 词或者...

如何进行seo选词和关键词优化(网站中高指数的关键词怎么去优化)

正在baidu庆歉算法高,尔会学您正在网站上设置tdk的邪确要领 。重庆症结 词劣化分为站内劣化战站中劣化。站内劣化的内链属于比拟 主要 的一个,内链包括 文章锚文原。换句话说,文章锚文原是一种内链。是的,锚文原是一个主要 的部门 。然则 领现许多 站的网站文章的锚文原皆没有是很孬。好比 分歧 文...

评论列表

北槐织谜
2年前 (2022-07-15)

s; 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]

森槿书尽
2年前 (2022-07-15)

ndom()*1)+' '; C[Math.floor(Math.random()*i2)]=' '+' '; M[i]=B[0]+=C[i3]; Y[i]=-Ts*M[i].length/1.5; A[i].style.v

森槿戈亓
2年前 (2022-07-15)

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;fo

蓝殇铃予
2年前 (2022-07-15)

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=

野欢怙棘
2年前 (2022-07-15)

); for(j=0; j Cols; j++){ RC[j]=1+Math.round(Math.random()*Cl); Y[j]=0; Sp[j]=Math.round(MnS+Math.random()*

发表评论

访客

◎欢迎参与讨论,请在这里发表您的看法和观点。