Plugin Directory

Changeset 642923


Ignore:
Timestamp:
12/21/2012 01:30:48 PM (13 years ago)
Author:
flocsy
Message:

v1.8.1 added onReady to jquery.ball

Location:
seo-tag-cloud/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • seo-tag-cloud/trunk/ball/jquery.ball.min.js

    r505677 r642923  
    77 * Licensed under the MIT license:http://www.opensource.org/licenses/mit-license.php/
    88 */
    9 eval(function(p,a,c,k,e,d){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('(6($){$.1F.1G=6(1a,B){3 1y={M:25,1h:25,f:1.0};3 B=$.1H(1y,B);3 M=B.M;3 D=5.1O(1M/B.1h);j.1j(6(i,9){3 L=[];3 p=[];3 q;3 s;3 V=0;3 Q=0;3 g;3 F;3 r=0;3 t=0;3 n=0;3 k=0;3 7=0;3 9=$(9);3 8;c("1N"==1J 1a){8=9.1I()}G{8=$(1a,9)}3 1f=9.1o().1g;3 1r=9.1o().1p;6 15(){q=9.W()>>1;s=9.R()>>1;F=5.1w(q,s)}6 1E(){3 A=0;3 T=0;14(3 i=0;i<8.I;i++){A=5.1P((2*(i+1)-1)/8.I-1);T=5.1D(8.I*5.1l)*A;3 e=8[i];3 J=$(e);p[i]=$.1Q($("p",J),6(u){3 u=$(u);K{1m:u,w:u.W(),h:u.R()}});3 w=J.W();3 h=J.R();J.1R("1L","1K");c(V<w){V=w}c(Q<h){Q=h}e.4={};e.4.x=g*5.O(T)*5.v(A);e.4.z=g*5.O(A);e.4.y=g*5.v(T)*5.v(A);L[i]=i}}6 16(){3 Z=5.1w(5.1x(V/q,Q/s),1);3 d=5.1D(1-Z*Z);3 a=-1-d;11=g-a*g}6 1t(){15();g=F;1E();16();C()}6 1i(P){c(P>0){3 d=P/g;14(3 i=0;i<8.I;i++){3 e=8[i];e.4.x*=d;e.4.y*=d;e.4.z*=d}g=P}}6 19(){15();1i(F);16();C()}6 1q(a,b){K 8[a].4.z-8[b].4.z}6 C(){3 l=5.O(n);3 E=5.v(n);L.1S(1q);14(3 z=0;z<8.I;z++){3 i=L[z];3 12=r*t;3 e=8[i];3 10=e.4.x*(r*r*(1-l)+l)+e.4.y*(12*(1-l))-e.4.z*(t*E);3 17=e.4.x*(12*(1-l))+e.4.y*(t*t*(1-l)+l)+e.4.z*(r*E);3 13=e.4.x*t*E-e.4.y*r*E+e.4.z*l;e.4.x=10;e.4.y=17;e.4.z=13;3 f=B.f*(11-F)/(11-13);3 18=f*1k|0;$.1j(p[i],6(1U,p){p.1m.W(p.w*f).R(p.h*f)});e.o.2g=18+"%";3 w=(e.o.2d|e.2h)>>1;3 h=(e.o.2c|e.2b)>>1;3 1e=q+10*f-w|0;3 1z=s+17*f-h|0;e.o.2e=z;e.o.1g=1e+"1s";e.o.1p=1z+"1s";e.o.1A=f;c(e.2f){e.o.1T=\'29(1A=\'+18+\')\'}}K 1Y}6 H(){1v(k);k=0;7=0}6 Y(){c(0===7){H();7={m:n,a:0.1X};k=N(Y,D)}G c(7.a>0.20){7.a=5.v(7.a);n=7.m*7.a;C();k=N(Y,D)}G{H()}}6 U(){c(0===7){H();7={m:n,a:1.0};k=N(U,D)}G c(7.a>0){7.a-=0.1W;n=7.m*7.a;C();k=N(U,D)}G{H()}}9.1Z(6(){7=0;1v(k);k=27(C,D)},6(){U()});9.26(6(e){3 1d=(e.24-1f-q)/(q<<1);3 1c=(e.22-1r-s)/(s<<1);3 1b=5.1l/2+5.28(1c,1d);n=(5.1x(5.1u(1d),5.1u(1c)))/1k*M;r=5.O(1b);t=5.v(1b)});9.19(6(e){19()});1t();6 X(i){1B(i);$("#1n").1C(i+".(x:"+23[i]+",<S/>y:"+21[i]+",<S/>z:"+1V[i]+")")}});K j};$.1F.X=6(){1B("X:"+j+":"+j.4.x);c(j.4.x){$("#1n").1C("(x:"+j.4.x+",<S/>y:"+j.4.y+",<S/>z:"+j.4.z+")")}K j}})(2a);',62,142,'|||var|jqball|Math|function|slowdownani|elem|target|||if|||scale|radi|||this|looptimer|rotec||roteang|style|img|tw|ac|th|as|el|sin|||||anga|options|rotate|frn|rotes|scrz|else|stop|length|je|return|zi|speed|setTimeout|cos|newr|maxh|height|br|angb|slowdownlin|maxw|width|turnTo|slowdownsin|mr|xpos|camd|acas|zpos|for|resizet|movecam|ypos|myscale|resize|selector|axang|accy|accx|myx|itxpos|left|framerate|resizer|each|100|PI|obj|console|offset|top|zsort|itypos|px|init|abs|clearInterval|min|max|defaults|myy|opacity|alert|html|sqrt|calcpos|fn|ball|extend|children|typeof|absolute|position|1000|undefined|floor|acos|map|css|sort|filter|ndx|zs|05|99|false|hover||ys|pageY|xs|pageX||mousemove|setInterval|atan2|alpha|jQuery|offsetHeight|pixelHeight|pixelWidth|zIndex|filters|fontSize|offsetWidth'.split('|')))
     9eval(function(p,a,c,k,e,d){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('(5($){$.1D.1Q=5(X,q){3 1m={R:25,1l:25,k:1.0};3 q=$.1Z(1m,q);3 R=q.R;3 B=6.2i(2h/q.1l);f.1p(5(i,9){3 P=[];3 o=[];3 r;3 s;3 S=0;3 O=0;3 j;3 F;3 t=0;3 u=0;3 l=0;3 g=0;3 7=0;3 9=$(9);3 8;c("1P"==1A X){8=9.1M()}E{8=$(X,9)}3 1y=9.1k().1h;3 1H=9.1k().1g;5 12(){r=9.W()>>1;s=9.Q()>>1;F=6.1j(r,s)}5 1o(){3 D=0;3 N=0;11(3 i=0;i<8.J;i++){D=6.2g((2*(i+1)-1)/8.J-1);N=6.1n(8.J*6.1x)*D;3 e=8[i];3 H=$(e);o[i]=$.1U($("o",H),5(v){3 v=$(v);G{1s:v,w:v.W(),h:v.Q()}});3 w=H.W();3 h=H.Q();H.1V("1W","1Y");c(S<w){S=w}c(O<h){O=h}e.4={};e.4.x=j*6.V(N)*6.C(D);e.4.z=j*6.V(D);e.4.y=j*6.C(N)*6.C(D);P[i]=i}}5 1b(){3 17=6.1j(6.1w(S/r,O/s),1);3 d=6.1n(1-17*17);3 a=-1-d;Y=j-a*j}5 1z(){12();j=F;1o();1b();A()}5 1i(T){c(T>0){3 d=T/j;11(3 i=0;i<8.J;i++){3 e=8[i];e.4.x*=d;e.4.y*=d;e.4.z*=d}j=T}}5 16(){12();1i(F);1b();A()}5 1q(a,b){G 8[a].4.z-8[b].4.z}5 A(){3 p=6.V(l);3 I=6.C(l);P.2d(1q);11(3 z=0;z<8.J;z++){3 i=P[z];3 13=t*u;3 e=8[i];3 Z=e.4.x*(t*t*(1-p)+p)+e.4.y*(13*(1-p))-e.4.z*(u*I);3 1a=e.4.x*(13*(1-p))+e.4.y*(u*u*(1-p)+p)+e.4.z*(t*I);3 10=e.4.x*u*I-e.4.y*t*I+e.4.z*p;e.4.x=Z;e.4.y=1a;e.4.z=10;3 k=q.k*(Y-F)/(Y-10);3 1d=k*1v|0;$.1p(o[i],5(28,o){o.1s.W(o.w*k).Q(o.h*k)});e.n.27=1d+"%";3 w=(e.n.24|e.2f)>>1;3 h=(e.n.21|e.1N)>>1;3 1e=r+Z*k-w|0;3 1f=s+1a*k-h|0;e.n.1R=z;e.n.1h=1e+"1r";e.n.1g=1f+"1r";e.n.1t=k;c(e.2a){e.n.1T=\'1S(1t=\'+1d+\')\'}}G 1K}5 L(){1G(g);g=0;7=0}5 14(){c(0===7){L();7={m:l,a:0.1O};g=K(14,B)}E c(7.a>0.20){7.a=6.C(7.a);l=7.m*7.a;A();g=K(14,B)}E{L()}}5 M(){c(0===7){L();7={m:l,a:1.0};g=K(M,B)}E c(7.a>0){7.a-=0.2e;l=7.m*7.a;A();g=K(M,B)}E{L()}}9.29(5(){7=0;1G(g);g=26(A,B)},5(){M()});9.22(5(e){3 1c=(e.23-1y-r)/(r<<1);3 18=(e.2b-1H-s)/(s<<1);3 15=6.1x/2+6.2c(18,1c);l=(6.1w(6.1u(1c),6.1u(18)))/1v*R;t=6.V(15);u=6.C(15)});9.16(5(e){16()});1z();5 19(i){1B(i);$("#1C").1E(i+".(x:"+1L[i]+",<U/>y:"+1I[i]+",<U/>z:"+1J[i]+")")}});c("5"==1A q.1F){3 4=f;K(5(){q.1F(4)},0)}G f};$.1D.19=5(){1B("19:"+f+":"+f.4.x);c(f.4.x){$("#1C").1E("(x:"+f.4.x+",<U/>y:"+f.4.y+",<U/>z:"+f.4.z+")")}G f}})(1X);',62,143,'|||var|jqball|function|Math|slowdownani|elem|target|||if|||this|looptimer|||radi|scale|roteang||style|img|rotec|options|tw|th|ac|as|el|||||rotate|frn|sin|anga|else|scrz|return|je|rotes|length|setTimeout|stop|slowdownlin|angb|maxh|zi|height|speed|maxw|newr|br|cos|width|selector|camd|xpos|zpos|for|resizet|acas|slowdownsin|axang|resize|mr|accy|turnTo|ypos|movecam|accx|myscale|myx|myy|top|left|resizer|min|offset|framerate|defaults|sqrt|calcpos|each|zsort|px|obj|opacity|abs|100|max|PI|itxpos|init|typeof|alert|console|fn|html|onReady|clearInterval|itypos|ys|zs|false|xs|children|offsetHeight|99|undefined|ball|zIndex|alpha|filter|map|css|position|jQuery|absolute|extend||pixelHeight|mousemove|pageX|pixelWidth||setInterval|fontSize|ndx|hover|filters|pageY|atan2|sort|05|offsetWidth|acos|1000|floor'.split('|')))
  • seo-tag-cloud/trunk/readme.txt

    r642808 r642923  
    8585* Changed hide_credit to show_credit to comply with WP guidelines
    8686* Changed donation button to comply with WP guidelines
     87
     88= 1.8.1 =
     89* Added onReady for jquery.ball
  • seo-tag-cloud/trunk/seo-tag-cloud.php

    r642808 r642923  
    213213        $return = '<script type="text/javascript">'."\n".
    214214            '<!--'."\n".
    215             'jQuery(function(){jQuery("ul.ball").height(jQuery("ul.ball").width()).ball("li", {scale:1.5,speed:25,framerate:25});});'."\n".
     215            'jQuery(function(){jQuery("ul.ball").height(jQuery("ul.ball").width()).ball("li", {scale:1.5,speed:25,framerate:25,onReady:function(jqball){jqball.css("visibility","visible")}});});'."\n".
    216216            '//-->'."\n".
    217217            '</script>'."\n";
     
    384384.credit {font-size: 50%;}
    385385<?php if ('ball' == $options['format']) : ?>
     386.seo-tag-cloud.ball {visibility:hidden}
    386387#sidebar ul ul.seo-tag-cloud.ball {border:none;list-style-type:none;margin:0}
    387388.seo-tag-cloud.ball a {border:none}
Note: See TracChangeset for help on using the changeset viewer.