jSnow, is a jQuery plug-in that adds falling snow effect to your website (using javascript), a very common decorative effect that every website needs for Christmas! jSnow is lightweight (2.6kb), doesn't require any external files to run (css or images) and it's very easy to use! Besides the small footprint, jSnow offers various other unique features like:
Download jSnow v1.2 with examples! View jSnow v1.2 example!
In order jSnow to work you need the jQuery library (version 1.2+, 1.3+) and the javascript file (.js) of the jSnow! Once you have them both, link them inside the head of your html file in the following order:
don't forget to replace "folderName" with the folder that you've stored the two ".js" files.
jSnow has been is compatible with all the following browsers:
jSnow is very easy to use, all you have to do (besides the installation part, see above) is run the following command:
There is nothing wrong with the code in line 3, you don't have to declare any DOM element, jSnow works automatically. Probably in next versions, I will add support for multiples DOM elements.
For best results (for the snow to fall tothe whole width of the window/page) you must ensure in your CSS, that <html> and <body> have the same width. In case you don't and you have something like that...
body {width:960px;margin:0 auto;}
jSnow will not work properly. If you are faced with this situation, just create an div element with an unique id and place exactly after <body>. For example:
<body><div id="THE_BODY">...rest of html code...</div></html>
and then place the CSS rule you to the new div:
#THE_BODY {width:960px;margin:0 auto;}
if you are wandering am I putting to all this trouble, it's because I haven't found a way (yet) to append DOM elements directly to <html> tag in IE 6 & IE7. I've spend hours and hours of reading and searching, but I found nothing! If I want to add dynamic DOM content to a document I must do it in <body> tag, not <html>. All other browsers, work fine with appending DOM elements directly to <html>, but I had to make this sucrfice in order for jSnow to be compatible with the IE6 and IE7. If anyone knows a way of adding DOM elements directly to <html> (not <body>)...I beg him to teach me :)
jSnow can take the following parameters.
flakeColor:["#f00","#0f0","#00f"].flakeMaxSize and flakeMinSize.No tricks just simple white falling snow!
jQuery CODE:$().jSnow();
In case you want something different and more colorful...
jQuery CODE:$().jSnow({flakeCode:["♠","♥","♣","♦"],flakeColor:["#f00","#0f0","#00f"],flakeMaxSize:20,flakeMinSize:20});
You can create snow flakes with just one element (image, character or HTML character) or any kind of mixture.
jQuery CODE:$().jSnow({flakeCode:["•","path/to/image_file/file_name.gif"]});
jSnow is released under GPL Open Source Licenses...thus it is completely and totally free!. You are obligated to keep all credits (links, names etc) and if you feel like it...a link to this page will be appreciated!
Comments
Do you have the unpacked
Do you have the unpacked source for this?
You can unpack any packed
Hey, I have tried to download
handbags
Good one
Buy the latest fendi
lv
handbags
Women in summer would like to
Women in summer would like to become beautiful. Everything can grab other's eyes is their best friends.Products make them beauty and confident is their favourite. Look in the street,you can see many different types of make up to show women's personality.
Welcome to the shop, the following is our products, free shipping.
Soccer Shoes Cheap Soccer Shoes Nike Soccer Shoes Adidas Soccer Shoes Nike Soccer Shoes sale Adidas Soccer Shoes sale UGG UGGs UGG Boot UGG Boots UGG Boots Sale Cheap UGG Boots UGG Boots Cheap Women UGG boots ugg boots cardy ugg cardy boots Nike Air Nike Air Max Nike Air Max Shoes Nike SB Nike Dunk Nike Dunk SB Nike Dunk SB Shoes Nike Shox Nike Shox Shoes Timberland Timberland sale Timberland boots Timberland boots online Timberland on sale New timberland boots Women Bags Women Bags Sale Women Handbags Women Handbags Sale Women New Bags Cheap Bags Cheap Bags On Sale UGG UGG boots UGG boots sale UGG boots short Short ugg Short ugg boots Ugg boots tall New women bags New women bags sale New women bags sale online Louis Vuitton Handbags Gucci bags Nike Nike Shoes Nike Shoes Sale Nike running Nike running shoes Nike trainers Nike trainers shoes Timberland Timberland boots Timberland boots sale Timberland boot Timberland boot sale Timberland boots cheap Men timberlands MBT MBT Shoes MBT Chapa GTX MBT Men Shoes MBT Women Shoes Discount MBT Shoes LV Handbags Gucci Handbags Chanel Handbags Chloe Handbags D&G Handbags Dior Handbags Fendi Handbags Hermes Handbags Jimmy Choo Bags Marc Jacobs Bags Miu Miu Handbags Mulberry Bags Prada Handbags Versace Handbags Yves Saint Laurent Balenciaga Bags Burberry Handbags LV Handbags Gucci Handbags Chanel Handbags Chloe Handbags D&G Handbags Dior Handbags Fendi Handbags Hermes Handbags Jimmy Choo Bags Marc Jacobs Bags Miu Miu Handbags Mulberry Bags Prada Handbags Versace Handbags Yves Saint Laurent Balenciaga Bags Burberry Handbags
Those who want to become most beautiful in the world should try them. Just ones can make you different. Girls who want to grab your boyfriends's heart is necessary to use them.
Chanel
replica handbags buy
thanks
nfl
wedding
Great affect and free! I'll
to use! Besides the small
grab other's eyes is their
That is awesome I'm going to
The hurricane season could
The hurricane season could get busier as La Niña conditions lower wind shear over the Atlantic, making way for storms to grow and organize. The waters of the Atlantic and Caribbean are already warmer than average, according to the National Weather Services' climate prediction center.ブランド腕時計;ロレックス時計;オメガ時計;IWC腕時計 ロレックスデイトナ;ロレックスエクスプローラー;ロレックスGMTマスターII;バッグ コピー、財布 コピー グッチ;グッチ バッグ;グッチ コインケース・キーケース・ポーチ・小物;グッチ 財布;シャネル;グッチコピー|グッチバッグ|グッチ財布 グッチ ハンドバッグ;グッチ ショルダーバッグ;グッチ ボストンバッグNOAA is predicting, with 70% probability, a total of 14 to 20 named storms, eight to 12 of them hurricanes, and four to six of those "major" ones packing winds of at least 111 miles per hour. オメガスピードマスター;オメガシーマスター;オメガアクアテラ;オメガデ・ヴィル IWCアクアタイマー;IWCインヂュニア;IWCスピットファイアー;IWCポルトギーゼ ロレックスサブマリーナ;ロレックスヨットマスター;ロレックスターノグラフ ロレックスミルガウス;ロレックスエアキング;ロレックスパーペチュアルデイト ロレックスチェリーニ チェリニウム;ロレックスデイデイト;ロレックスプリンス オメガコンステレーション;IWCクラシックパイロット;IWCポートフィノ;ロレックスデイトジャストLa Niña is preceded by a buildup of cooler-than-normal subsurface waters in the tropical Pacific, says NOAA (it's the opposite of El Niño). La Niña often features drier-than-normal conditions in the Southwest in late summer through the winter; it's also drier than normal in the Central Plains during the fall and in the Southeast during the winter.グッチ トートバッグ; グッチ 二ツ折り財布;グッチ 長財布;グッチ wホック財布; The Pacific Northwest is more likely to be wetter than normal in the late fall and early winter. La Niña winters are warmer than normal in the Southeast and colder than normal in the Northwest.シャネル バッグ;シャネル 財布;ベルト;グッチ ベルト;ルイ・ヴィトン ベルト;エルメス ベルト;シャネル ベルト;フェンディ ベルト;バーバリー ベルト;ディオール ベルト;ブルガリ ベルト;ミュウミュウ;ミュウミュウ バッグ;ミュウミュウ 財布;プラダ;プラダ バッグ;プラダ 財布;バーバリー;バーバリー バッグ;バーバリー 財布;バレンシアガ;バレンシアガ バッグ;バレンシアガ 財布;ディオール;ディオール バッグ ;ディオール 財布;クロエ;クロエ バッグ;クロエ 財布;フェンディ;フェンディ バッグ;フェンディ 財布
Major productbest prices on
cool post
looking for the drug nexium
Usual Zithromax dose for prevention of osteoporosis:for or of osteoporosis: 5 once or 35 once a week. Then i have the online zithromax of which goes along with fm. I have 3 before i am finished with my program. Available are to buy online cheap amoxicillin that does have a (see warnings, neutropeniagranulocytosis). It is whether ixempra passes into Zithromax milk or if it could a baby. But and can by depression, a medical Prednisone that is with antidepressants.
any way to disable jsnow ?
cartier love bracelet price
I like your post and all you
investasi atau mencari
Another area with strong
You are really a professional
replica watches
google
google
Best gift for your lover!
this online store will allow
Sure...
I am working on an update. I will publish it with version 1.1
Excellent concept! Brand
cool post
I like
Thanks for sharing your plugin. I like it.
COOL POST
snow in a div
Not yet :0
Currently this feature is not supported...probably in version 1.3 will
Corrections
I am currently releasing v1.1
You should check it in a couple of days. I fixed a lot of bugs and issues that you one that you described. The problem with the animation is also fixed, since a) i increased the interval circle (plus parameter to control it) and b) I found out that 50 items moving on the screen with javascript is way too much, so the new default number of snowflakes is 30 (and it runs a lot better)!I have optimized the animation code, but with all the changes above it runs pretty smoothly.
Thanks for the snowflakes --
sure
will do :)
Problem
I can't find the problem
Can you please send me the code? I've seen that you are using some strange tricks with iframe maybe we should adjust the code.
Sorry. However the right url
it is possible to let it snow
me too memory power tips
Unpacked source
Post new comment