Team:UESTC Life/Team

From 2013.igem.org

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

Revision as of 09:11, 22 September 2013