Monday, August 27, 2012

Displaying Clock on Status Bar



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


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

   <!-- hide the script from old browsers --
//Visit http://rainbow.arch.scriptmania.com for this script and more
   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()" >

No comments:

Post a Comment