MOVING EYES MOUSE EFFECT
xml compliantThis script has been tested on and shown to work with the following browsers:
  • Internet Explorer version 7 and above
  • Google Chrome version 4 and above
  • Mozilla Firefox version 2 and above
  • Apple Safari version 5 and above
  • Opera version 9 and above (including Opera mobile)
  • Android Browser version 3 and above
22-Jul-20: Completely overhauled for better performance.
09-Jun-2013: Modified so that you can click items behind the eyes.
13-Apr-2012: First version published.
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: Change the colour (and other parameters) at the start of the script you just copied to the settings you require. You can change the size of the eyes, their colour, and the colour of the iris (the bit in the middle!)
THAT'S IT When your page loads, you should find two googly eyes staring at wherever you move your mouse to.

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/dhtmlmovingeyes.php.

This page has been viewed 815 times. It was last viewed on Sat 20 Apr, 2024 at 06:48