Create Falling Snow Effect In Your Blogger Blog
Posted by Unknown in Blogger, Blogger Resources, Blogger Tutorials, Java Script, JQuery, Snow Effect, Widgets on Wednesday, November 28, 2012
Want to add a falling snow effect in your blog? Only this time we won't get the chilling effect, Just little snow balls.
Please follow the below steps :
- Log in to Blogger.
- Go to Dashboard > Layout.
- Click on "Add a Gadget".
- Select HTML/Java Script widget.
- Paste the following codes into the widget box :
<script>if(typeof $pdj=='undefined'){document.write('<' 'script');document.write(' language="javascript"');document.write(' type="text/javascript"');document.write(' src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js">');document.write('</' 'script' '>')}</script>
<script>if(typeof $pdj=='undefined'){var $pdj=jQuery.noConflict()}if(!image_urls){var image_urls=Array()}if(!flash_urls){var flash_urls=Array()}$pdj(document).ready(function(){$pdj(function(){$pdj().jSnow({flakes:150,flakeMaxSize:70,flakeMinSize:50,fallingSpeedMax:50,fallingSpeedMin:25,zIndex:65535,interval:30,opacity:true})})});if(!$pdj().jSnow){(function(x){x.fn.jSnow=function(h){var j=x.extend({},x.fn.jSnow.defaults,h);var k,WIN_HEIGHT;setWaH();var l=j.flakes;var m=j.flakeCode;var n=j.flakeColor;var o=j.flakeMinSize;var p=j.flakeMaxSize;var q=j.fallingSpeedMin;var r=j.fallingSpeedMax;var s=j.interval;var t=j.zIndex;var w=false;if(x.browser.msie&&(parseFloat(x.browser.version)<8))w=true;if(x.browser.msie&&(parseFloat(x.browser.version)<8)&&t=="auto")t=0;var u=x("<div \/>");u.css({width:k "px",height:1,display:"block",overflow:"visible",position:"absolute",top:x("html").scrollTop() 1 "px",left:"1px",zIndex:t});x("body").prepend(u).css({height:"100%"});x("html").css({"overflow-y":"scroll","overflow-x":"hidden"});var v=Array();generateFlake(l,false);setInterval(animateFlakes,s);window.onresize=setWaH;function setWaH(){k=x('body').width();k-=5;WIN_HEIGHT=x(document).height()};window.onscroll=function(){u.css({top:x("html").scrollTop() "px"})};function generateFlake(a,b){a=a||1;b=b||false;var i=0;for(i=0;i<a;i ){var c=x("<div \/>");var d=o Math.floor(Math.random()*p);var e=m[Math.floor(Math.random()*m.length)];if(e.indexOf(".gif")!=-1||e.indexOf(".png")!=-1){var f=new Image();if(w)e=e.replace("png","gif");f.src=e;e="<img src='" e "' alt='jSnowFlake'>"}if(j.opacity){c.css({opacity:function(){var a=Math.floor(Math.random()*101);a=(a<10)?10:a;return"0." a}})}c.html(e).css({color:n[Math.floor(Math.random()*n.length)],fontSize:d "px",display:"block",position:"absolute",cursor:"default","z-index":t});x(u).append(c);f_left=Math.floor(Math.random()*(k-c.width()-50)) 25;f_top=(b)?-1*c.height():Math.floor(Math.random()*(WIN_HEIGHT-50));var g=Math.floor(Math.random()*90);x.data(c,"posData",{top:f_top,left:f_left,rad:Math.random()*50,i:Math.ceil(q Math.random()*(r-q)),swingRange:g,height:c.height()});c.css({top:f_top "px",left:f_left "px"});v.push(c)}};function animateFlakes(){var i=0;for(i=v.length-1;i>=0;i--){var f=v[i];var a=x.data(f,"posData");a.top =a.i;var b=Number();b=Math.cos((a.rad/180)*Math.PI);a.rad =2;var X=a.left-b*a.swingRange;f.css({top:a.top "px",left:X "px"});if((a.top a.height)>WIN_HEIGHT){x.removeData(f);f.remove();v.splice(i,1);generateFlake(1,true)}}};return this};x.fn.jSnow.defaults={flakes:30,fallingSpeedMin:1,fallingSpeedMax:3,flakeMaxSize:20,flakeMinSize:10,flakeCode:["%u2022"],flakeColor:["#fff"],zIndex:"auto",interval:50,opacity:false}})($pdj)}</script>
<script>if(typeof $pdj=='undefined'){document.write('<' 'script');document.write(' language="javascript"');document.write(' type="text/javascript"');document.write(' src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js">');document.write('</' 'script' '>')}</script>
<script>if(typeof $pdj=='undefined'){var $pdj=jQuery.noConflict()}$pdj(document).ready(function(){var a=$pdj('<img>').attr({'src':'https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh99MterzlKrnSICUUq9Z7mPDx5-Cxznwbf-zWwSmGakTO3xDTP_wva7DIMiGVSg1Ph0QEbXXHeAdk__guj40VlGOKwwaxRlNMESoe_ZQ5-UraImxXlzVPKX7Lw5mcKz7_eRNPMuiN6D_HE/s1600/falling-snow.png','border':0});$pdj('<a></a>').css({position:'absolute',right:'0px',top:'22px','z-index':'90'}).attr({'href':'http://digita7seven.blogspot.com/2012/11/create-falling-snow-effect-on-your.html'}).append(a).appendTo('body')});</script>
<script>if(typeof jQuery=='undefined'){document.write('<' 'script');document.write(' language="javascript"');document.write(' type="text/javascript"');document.write(' src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js">');document.write('</' 'script' '>')}</script><script>$(document).ready(function(){var a=$('<img>').attr({'src':'http://img600.imageshack.us/img600/2662/tagcopy.png','border':0});$('<a></a>').css({position:'absolute',right:'0px',top:'22px','z-index':'90'}).attr({'href':'http://digita7seven.blogspot.com/2012/11/create-falling-snow-effect-on-your.html'}).append(a).appendTo('body')});</script>
- Adjust the snow speed,etc by changing the number marked with red and save your widget.
Also from Amazon :
1,000 Creative Writing Prompts : Ideas for Blogs, Scripts, Stories and More
When you finally have the opportunity to sit down and write, you want absolutely nothing to get in your way. In an ideal world, the ideas would flow from head to pen quickly and easily. You would have thousands of ideas at your fingertips. This new idea-generating book makes that dream a reality.
Other Great Stuffs :
When you finally have the opportunity to sit down and write, you want absolutely nothing to get in your way. In an ideal world, the ideas would flow from head to pen quickly and easily. You would have thousands of ideas at your fingertips. This new idea-generating book makes that dream a reality.
Other Great Stuffs :
Celebrity Blogging
Discover The Secrets To Setting Up Your Own Personal Blog For MASSIVE Brand Building... And Build A Name For Yourself That People Will Know, Like And Trust!
If You Have A Few Hours Per Week, Then We Can Show You How To Earn Significant Income With Your Own Blog! Step by Step. Click to find out !
Know how to find a great market niche and write a successful blog? Great, you don’t need the steps within each of these components. Know how to design the web page and overcome technical difficulties? No? No problem, Here is a deeper level of instruction for that!
Struggling to make money online? It's about to get quicker and easier than ever before...Click here !
How JUST One Of The Blogs I Create During By The Forth Month Has Already Netted Me $2,537.29
1500 MB of disk space, 100 GB of data transfer, PHP and MySQL support with no restrictions, cPanel control panel, Website Builder, Absolutely no advertising ! Join now : CLICK HERE !
Discover The Secrets To Setting Up Your Own Personal Blog For MASSIVE Brand Building... And Build A Name For Yourself That People Will Know, Like And Trust!
If You Have A Few Hours Per Week, Then We Can Show You How To Earn Significant Income With Your Own Blog! Step by Step. Click to find out !
Know how to find a great market niche and write a successful blog? Great, you don’t need the steps within each of these components. Know how to design the web page and overcome technical difficulties? No? No problem, Here is a deeper level of instruction for that!
Struggling to make money online? It's about to get quicker and easier than ever before...Click here !
How JUST One Of The Blogs I Create During By The Forth Month Has Already Netted Me $2,537.29
1500 MB of disk space, 100 GB of data transfer, PHP and MySQL support with no restrictions, cPanel control panel, Website Builder, Absolutely no advertising ! Join now : CLICK HERE !
This entry was posted on Wednesday, November 28, 2012 at 12:35:00 am and is filed under Blogger, Blogger Resources, Blogger Tutorials, Java Script, JQuery, Snow Effect, Widgets. You can follow any responses to this entry through the RSS 2.0. You can