topical media & game development

talk show tell print

basic-javascript-09-timertest.htm / htm



  <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
  "http://www.w3.org/TR/html4/loose.dtd">
  <html>
  <head>
  <script language="JavaScript" type="text/javascript">
  var timerID;
  function window_onload()
  {
     timerID = setTimeout("alert('Times Up!')",3000);
     alert("Timer Set");
  }
  </script>
  </head>
  <body language = JavaScript onload="window_onload()">
  </body>
  </html>
  


(C) Æliens 20/2/2008

You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.