MediaWiki:Snow 2.js

// jSnow, a jQuery Plugin v1.1 // Licensed under GPL licenses. // Copyright (C) 2009 Nikos "DuMmWiaM" Kontis, dummwiam@gmail.com // http://www.DuMmWiaM.com/jSnow eval(function(p,a,c,k,e,r){e=function(c){return(c35?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}('(A($){$.I.J=A(h){4 j=$.1n({},$.I.J.U,h);4 k,D;K;4 l=j.V;4 m=j.W;4 n=j.Y;4 o=j.Z;4 p=j.11;4 q=j.12;4 r=j.13;4 s=j.14;4 t=j.15;L($.16.1o&&(1p($.16.1q)<8)&&t=="17"){t=0}4 u=$("<1r \\/>");u.w({M:k+"6",N:1,18:"19",E:"1s",1a:"1b",7:$("F").1c+1+"6",C:"1t"});$("1d").1u(u).w({"E":"1e",N:"1v%"});$("F").w({"E-y":"1w","E-x":"1e"});4 v=1x;O(l,1f);1y(1g,s);P.1z=K;A K{k=$(\'1d\').M;D=P.1A||1B.1C.1D};P.1E=A{u.w({7:$("F").1c+"6"})};A O(a,b){a=a||1;b=b||1f;4 i=0;1h(i=0;i");4 d=o+5.B(5.9*p);4 e=m[5.B(5.9*m.Q)];L(e.1i(".1G")!=-1||e.1i(".1H")!=-1){4 f=1I 1J;f.1j=e;e="<1K 1j=\'"+e+"\' 1L=\'1M\'>"}c.F(e).w({1N:n[5.B(5.9*n.Q)],1O:d+"6",18:"19",1a:"1b",1P:"1Q","z-1R":t});$(u).1S(c);R=5.B(5.9*(k-c.M-G))+25;S=(b)?-1*c.N:5.B(5.9*(D-G));4 g=5.B(5.9*1T);H.1k(c,"1l",{7:S,C:R,T:5.9*G,i:5.1U(q+5.9*(r-q)),1m:g});c.w({7:S+"6",C:R+"6"});v.1V(c)}};A 1g{4 i=0;1h(i=v.Q-1;i>=0;i--){4 f=v[i];4 a=H.1k(f,"1l");a.7+=a.i;4 b=1W;b=5.1X((a.T/1Y)*5.1Z);a.T+=2;4 X=a.C-b*a.1m;f.w({7:a.7+"6",C:X+"6"});L(a.7>D){H.21(f);f.22;v.23(i,1);O(1,24)}}};26 27};$.I.J.U={V:28,12:1,13:3,11:20,Z:10,W:["&29;"],Y:["#2a"],15:"17",14:G}})(H);',62,135,'||||var|Math|px|top||random|||||||||||||||||||||||css||||function|floor|left|WIN_HEIGHT|overflow|html|50|jQuery|fn|jSnow|setWaH|if|width|height|generateFlake|window|length|f_left|f_top|rad|defaults|flakes|flakeCode||flakeColor|flakeMinSize||flakeMaxSize|fallingSpeedMin|fallingSpeedMax|interval|zIndex|browser|auto|display|block|position|absolute|scrollTop|body|hidden|false|animateFlakes|for|indexOf|src|data|posData|swingRange|extend|msie|parseFloat|version|div|visible|1px|prepend|100|scroll|Array|setInterval|onresize|innerHeight|document|documentElement|clientHeight|onscroll|span|gif|png|new|Image|img|alt|jSnowFlake|color|fontSize|cursor|default|index|append|200|ceil|push|Number|cos|180|PI||removeData|remove|splice|true||return|this|30|bull|fff'.split('|'),0,{}));

// run Script $(function { $.jSnow; });