1   1  /  1  页   跳转

网页跳转问题?

网页跳转问题?

无法跳转是什么原因呢?
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">

<meta http-equiv="refresh" content="3;URL=home.html">

<title>麻烦空间</title>
<style type="text/css">
<!--
body {
    color: #00FF00;
    background-color: #000000;
    margin: 0px;
    padding: 0px;
    font-family: "宋体";
    font-size: 12px;
    text-decoration: none;
}
-->
</style>

</head>
<body>
<div id=nothing style="WIDTH:777px; HEIGHT:300px"> </div>
<script language=JavaScript>
<!--
if (document.all){
Cols=10;
Cl=70;//Space's are included so real length is 24!
Cs=100;
Ts=18;
Tc='#008800';
Tc1='#00ff00';
MnS=15;
MxS=15;
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,2,3,4,5,6,7,8,9,0,1,2,3,4,5,6,7,8,9);
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+=Cs;
document.write("<div id='A' style='position:absolute;top:0;font-family:Arial;font-size:"
+Ts+"px;left:"+S+";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='';
C=Math.round(Math.random()*1)+' ';
M[j]=B[0]+=C;
}
}
function Cycle(){
Container.style.top=window.document.body.scrollTop;
for (i=0; i < Cols; i++){
var r = Math.floor(Math.random()*Tcc.length);
E = '<font color='+Tc1+'>'+Tcc[r]+'</font>';
Y+=Sp;

if (Y > 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=B[0]+=C[i3];
Y=-Ts*M.length/2;
A.style.visibility='visible';
}
Sp=Math.round(MnS+Math.random()*MxS);
}
}
A.style.top=Y;
A.innerHTML=M+' '+E+' ';
}
setTimeout('Cycle()',10)
}
Cycle();
}
// -->
</script>
</body>
</html>
最后编辑2006-08-30 10:27:51
分享到:
gototop
 

index.html(上面是index页面)
home.html

我是想从index跳转到home,只要index页面运行了“黑客帝国”代码,就无法跳转了,
我要是从home页面跳转到index 页面,就可以来回跳了。运行了“黑客帝国”代码也可以跳转。。
这是什么原因呢?

gototop
 
1   1  /  1  页   跳转
页面顶部
Powered by Discuz!NT