New Revised CSS Library Forums Web Tools
FAQs Awards Usage Terms Contact
Categories
Other Sections
Sweet Ads
Compatibility
Bookmark online:

FF1+ IE5+ Opr7+

Upper Left Corner Live Clock Script

Author: Dynamic Drive

Description: A live text clock that displays itself in the upper left corner of the screen. All browsers other than IE 4.x and NS 4.x will simply see nothing.

Demo: Look at the upper left corner of your screen.


Directions: Developer's View

Step 1: Insert the below into the <body> section of your page. You can change the font size of the clock by changing "myclock" somewhere down the middle.

Select All

Step 2: Add the below event handler into the <body> tag itself, like this:

<body onLoad="show5()">

Configuring the time: You can change the font type, size, and color of the time. To do so, go to the line "//change font size here to your desire". Right below it contains the simple HTML tags that can be changed to change the font.