topical media & game development

talk show tell print

lib-jquery-plugin-charts-include-js-lib-ycodaslider-2.0.rc2-ycodaslider-2.0.pack.js / js



  /*
   * 
   * YCodaSlider plugin 2.0
   * Date:2008-05-18 12:34:29 +0200 (dom, 18 mag 2008) 
   * Rev:80 
   * @requires jQuery v1.2.3
   * @optional Easing v1.3
   * @optional History/Remote v0.2.3
   * @optional Dimensions 1.2
   * @optional UI core (rev.5607) + draggable (rev.5618)
   * 
   * Copyright (c) 2008 Massimiliano Balestrieri
   * Examples and docs at: http://maxb.net/blog/
   * Licensed GPL licenses:
   * http://www.gnu.org/licenses/gpl.html
   *
   * Based on Gian Carlo Mingati's slideViewer
   * http://www.gcmingati.net/wordpress/wp-content/lab/jquery/imagestrip/imageslide-plugin.html
   * Based on Niall Doherty's coda-slider
   * http://www.ndoherty.com/coda-slider  
   * Inspired by the clever folks at http://www.panic.com/coda
   */
  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}('8(!1D.h)l h={};h.i={C:0,m:g(a){8(h.i.C==0)3(\'1A\').S(\'<1o 1V="1S/m" H="\'+a+\'" 1L="1K" />\')},1a:g(b){b=3.1E({L:q,15:[1y,1v],N:q,14:q,I:q,13:q,J:1R},b);G f.11(g(a){h.i.C++;f.2={};f.2.7=b||{};h.i.1e(f,b);h.i.1d(f);h.i.1b(f);h.i.19(f);h.i.o(f);h.i.18(f);h.i.17(f)})},1e:g(a,b){a.N=a.2.7.N||a.N||\'4-\'+h.i.C;l c=\'<6 v="4-P"><6 v="4-E"><6 v="4-s">\';l d=3(".4-1l",a);3(a).1u();3(a).S(c);3(\'.4-s\',a).S(d);d.P(\'<6 v="4-K">\');8(!a.2.7.J)3(".4-P",a).j(3(".4-P",a).j()-1i)},1b:g(a){l b=3("6.4-s",a);a.2.r=a.2.7.j||b.k("6.4-K").j();a.2.p=b.k("6.4-K").1m();a.2.1k=a.2.r*a.2.p;a.2.1j=a.2.r;b.m("j",a.2.1k)},1d:g(a){8(a.2.7.j){3(a).m("j",a.2.7.j+1i);3(\'.4-K,.4-E\',a).m("j",a.2.7.j)}8(a.2.7.L)3(\'.4-E\',a).m("L",a.2.7.L);8(a.2.7.14)3(\'.4-E\',a).m({"1U-y":"1Q"});8(a.2.7.13){3(\'.4-s\',a).13({1P:"x"}).1O(g(){3(f).m("1g","1N")},g(){3(f).m("1g","")})}},19:g(a){8(h.i.5(a)){a.2.5=1f(B.A.10(1))||1;a.2.C=-(a.2.r*(a.2.5-1));3(a).k("6.4-s").m({"M":a.2.C})}t{a.2.5=1}},o:g(b){l c=3("6.4-E",b);8(b.2.7.J){c.1c(\'<6 v="4-12"><a H="#">1J</a></6>\');c.1I(\'<6 v="4-R"><a H="#">1H</a></6>\')}c.1c(\'<6 v="4-o"><Y><\\/Y></6>\');l d=3("6.4-o Y",b);3("6.4-K",b).11(g(n){l a=3("6.4-1l",f).1G("1F")||(n+1);8(b.2.7.I){3(\'<D><a H="#\'+(n+1)+\'">\'+a+\'</a></D>\').16(d)}t{3(\'<D><a H="#">\'+a+\'</a></D>\').16(d).w(g(){G q})}});8(b.2.7.j){d.9().m("j",b.2.7.j)}t{d.9().m("j",b.2.1j)}},18:g(b){3("6.4-o a",b).11(g(z){3(f).1C("w",g(){3(f).u("5").9().9().k("a").1B(3(f)).F("5");l a=-(b.2.r*z);b.2.5=z+1;8(b.W)h.V.Z(b,(b.2.5-1),b.2.p);3("6.4-s",b).U({M:a},b.2.7.T,b.2.7.X)})});8(b.2.7.J)3("6.4-12 a",b).w(g(){8(b.2.5==1){l a=-(b.2.r*(b.2.p-1));b.2.5=b.2.p;3(f).9().9().k("6.4-o a.5").F("5").9().9().k("D:1z a").u("5")}t{b.2.5-=1;l a=-(b.2.r*(b.2.5-1));3(f).9().9().k("6.4-o a.5").F("5").9().1x().k("a").u("5")};8(b.W)h.V.Z(b,(b.2.5-1),b.2.p);3(f).9().9().k("6.4-s").U({M:a},b.2.7.T,b.2.7.X);8(b.2.7.I)B.A=b.2.5;G q});8(b.2.7.J)3("6.4-R a",b).w(g(){8(b.2.5==b.2.p){l a=0;b.2.5=1;3(f).9().9().k("6.4-o a.5").F("5").9().9().k("a:Q(0)").u("5")}t{l a=-(b.2.r*b.2.5);b.2.5+=1;3(f).9().9().k("6.4-o a.5").F("5").9().1w().k("a").u("5")};8(b.W)h.V.Z(b,(b.2.5-1),b.2.p);3(f).9().9().k("6.4-s").U({M:a},b.2.7.T,b.2.7.X);8(b.2.7.I)B.A=b.2.5;G q});l c=b.2.7.15;8(c&&c[0]&&c[1]){3(1M).1t(g(e){8(e==1s){O=1r.1q}t{O=e.1p}8(!(3(b).m("1T")==="1n")){8(O==c[0]){3("6.4-12 a",b).1h("w",b)}t 8(O==c[1]){3("6.4-R a",b).1h("w",b)}}})}},17:g(a){8(h.i.5(a)){3("6.4-o a:Q("+(B.A.10(1)-1)+")",a).u("5")}t{3("6.4-o a:Q(0)",a).u("5")}},5:g(a){G a.2.7.I&&B.A&&1f(B.A.10(1))<=a.2.p}};3.1W.2=h.i.1a;',62,121,'||ycodaslider|jQuery|yslider|current|div|options|if|parent||||||this|function|YCodaSlider|Base|width|find|var|css||nav|pc|false|pw|container|else|addClass|class|click||||hash|location|cnt|li|viewer|removeClass|return|href|history|sidebars|panel|height|left|id|keycode|wrap|eq|navr|append|easeTime|animate|Lazy|lazy|easeFunc|ul|lazyload|slice|each|navl|draggable|scroll|shortcut|appendTo|defaults|bindings|start|build|count|before|init|gui|parseInt|cursor|trigger|100|nw|vw|panelwrapper|size|none|link|which|keyCode|event|null|keydown|empty|188|next|prev|190|last|head|not|bind|window|extend|title|attr|Right|after|Left|stylesheet|rel|document|move|hover|axis|auto|true|text|display|overflow|type|fn'.split('|'),0,{}))


(C) Æliens 20/2/2008

You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.