Pages

Sunday, December 16, 2012

Geeky Christmas: Snow

In the Christmas season, website owners are looking for Santa and snow. Moving images of Santa abound on the Internet, and we're not going into that.

I have looked for a snow plugin for a website I work on, amaidi.org, and integrated the best I could find. Flakes are highly configurable, there are several modes and the coolest thing is that the snow can collect on a <DIV>.
It is really easy to integrate this plugin by simply adding this line to the <HEAD> of your file to load the latest Jquery and the plugin file:

<script src="http://code.jquery.com/jquery-latest.min.js" type="text/javascript">

And then, just before the </BODY>:

<script 100="100" 5="5" :=":" code="code" document="document" flakecount="flakecount" function="function" gt="gt" maxsize:12="maxsize:12" minsize:="minsize:" ready="ready" round="round" snowfall="snowfall" true="true" type="text/javascript">

Where you can of course change the settings.

Learn more about the plugin on its github page, and I wish everyone a snowy Christmas!

0 comments:

Post a Comment

 
Design by Free WordPress Themes | Bloggerized by Lasantha - Premium Blogger Themes | Lady Gaga, Salman Khan