mouse trailer clock script

DHTML scripts DHTML script
 

DHTML script
categories

Animation
Background
Bookmarks
Buttons
Calculators
Cookies
Data handling
E-mail
Enhancements
Forms
Image rotation
Menus
Messages
Miscellaneous
Music
Password protection
Redirection
Scrollers
Tables
Time & date
Windows

Publishers

Add script
Account login

 

Home > Scripts > DHTML scripts & JavaScripts > Time & date > Mouse trailer clock

 

Mouse trailer clock script

AUTHOR: Amy Cook
TYPE: Freeware
BROWSERS: IE 4+, IE 5+, IE 6+, NS 4+

This mouse trailer script displays a dynamic clock with date and time circling around the mouse pointer.


EXAMPLE

You can see it moving after your cursor.


1)
Insert this script right below the <BODY> tag of the page.

then copy (CTRL-C) & paste (CTRL-V)

 

2) Define the colors, the size and the position related to the mouse pointer in this section of the script:

dCol='000080'; // date color
fCol='cc3333';
// face color
sCol='000000';
// seconds color
mCol='008080';
// minutes color
hCol='808080';
// hours color
ClockHeight=40;
ClockWidth=40;
ClockFromMouseY=0;
ClockFromMouseX=100;

Adjusting the speed of the spinning date:

setTimeout('Delay()',40); // the larger the value the slower the speed


[BACK] [TOP]

 

BLOGS - BOOKMARKS - FONTS - FRIENDS - GAMES - HEADLINES
MUSIC - PIXELS - SCRIPTS - SOFTWARE - SOUNDS - WEB SEARCH

 


Copyright © 1997-2008 SimplytheBest Inc. Legal Disclaimer.
All copyrights acknowledged. All rights reserved.