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


IE5+

Elastic band trail

Author: Script submitted by Dereck Moath

Description: Using VML (vectored graphics) to generate the "string" interface and DHTML to then animate it, this script creates an "elastic band" trail for your mouse. Fling it around and watch it bounce back. VML is a IE5+ exclusive technology, so this script is visible only in IE5+. Ah what will they think of next?

Demo: Look at your mouse...


Directions Developer's View

Step 1: Add the below to the <HEAD> section of the page:

Select All

Step 2: Download the following ball image (or use your own), by right clicking it, and selecting "save as":

Do NOT link directly to the image.

Now go impress your friends :)