User:Lytao/1

From 2011.igem.org

(Difference between revisions)
Line 1: Line 1:
<html>
<html>
-
<script text="JavaScript">
+
<body>
-
var timer;
+
 
-
var i;
+
<input type="text" id="clock" size="35" />
-
function callback(){
+
<script language=javascript>
-
if(i>=1){clearInterval(timer);
+
var int=self.setInterval("clock()",50)
-
document.creatElement(123)}
+
var i=0;
-
}
+
function clock()
-
setInterval(callback,100);
+
  {if (i>10){window.clearInterval(int);}
 +
  $('#as').fadeIn(500);
 +
i++;
 +
  }
 +
 
 +
 
</script>
</script>
 +
 +
<div id="as">
 +
123
 +
</div>
 +
</body>
</html>
</html>

Revision as of 14:41, 26 October 2011

123