nbsp;html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
实用、结、酷的页面转入效果loing ---全兼容【来自心动】 页面载入中请稍候···
<script> <BR>var p=0,A1=0;var u_=0 <BR>var color_A=new Array("lightskyblue","white","#00FF00","white","red","white"); <BR>function set_span(obj_name,obj_time,obj_length){ <BR>for(var i=0;i<obj_length;i++){document.write("<input id='"+obj_name+"' name='"+obj_name+"' />")} <BR>setInterval('xd_load();',obj_time); <BR>} <BR>function xd_load(){ <BR>u_++ <BR>document.getElementsByName("span").item(p).style.background=color_A[A1] <BR>p+=1; <BR>if(p==document.getElementsByName("span").length){p=0;A1+=1; <BR>if(A1==color_A.length)A1=0 <BR>} <BR>if(u_>20){top.location="../";alert("转入页面");} <BR>} <BR>set_span("span",120,20) <BR></script>