Guest Posted September 14, 2006 Share Posted September 14, 2006 I thought this was simple and wanted to share this with others. If you would like to dress up your website and display the current Date and time use this code: <script language="javascript" type="text/javascript"> <!-- Begin function runClock() { theTime = window.setTimeout("runClock()", 1000); var today = new Date(); var display= today.toLocaleString(); window.status=display; } window.onload=runClock; // End --> </script> +++++++++++++++++++++++++ Place it near the bottom in skins/(yourskin)/StyleTemplates/global/index.tpl below the html tag. Quote Link to comment Share on other sites More sharing options...
Guest vrakas Posted September 14, 2006 Share Posted September 14, 2006 It would be better to add this in the .org forum where all 3rd party mods and skins are located There was a similar post a while back but this is welcome also :) Quote Link to comment Share on other sites More sharing options...
markscarts Posted September 14, 2006 Share Posted September 14, 2006 It is not a good practice to place this below the closing html tag Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.