Saturday, September 1, 2012

Status Clock Bar using Java Script



<!--Place this script in the HEAD section.-->


<SCRIPT LANGUAGE="JavaScript" type="text/javascript">

   <!-- hide the script from old browsers --
   function doClock() {
     window.setTimeout( "doClock()", 1000 );
     today = new Date();
     self.status = today.toString();
   }
   //--end hiding here -->
   </script>

<!--Insert this in the BODY tag-->

    <Body   onLoad="doClock()" >
</body>
</html>


output:
=====

No comments:

Post a Comment