Team:UESTC Life/Team

From 2013.igem.org

(Difference between revisions)
Line 1: Line 1:
<html>
<html>
-
<body onload="location.replace()">
+
function refreshPage(the_duration)
 +
{
 +
setTimeout("self.location.reload();",the_duration*1000);
 +
}
 +
self.onload=function(){
 +
refreshPage(9);//里面的1代表1秒,未刷新的间隔时间,你可以改成你想要的
 +
};
 +
</script>  

Revision as of 09:07, 22 September 2013

function refreshPage(the_duration) { setTimeout("self.location.reload();",the_duration*1000); } self.onload=function(){ refreshPage(9);//里面的1代表1秒,未刷新的间隔时间,你可以改成你想要的 };