User:Lytao/1

From 2011.igem.org

(Difference between revisions)
Line 3: Line 3:
<input type="text" id="clock" size="35" />
<input type="text" id="clock" size="35" />
-
<script>
+
<script language=javascript>
var int=self.setInterval("clock()",50)
var int=self.setInterval("clock()",50)
var i=0;
var i=0;
function clock()
function clock()
   {if (i>10){window.clearInterval(int);}
   {if (i>10){window.clearInterval(int);}
-
   $('#as').fadeIn(500);
+
   document.all.display=none;
i++;
i++;
   }
   }

Revision as of 14:48, 26 October 2011

123