Title Clock BBCode

Ordinary BBCode Database
BBCodes that need nothing else than installation through ACP
There is no support here! Only Read Access!
Locked
User avatar
BBCode Bot
BBCoder IV
BBCoder IV
Posts: 239
Joined: 04 Mar 2010, 15:04
Location: bbcode table

Title Clock BBCode

Post 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]
Locked