To show this widget only in the Homepage or any other specific page, read this post:
How to show widgets only in specific pages.
Falling Snow flakes:
This code is old. Check the updated new code below.
And to display falling leaves, use this code:
This code is old. Check the new tutorial here.
NOTE: To change the images, first download the .js files, open it with text pad, and then in the code change the images with your own images.
UPDATE: Thanks to Schillmania, we now have an additional script to add falling snowflakes which looks very similar to actual snowfall.
Have a look at the live demo of this script. [Another Demo]
Code to add:
You can further customize these snowflakes (color, number and twinkle effect) by adding these additional lines of code to it. So to add a customized widget, add this code instead of the previous one:
<!– now, we’ll customize the snowStorm object –>
snowStorm.snowColor = ‘#99ccff’; // blue-ish snow!?
snowStorm.flakesMaxActive = 96; // show more snow on screen at once
snowStorm.useTwinkleEffect = true; // let the snow flicker in and out of view
The SnowStorm script is provided under a BSD license.