Tuesday, 25 December 2012

JavaScript - Snow effect for your blog or website

Hi everyone!!

                       A Merry Christmas and happy holidays to all of you!!      
             After searching I finally found a script to make it snow on your website.I am sharing the code with all of you. Following is the graphic to display how it looks. It is pretty good!

               If you use blogger then click on Layout < add a gadget < HTML/ JavaScript
 and type the folowing code in its content. You may leave the title blank.

<script type="text/javascript" src="http://yourjavascript.com/65112128311/snowstorm.js"></script>
snowStorm.flakesMaxActive = 890;
snowStick = 1;
snowStorm.followMouse = false;
snowStorm.snowStick = false;
snowStorm.animationInterval = 33;
snowStorm.flakesMax = 250;
snowStorm.vMaxX = 5;
snowStorm.vMaxY = 5;

                      Otherwise, paste the above code in between <body> and </body> tags. I hope the code will work fine, Happy Snowing!

No comments:

Post a Comment