Date Written on PageThis script will allow you to display the date on the page.Script CodeGrab a copy of the file below and place it in the same directory as the Web page on which you will use the script (if you wish to place the script file in a different directory you will need to make the necessary adjustments to the src attribute of the script tag that calls it).The code below should be placed between the <body> and </body> tags where you want the clock to appear. ExampleA working sample of the script is shown below.
OptionsYou can change the appearance of the date by adding the todays_date id to your style sheet and editing as desired.AccessibilityA backup to the script via Java applet or some type of plugin is a possibility. If the plugin is accessible, a link for the viewer to download the plugin somewhere on the page should suffice. A server-side script that simply grabs the current date would also be a possibility. |