Demo
Seperti yang anda lihat. Jika tidak ada hujan ketombe, coba reload lagi post ini.
Kode
<script type="text/javascript">
//<![CDATA[
if ((document.getElementById) && window.addEventListener || window.attachEvent){
//Menghias Blog Dengan Turun Salju Plus Ketombe
(function(){//http://nanoyulianto.blogspot.com/2011/01/javascript-blogger.html
var ncl="white"; // warna salju
/////////////////////////////////
eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('m p(){5 e,t,n,i,s,o;7(D){7(d.8&&d.q&&c d.q.P=="j"){e=d.8.11;t=d.q.P;n=d.8.13;i=d.q.14;s=e-t;o=n-i}f{s=r.15;o=r.Q}h=s-2;w=o-2}f{h=r.16-2;w=r.u-2}}m E(e){5 t,n;7(R){t=r.S;n=r.17}f{t=r.18;n=r.19}1a e==0?t:n}m F(){5 e,t;G(i=0;i<k;i++){e=l[i];t=l[i]*4.1b(v[i]);y[i]+=e;x[i]+=t;7(x[i]>=w||y[i]>=h){y[i]=-10;x[i]=4.b(4.6()*w);l[i]=9[i]==1?4.b(2+4.6()*2):4.b(3+4.6()*2);z[i]=9[i]==1?.g+4.6()*.1:.g+4.6()*.g}A[i].T=y[i]+E(0)+H;A[i].U=x[i]+E(1)+H;v[i]+=z[i]}1c(F,V)}m I(){p();G(i=0;i<k;i++){A[i]=J.1d("W"+(K+i)).B;y[i]=4.b(4.6()*h);x[i]=4.b(4.6()*w)}F()}5 k=X;5 V=X;5 1e=1;5 y=[];5 x=[];5 l=[];5 A=[];5 9=[];5 z=[];5 v=[];5 h,w,r;5 d=J;5 H="C";5 D=c a.Q=="j";5 R=c a.S=="j";5 K=d.1f("L").1g;7(d.8.B&&c d.8.B.1h=="1i")k=12;G(i=0;i<k;i++){9[i]=4.b(1+4.6()*1);J.1j(\'<L 1k="W\'+(K+i)+\'" B="1l:1m;T:Y;U:Y;1n:\'+9[i]+"C;1o:"+9[i]+"C;1p:"+1q+";1r-1s:"+9[i]+\'C"></L>\');v[i]=0;l[i]=9[i]==1?4.b(2+4.6()*2):4.b(3+4.6()*2);z[i]=9[i]==1?.g+4.6()*.1:.g+4.6()*.g}7(D)r=a;f{7(d.8&&c d.8.u=="j"&&d.8.u!=0)r=d.8;f{7(d.M&&c d.M.u=="j")r=d.M}}7(a.N){a.N("1t",p,Z);a.N("1u",I,Z)}f 7(a.O){a.O("1v",p);a.O("1w",I)}',62,95,'||||Math|var|random|if|documentElement|sfs|window|round|typeof|||else|05|||number|num|fall|function|||winsize|defaultView||||clientWidth|currStep||||step|theFlakes|style|px|domWw|scrl|snow|for|pix|init|document|idx|div|body|addEventListener|attachEvent|scrollMaxY|innerWidth|domSy|pageYOffset|top|left|timer|ketombe|30|0px|false||offsetHeight||offsetWidth|scrollMaxX|innerHeight|clientHeight|pageXOffset|scrollTop|scrollLeft|return|cos|setTimeout|getElementById|enableinNS6|getElementsByTagName|length|MozOpacity|string|write|id|position|absolute|width|height|background|ncl|font|size|resize|load|onresize|onload'.split('|'),0,{}))})();}//]]>
</script>
*Kode berwarna merah diganti dan disesuaikan dengan background blog.
Install
Layout >> Add a Gadget >> HTML/Javascript
Masukkan Kode
Save
Pembuat Base Script Kurt Grigg
1 comments:
makasih sob :D
Posting Komentar