FLOATING LOVE HEARTS EFFECT
xml compliantThis 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!

Copyright notice: All scripts are © copyright mf2fm.com. You can use them wherever and whenever you wish, however the copyright notice at the start of the script should remain intact and a link back to this page would be appreciated. The address for this page is: http://www.mf2fm.com/rv/dhtmlheartcursor.php.

This page has been viewed 1256 times. It was last viewed on Mon 29 May, 2017 at 22:30