Page-Enter的问题
代码如下:
<html>
<head>
<script language= "JavaScript ">
var arr_file=new Array();
arr_file[1]= "h1.html ";
arr_file[2]= "h2.html ";
arr_file[3]= "h3.html ";
var i=1;
function changePage(){
var vurl=arr_file[i];
main.location.href=vurl;
i=i+1;
if(i==4){
i=1;
}
}
function window.onload() {
setInterval(changePage,3000);
}
</script>
</head>
<body>
<IFRAME name= "main " width=100% height=100% frameborder=0 border=0> </IFRAME>
</body>
</html>
h1.html,h2.html,h3.html中都添加了 <Meta http-equiv= "Page-Enter " Content= "revealTrans(duration=3, transition=9) "> 但只有第一次打开页面有效果,自动跳转后的页面没有显示出效果
------解决方案--------------------我这里测试可以