Flower falling effect is a really nice effect. With this effect, you can display the rain of flowers on any web page. And it really looks nice. If you have seen flower falling effect on any web page and then thought to add it to your Blogger blog. But don't know how to add this beautiful effect on your blog. Then don't worry I am here to teach you.
Recently I have shared a post on How To Add Falling Star Effect On Blogger Blog Maybe you will like to read it also. But this post is not about falling star effect so let's come to the main point which is the flower falling effect.              
How To Add Flower Falling Effect With Javascript



Add Flower Falling Effect On Blogger Blog

  1.  Go to the Blogger.com and log in your account.
  2. Select your blog where you wanna add flower falling effect.
  3. Now from your blog dashboard click on the layout tab.
  4. From the next page click on the add Gadget link.
  5. A new window will appear on your screen from this window select HTML/javascript.
  6. Now paste the following code into the text box and press the save button.
<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>if(!image_urls){var image_urls=Array()}if(!flash_urls){var flash_urls=Array()}image_urls['rain1']="https://3.bp.blogspot.com/-n-XnbD1i3Z8/WPsTW3R8xdI/AAAAAAAAD7E/FHwMrQ5HMms7w1b1AKTUY31RLGmy_fgkACLcB/s1600/f1-helponblogging.png";image_urls['rain2']="https://2.bp.blogspot.com/-PoisKeBlzwY/WPsTW0T5XZI/AAAAAAAAD7A/pD0KyWfatBY-JhGTFf7zdd-h0oPuPmTZQCLcB/s1600/f2-helponblogging.png";image_urls['rain3']="https://4.bp.blogspot.com/-3-Rlq33iHvY/WPsTW9AgmKI/AAAAAAAAD7I/-0N0I2XgbYQUPIeRk6xwtJhw1AENdiW-QCLcB/s1600/f3-helponblogging.png";image_urls['rain4']="https://4.bp.blogspot.com/-jX-p-rR1y6E/WPsTYVJasNI/AAAAAAAAD7M/WqQtmzbL1x4-PLxYuT0UPgbCCxEI0EYiACLcB/s1600/f4-helponblogging.png";$(document).ready(function(){var c=$(window).width();var
d=$(window).height();var e=function(a,b){return Math.round(a+(Math.random()*(b-a)))};var f=function(a){setTimeout(function(){a.css({left:e(0,c)+'px',top:'-30px',display:'block',opacity:'0.'+e(10,100)}).animate({top:(d-10)+'px'},e(7500,8000),function(){$(this).fadeOut('slow',function(){f(a)})})},e(1,8000))};$('<div></div>').attr('id','rainDiv')
.css({position:'fixed',width:(c-20)+'px',height:'1px',left:'0px',top:'-5px',display:'block'}).appendTo('body');for(var i=1;i<=20;i++){var g=$('<img/>').attr('src',image_urls['rain'+e(1,4)])
.css({position:'absolute',left:e(0,c)+'px',top:'-30px',display:'block',opacity:'0.'+e(10,100),'margin-left':0}).addClass('rainDrop').appendTo('#rainDiv');f(g);g=null};var h=0;var j=0;$(window).resize(function(){c=$(window).width();d=$(window).height()})});</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':'
https://3.bp.blogspot.com/-n-XnbD1i3Z8/WPsTW3R8xdI/AAAAAAAAD7E/FHwMrQ5HMms7w1b1AKTUY31RLGmy_fgkACLcB/s1600/f1-helponblogging.png','border':0});</script>

That's it the flower falling effect is added on your blog. Now visit your blog and see how it looks. If you have done everything correctly then you will see an amazing falling flower effect on your blog.

Thanks for reading my this post and keep visiting for more useful posts. If you have any question about this post feel free to ask me by dropping your comment below.

1 comment: