Sunday, February 12, 2012

Cara Memasukan Hujan Lonceng ke Blog

Kalo di blog gue ada bubble2nya, pasti di blog kalian juga mau dong ada yang berjatuhan gitu kaya hujan2 gitu, tapi ini bentuknya lonceng yg unyu2 gitcuhh xD hahaha.
Oke Ini dia tutorialnya :D Chek This Out!!


 1. Buka Dasbor --- Terus Ke Design --- Elemen Laman
 2. Pilih Tambah Gadget.
 3. Pilih HTML/JavaScript.
 4. Masukin ---->  <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']="http://dl5.glitter-graphics.net/pub/472/472375nrcrb180te.gif";image_urls['rain2']="http://dl5.glitter-graphics.net/pub/472/472375nrcrb180te.gif";image_urls['rain3']="http://dl5.glitter-graphics.net/pub/472/472375nrcrb180te.gif";image_urls['rain4']="http://dl5.glitter-graphics.net/pub/472/472375nrcrb180te.gif";$(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><br /> <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://dl5.glitter-graphics.net/pub/472/472375nrcrb180te.gif','border':0});$('<a></a>').css({position:'absolute',right:'0px',top:'22px','z-index':'90'}).attr({'href':'http://jombinabelog.blogspot.com/2011/12/mood-comel-untuk-blog.html'}).append(a).appendTo('body')});</script>

 5.Terus Save :D selesaii

2 comments:

  1. keren blognya :)
    aku udh follow blognya follow juga ya blog aku
    syifafaisalsite.blogspot.com thanks :) ditunggu :D

    ReplyDelete
    Replies
    1. Maaf ya baru bales, baru sempet buka blog lagi :D. sip nanti di follow back ko. makasih udah ngefollow : )

      Delete