Create Snowfall Effect This Christmas On Your Site Using JavaScript

snowfall I’ve earlier shared two wordpress plugins for getting a snowfall effect on your wordpress blog, here’s a tutorial for generalizing this and making the effect possible on any site using a simple JavaScript By Altan.


  1. Download the javascript file (right click and Save Target As). Rename snow.txt to snow.js.
  2. Download the snow images (right click and Save Image As). You may use any image.snow1 snow2 snow3
  3. Upload the image files and javascript file to the root folder (or) all into a same folder.
  4. Place this code under the header ie., <head></head>

    <script type=”text/javascript” language=”javascript”>

    var snowsrc=”snow3.gif”;

    var no = 20;


    <script type=”text/javascript” src=”snow.js” language=”javascript”></script>

    the two variables snowsrc and no can be changed,

    snowsrc is the link to snow image that you would like to use.

    and no is the number of snow flakes that you like to have on the screen.

  5. Check out the demo at Dynamic Drive
Liked It ?? Share It 🙂Share on FacebookShare on StumbleUponTweet about this on TwitterShare on Google+Digg thisEmail this to someoneBuffer this page
Similar Post  5 Tools To Replace Windows Default Copy-Paste Functions


Leave a Reply

Your email address will not be published. Required fields are marked *