[全兼容哦]--实用、简洁、炫酷的页面转入效果loing
[全兼容哦]--实用、简洁、炫酷的页面转入效果loing
发布时间:2016-12-30 来源:查字典编辑
摘要:实用、结、酷的页面转入效果loing---全兼容【来自心动】页面载入中请稍候···varp=0,A1=0;varu_=0varcolor_A...

<!DOCTYPEhtmlPUBLIC"-//W3C//DTDXHTML1.0Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<htmlxmlns="http://www.w3.org/1999/xhtml">

<head>

<metahttp-equiv="Content-Type"content="text/html;charset=gb2312"/>

<metaHTTP-EQUIV="Expires"content="Sun,31Oct200823:59:00GMT"/>

<title>实用、结、酷的页面转入效果loing---全兼容【来自心动】</title>

<styletype="text/css">

<>

</style></head>

<body>

<divalign="center">页面载入中请稍候···<br/>

<scriptlanguage="JavaScript"type="text/javascript">

varp=0,A1=0;varu_=0

varcolor_A=newArray("lightskyblue","white","#00FF00","white","red","white");

functionset_span(obj_name,obj_time,obj_length){

for(vari=0;i<obj_length;i++){document.write("<inputid='"+obj_name+"'name='"+obj_name+"'/>")}

setInterval('xd_load();',obj_time);

}

functionxd_load(){

u_++

document.getElementsByName("span").item(p).style.background=color_A[A1]

p+=1;

if(p==document.getElementsByName("span").length){p=0;A1+=1;

if(A1==color_A.length)A1=0

}

if(u_>20){top.location="../";alert("转入页面");}

}

set_span("span",120,20)

</script></div>

</body>

</html>

推荐文章
猜你喜欢
附近的人在看
推荐阅读
拓展阅读
相关阅读
网友关注
最新Javascript教程学习
热门Javascript教程学习
编程开发子分类