Saturday, April 26, 2008

Image Trail to Mouse Cursor

Notes: Last modified Dec 31st, 02' by DD for 1) NS6 functionality, 2) Ability to specify offset of trail from mouse pointer (to prevent trail from interfering with links 3) Prevention of trail from going over window's edge.

Description: Add some fun to your mouse cursor with this cross-browser trail script!

Demo:


Directions:

Step 1: Copy the following images into your website directory (6 images):

Step 2: Finally, add the below fragment to the body section of your page:


Select All

For those who wish to customize the images used for the trail, all the changes should be done in the T1 array. The first parameter references the image's file name, while the second and third specifies the image's dimensions.

No comments:

.

.