Page 1 of 1

Title Clock BBCode

Posted: 05 Mar 2010, 15:43
by BBCode Bot
Title Clock BBCode

Author: Lucky
Description: The Title Clock BBCode is a simple BBCode for show in the title the date, time, time zone, and the year.
[valid][/valid]

BBCode:

Code: Select all

[titleclock][/titleclock]
HTML:

Code: Select all

<script type="text/javascript">
<!--

function doTheClock() {
   window.setTimeout( "doTheClock()", 1000 );
   t = new Date();
   if(document.all || document.getElementById){
      document.title = t.toString();
   }else{   
      self.status = t.toString();
   }
}

doTheClock()

//-->
</script>
Helpline:

Code: Select all

Title Clock BBCode: [titleclock][/titleclock]
Example:

Code: Select all

[titleclock][/titleclock]
Demo:
This topic, look up in the title bar:[titleclock][/titleclock]