Add Falling Snow to Your WordPress Blog

Creative Commons License

Let’s redecorate your WordPress-powered blog for this season’s festives by applying javascript snow effects. Here is how to add falling snowflakes just as you’ve seen on this site:

1. Download the javascript file Download (right click and Save Target As). Rename snow.txt to snow.js.

Disclaimer. Original Javascript Snow is created by Altan.

/******************************************
* Snow Effect Script- By Altan d.o.o.
* Visit Dynamic Drive DHTML code library for full source code
* Last updated Nov 9th, 05′ by DD. This notice must stay intact for use
******************************************/

2. Download the snow image (right click and Save Image As). You may use your preferred choice of image as you please.

3. Upload the image file (for instance, to your theme’s images folder). Upload the javascript file (for instance, to your theme’s javascript folder).

4. Edit your footer.php file and insert the code below:

<script type="text/javascript" language="javascript">
var snowsrc="snow3.gif";
var no = 20;
</script>
<script type="text/javascript" src="snow.js" language="javascript"></script>

Make sure you inserted the right path to your snow image file after
snowsrc=
You may change the numbers of snow after
var no =
Make sure you’ve inserted the right path to your snow.js file as well.

Your configuration is applicable to both snow.js file and the script codes for the footer.php, but you must configure the codes for footer.php if you’d like the javascript to take effect on your WordPress blog.

That’s all. Merry Christmas and Happy New Year.. Enjoy your holiday!

Bookmark and Share

Translate to Bahasa Indonesia Translate to Bahasa Indonesia