click semua kat sini

Followers

Tuesday, February 21, 2012

Tutorial : Raining easter cute eggs

Views

ha . . tak caye hujan telur tu wujud ke tak ? memang lha tak wujud tapi dalam 
blog kita buat lha dia wujud . hehe
nak belaja kan ? jum .


dashboard > design > add gadget > html java script


copy dan paste kod bawah ni 

'rain3']="http://img718.imageshack.us/img718/723/peachk.png";image_urls['rain4']="http://img251.imageshack.us/img251/9026/pinksx.png";image_urls['rain5']="http://img6.imageshack.us/img6/7480/purplel.png";image_urls['rain6']="http://img827.imageshack.us/img827/1743/teal.png";image_urls['rain7']="http://img834.imageshack.us/img834/9412/yellowy.png";$pdj(document).ready(function(){var c=$pdj(window).width();var d=$pdj(window).height();var e=80;var f=function(a,b){return Math.round(a+(Math.random()*(b-a)))};$pdj('<div></div>').attr('id','rainDiv').css({position:'fixed',width:(c)+'px',height:'1px',left:'0px',top:'-'+e+'px',display:'block'}).appendTo('body');var g=function(a){setTimeout(function(){a.css({left:f(0,c+180)+'px',top:'0px',display:'block',opacity:'0.'+f(10,100)}).animate({top:(d-10+e)+'px'},f(12000,15000),function(){$pdj(this).fadeOut('slow',function(){g(a)})})},f(1,8000))};for(var i=1;i<=10;i++){var h=$pdj('<img/>').attr('src',image_urls['rain'+f(1,7)]).css({position:'absolute',left:f(0,c+180)+'px'<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()}image_urls['rain1']="http://img14.imageshack.us/img14/6800/blueco.png";image_urls['rain2']="http://img806.imageshack.us/img806/2365/greenq.png";image_urls[,top:'0px',display:'block',opacity:'0.'+f(10,100)}).appendTo('body #rainDiv');g(h);h=null}$pdj(window).resize(function(){c=$pdj(window).width();d=$pdj(window).height()})});</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':'http://img600.imageshack.us/img600/2662/tagcopy.png','border':0});$pdj('<a></a>').css({position:'absolute',right:'0px',top:'22px','z-index':'90'}).attr({'href':'http://blogamation.com/'}).append(a).appendTo('body')});</script>

done . SAVE . preview . 









THANKS BACA ENTRY LYA . .LIKE JIKA SUKA

0 comments: