» home
» contact
» terms of use

FREE SCRIPTS
» new
» text
» image
» utility
» background
» animation
» date/time

FREE ONLINE TOOLS
» code generators
» text animator
» drawing animator
» color animator
» slideshow factory
» javascript speed test

FREE BASIC SNIPLETS
» alert box
» image: multi-rollover
» pop-up: centering
» more

FREE'N'CRAZY
» realtime death counter
» eyeQ
» fun ticker

RECOMMENDED LINKS
» www.dynamicdrive.com
» www.hotscripts.com

JavaScript FlowerPower Spring Animation
Add springtime all over your webpage with this charming sweet and free JavaScript animation. Enchanting way to say hello to your visitors and make them blossom out. Easy configuration of number of blossoms and speed. Internet Explorer 5x/6x/7x/8x, Firefox 3x/4x, Opera 7x/8x/9x/10x, Google Chrome 3x/4x.


Configuration:

Step 1: Save the six images below and put them into the same folder as your webpage. Do not change their names!


Step 2: Open your webpage. Paste the following code right above the </body> tag (almost at the bottom of your webpage).


IMPORTANT: Do not paste the code into tables or <DIV> and </DIV> tags or between any other container tags!

Step 4: Open your webpage, go to the top of the script and and configure the number of blossoms, the speed of animation and the time of blossom's visibility (see red code below):

// // number of blossoms
var numberofblossoms=10

peed of blossom animation (higher means slower)
var openblossomspeed=80

how long shall the blossom be visible after being opened? Answer in seconds
var showblossomstime=2