AUTUMN LEAVES 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
28-Oct-2013: Leaf files compressed to make the code shorter.
06-Oct-2013: Updated to fix a number of bugs (thanks to Lexii for pointing out a major one!)
04-Oct-2013: First (Beta) 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: There are some parameters you can change such as how often the leaves are tidied up, how many leaves fall at the same time and how fast they fall. It is also possible to replace the leaves with your own. If you understand how the javascript works, this should be clear - if you don't then just leave them as they are!
THAT'S IT When your page loads, colourful autumn leaves will fall down your screen. Every so often a plow will come along and tidy up the leaves, otherwise they would stack up and fill the screen.

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

This page has been viewed 318 times. It was last viewed on Sat 21 Dec, 2024 at 12:17