ASA Computer Bali

December 17, 2009

How To Make Snow Effect with jQuery ?

Filed under: News and Update — Tags: , , — admin @ 10:49 am

December ! identically with Christmas celebration. In this articles let I show you, how to make a beautiful snow effect with jQuery plugin called “jSnow”.   This is very simple. Even the beginner can do it.  These are the steps.

1. Download jSnow here.
2. Unpack the file and save “jSnow.js” to you web directory. For example in js folder (if your file is in the root, the path will be in “js/jsnow.js”).
3. Add code below at your header of your page (before <body> tag).

<script type=”text/javascript” src=”http://ajax.googleapis.com/ajax/libs/jquery/1.3/jquery.min.js”></script>
<script type=”text/javascript” src=”js/jsnow.js”></script>

<script type=”text/javascript”>
$(function() {
$().jSnow();
});
</script>

4. Save the file and test it.
5. The result is like this

Visit the author here.

Powered by WordPress