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

FF1+ IE5+ Opr7+

Flying Butterfly script

Author: BGAudioDr | Homepage

Description: With this DHTML script, a butterfly wonders aimlessly around your page. The little insect can be dismissed by clicking on it. Script updated for efficiency, NS6 compatibility, plus ability to animate multiple butterflies.

Demo: Take out your net...


Directions: Developer's View

Step 1: Add the following into the <body> section of your page, at the very end (ie: right above </body>)::

Select All

Step 2: Download the following image file and upload it into your webpage directory (either by clicking it, or clicking it with the shift key depressed for NS users): Or, ignore this step if you wish to use your own image.

Note: Do NOT link directly to this image on our server

Technical Note

This script accesses the BODY onload event (window.onload). If you have another script on your page that does the same, one of them will not run. Click here for information on getting both scripts to work simultaneously.