FLOATING LOVE HEARTS EFFECT
|
|
This script has been tested on and shown to work with the following browsers:
- Internet Explorer version 6 and above
- Google Chrome version 1 and above
- Mozilla Firefox version 2 and above
- Apple Safari version 5 and above
- Opera version 7 and above (including Opera mobile)
- Android Browser version 2 and above
|
|
15-Dec-2013: First release.
|
STEP 1: Copy and paste the code below so that it sits between the <head> and </head> tags at the top of your web-page:
CLICK HERE to select the above script ready to paste it into your clipboard
|
STEP 2: If you want to change the colours of the hearts, change the colours at the start of the script you just copied to the settings you require (these can be in the form 'magenta' or 'rgb(255,0,255)' or '#f0f').
|
THAT'S IT When your page loads hearts will float up from wherever your cursor wanders. Also, if you hold your mouse button down, lots of hearts will be produced. And like true love, the path of hearts does not always run the course and sadly some hearts will be broken before they reach their target!
|