Skip to content
Snippets Groups Projects
Commit 2b071fce authored by Laurent's avatar Laurent
Browse files

hotline #62058 fix responsive vertical carousel

parent 96c2f659
Branches
Tags
2 merge requests!2464Master,!2446Hotline#62058 kiosque en mode responsive ko vsr cavy
Pipeline #3184 passed with stage
in 26 minutes
......@@ -2,13 +2,11 @@
Class_ScriptLoader::getInstance()
->loadJQuery()
->addOPACPluginStyleSheet('mycarousel_horizontal/carousel.css')
->addOPACPluginScript('mycarousel_horizontal/jMyCarousel.pack.js')
->addOPACPluginScript('mycarousel_horizontal/jMyCarousel.min.js')
->addJqueryReady('
$(".jMyCarousel").jMyCarousel({
visible: "100%",
auto: false,
evtStart: "mousedown",
evtStop: "mouseup",
speed: '. $this->preferences["op_speed"] . '});');
echo $this->partial('java/mycarousel_partial.phtml', ['records' => $this->notices,
......
......@@ -2,14 +2,12 @@
Class_ScriptLoader::getInstance()
->loadJQuery()
->addOPACPluginStyleSheet('mycarousel_vertical/carousel.css')
->addOPACPluginScript('mycarousel_vertical/jMyCarousel.pack.js')
->addOPACPluginScript('mycarousel_vertical/jMyCarousel.min.js')
->addJqueryReady('
$(".jMyCarousel").jMyCarousel({
visible: ' .$this->preferences["op_visible"] . ',
auto: false,
vertical: true,
evtStart: "mousedown",
evtStop: "mouseup",
speed : ' . $this->preferences["op_speed"] . '});');
echo $this->partial('java/mycarousel_partial.phtml', ['records' => $this->notices,
......
(function(e){function y(a,r){return parseInt(e.css(a[0],r))||0}function G(a){return a[0].offsetHeight+y(a,"marginTop")+y(a,"marginBottom")}e.fn.jMyCarousel=function(a){a=e.extend({btnPrev:null,btnNext:null,mouseWheel:!0,auto:!1,speed:500,easing:"linear",vertical:!1,circular:!0,visible:"4",start:0,scroll:1,step:50,eltByElt:!1,evtStart:"mouseover touchstart",evtStop:"mouseout touchend",beforeStart:null,afterEnd:null},a||{});return this.each(function(){function r(w,b){var c=w?w:s;if(!(!0===g&&"backward"===
n)){if(!a.circular&&d+c+(a.vertical?z:m)>t)c=t-(d+(a.vertical?z:m));k.animate("left"==A?{left:-(d+c)}:{top:-(d+c)},a.speed,a.easing,function(){d+=c;if(a.circular&&d+(a.vertical?z:m)+f>=J)k.css(a.vertical?"top":"left",-d+t),d-=t;!b&&g?(r(),console.log("forward")):b&&(0<--B?r(s,!0):(g=!1,n=null))})}}function C(w,b){var c=w?w:s;!0===g&&"forward"===n||(a.circular||0>d-c&&(c=d-0),k.animate("left"==A?{left:-(d-c)}:{top:-(d-c)},a.speed,a.easing,function(){d-=c;a.circular&&d<=f&&(k.css(a.vertical?"top":"left",
-(d+t)),d+=t);!b&&g?C():b&&(0<--B?C(s,!0):(g=!1,n=null))}))}function H(){a.eltByElt||(k.stop(),d=0-parseInt(k.css(A)));g=!1;n=null}function K(b){var c=b.find("img");return a.vertical?parseInt(b.css("margin-left"))+parseInt(b.css("margin-right"))+parseInt(c.width())+parseInt(b.css("border-left-width"))+parseInt(b.css("border-right-width"))+parseInt(b.css("padding-right"))+parseInt(b.css("padding-left")):parseInt(b.css("margin-top"))+parseInt(b.css("margin-bottom"))+parseInt(c.width())+parseInt(b.css("border-top-height"))+
parseInt(b.css("border-bottom-height"))+parseInt(b.css("padding-top"))+parseInt(b.css("padding-bottom"))}var g=!1,A=a.vertical?"top":"left",E=a.vertical?"height":"width",l=e(this),k=e("ul",l),b=e("li",k),u=b.length,h=a.visible,B=0,p=null===a.btnNext&&null===a.btnPrev?!0:!1,F=-1!=h.toString().indexOf("%")?"%":-1!=h.toString().indexOf("px")?"px":"el",n=null;a.speed=Math.max(20,a.speed);a.circular&&(b=b.clone(),k.prepend(b).append(b.clone()));b=e("li",k);l.css("visibility","visible");b.css("overflow",
"hidden").css("float",a.vertical?"none":"left").children().css("overflow","hidden");a.vertical||b.css("display","inline");"a"==b.children().get(0).tagName.toLowerCase()&&!a.vertical&&b.children().css("float","left");a.vertical&&jQuery.browser.msie&&b.css("line-height","4px").children().css("margin-bottom","-4px");k.css("margin","0").css("padding","0").css("position","relative").css("list-style-type","none").css("z-index","1");l.css("overflow","hidden").css("position","relative").css("z-index","2").css("left",
"0px");var f=a.vertical?G(b):b[0].offsetWidth+y(b,"marginLeft")+y(b,"marginRight"),q=a.vertical?K(b):G(b),d=a.start,c=b.length,I=f*c,t=u*f,J=c*f,s="default"==a.step?f:a.step;a.btnPrev=p?e('<input type="button" class="'+(a.vertical?"up":"prev")+'" />'):e(a.btnPrev);a.btnNext=p?e('<input type="button" class="'+(a.vertical?"down":"next")+'" />'):e(a.btnNext);var c=a.btnPrev,v=a.btnNext;p&&!0!==a.auto&&(c.css({opacity:"0.6"}),v.css({opacity:"0.6"}),l.prepend(c),l.prepend(v),a.btnPrev=c,a.btnNext=v);if(a.eltByElt&&
(s=f,0!==a.start%f))var x=parseInt(a.start/f),d=a.start=x*f;a.circular&&(a.start+=f*u,d+=f*u);var m,D;"%"==F?(m=0,x=parseInt(h),D="%"):("px"==F?(m=parseInt(h),x=parseInt(h)):(m=f*parseInt(h),x=f*parseInt(h)),D="px");k.css(E,I+"px").css(A,-a.start);l.css(E,x+D);a.vertical&&"%"==D&&(u=f*u*(parseInt(h)/100),l.css(E,u+"px"));0===m&&(m=l.width());a.vertical?(l.css("width",q+"px"),k.css("width",q+"px"),b.css("margin-bottom",2*parseInt(b.css("margin-bottom"))+"px"),b.eq(b.length-1).css("margin-bottom",b.css("margin-top"))):
(l.css("height",q+"px"),k.css("height",q+"px"));"%"==F&&(h=m/b.width(),0!==h%1&&(h+=1),h=parseInt(h));var z=l.height();p&&(v.css({"z-index":200,position:"absolute"}),c.css({"z-index":200,position:"absolute"}),a.vertical?(c.css({width:c.width(),height:c.height(),top:"0px",left:parseInt(q/2)-parseInt(c.width()/2)+"px"}),v.css({width:c.width(),height:c.height(),top:z-c.height()+"px",left:parseInt(q/2)-parseInt(c.width()/2)+"px"})):(c.css({left:"0px",top:parseInt(q/2)-parseInt(c.height()/2)+"px"}),v.css({right:"0px",
top:parseInt(q/2)-parseInt(c.height()/2)+"px"})));a.btnPrev&&(e(a.btnPrev).on(a.evtStart,function(b){b.preventDefault();p&&a.btnPrev.css("opacity",0.9);g=!0;n="backward";return C()}),e(a.btnPrev).on(a.evtStop,function(b){b.preventDefault();p&&a.btnPrev.css("opacity",0.6);g=!1;n=null;return H()}));a.btnNext&&(e(a.btnNext).on(a.evtStart,function(b){b.preventDefault();p&&a.btnNext.css("opacity",0.9);g=!0;n="forward";return r()}),e(a.btnNext).on(a.evtStop,function(b){b.preventDefault();p&&a.btnNext.css("opacity",
0.6);g=!1;n=null;return H()}));!0===a.auto&&(g=!0,r());a.mouseWheel&&l.mousewheel&&l.mousewheel(function(b,c){if(!a.circular&&(0<c?d+m<I:0<d)||a.circular)B+=1,!1===g&&(0<c?r(s,!0):C(s,!0),g=!0)})})}})(jQuery);
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}('(G($){$.22.2r=G(o){o=$.21({P:O,S:O,1G:K,1j:Q,1g:1S,1t:\'2l\',E:Q,U:K,1m:\'4\',W:0,20:1,1h:1Y,1f:Q,1e:\'1R\',1v:\'2q\',2m:O,2k:O},o||{});M 1p.2h(G(){8 c=Q,13=o.E?"N":"J",19=o.E?"H":"F";8 f=$(1p),L=$("L",f),1k=$("1C",L),14=1k.1i(),v=o.1m;8 g=0;8 h=(o.S===O&&o.P===O)?K:Q;8 i=(v.1x().1w("%")!=-1?\'%\':(v.1x().1w("I")!=-1)?\'I\':\'1T\');8 j=O;5(o.U){8 k=1k.1D();L.1u(k).2p(k.1D())}8 l=$("1C",L);f.3("2j","1m");l.3("1r","1q").3("1K",o.E?"1J":"J").1b().3("1r","1q");5(!o.E){l.3("2g","2d")}5(l.1b().2c(0).29.28()==\'a\'&&!o.E){l.1b().3(\'1K\',\'J\')}5(o.E&&1H.27.26){l.3(\'25-H\',\'1F\').1b().3(\'T-X\',\'-1F\')}L.3("T","0").3("12","0").3("17","1E").3("24-23-1l","1J").3("z-16","1");f.3("1r","1q").3("17","1E").3("z-16","2").3("J","15");8 m=o.E?H(l):F(l);8 n=o.E?1B(l):H(l);8 p=o.W;8 q=l.1i();8 r=m*q;8 t=14;8 u=t*m;8 w=q*m;8 x=o.1h==\'1Z\'?m:o.1h;o.P=h?$(\'<1A 1l="1z" 1y="\'+(o.E?\'1X\':\'1W\')+\'" />\'):$(o.P);o.S=h?$(\'<1A 1l="1z" 1y="\'+(o.E?\'1V\':\'1U\')+\'" />\'):$(o.S);8 y=o.P;8 z=o.S;5(h&&o.1j!==K){y.3({\'Z\':\'0.6\'});z.3({\'Z\':\'0.6\'});f.1u(y);f.1u(z);o.P=y;o.S=z}5(o.1f){x=m;5(o.W%m!==0){8 A=7(o.W/m);p=o.W=(A*m)}}5(o.U){o.W+=(m*14);p+=(m*14)}8 B,11,10;5(i==\'%\'){B=0;11=7(v);10="%"}R 5(i==\'I\'){B=7(v);11=7(v);10="I"}R{B=m*7(v);11=m*7(v);10="I"}L.3(19,r+"I").3(13,-(o.W));f.3(19,11+10);5(o.E&&10==\'%\'){8 C=((m*t)*(7(v)/1Q));f.3(19,C+\'I\')}5(B===0){B=f.F()}5(o.E){f.3("F",n+\'I\');L.3("F",n+\'I\');l.3(\'T-X\',(7(l.3(\'T-X\'))*2)+\'I\');l.1P(l.1i()-1).3(\'T-X\',l.3(\'T-N\'))}R{f.3(\'H\',n+\'I\');L.3(\'H\',n+\'I\')}5(i==\'%\'){v=B/l.F();5(v%1!==0){v+=1}v=7(v)}8 D=f.H();5(h){z.3({\'z-16\':1O,\'17\':\'1N\'});y.3({\'z-16\':1O,\'17\':\'1N\'});5(o.E){y.3({\'F\':y.F(),\'H\':y.H(),\'N\':\'15\',\'J\':7(n/2)-7(y.F()/2)+\'I\'});z.3({\'F\':y.F(),\'H\':y.H(),\'N\':(D-y.H())+\'I\',\'J\':7(n/2)-7(y.F()/2)+\'I\'})}R{y.3({\'J\':\'15\',\'N\':7(n/2)-7(y.H()/2)+\'I\'});z.3({\'18\':\'15\',\'N\':7(n/2)-7(y.H()/2)+\'I\'})}}5(o.P){$(o.P).1a(o.1e,G(){5(h){o.P.3(\'Z\',0.9)}c=K;j=\'Y\';M Y()});$(o.P).1a(o.1v,G(){5(h){o.P.3(\'Z\',0.6)}c=Q;j=O;M 1c()})}5(o.S){$(o.S).1a(o.1e,G(){5(h){o.S.3(\'Z\',0.9)}c=K;j=\'V\';M V()});$(o.S).1a(o.1v,G(){5(h){o.S.3(\'Z\',0.6)}c=Q;j=O;M 1c()})}5(o.1j===K){c=K;V()}5(o.1G&&f.1M){f.1M(G(e,d){5(!o.U&&(d>0?(p+B<r):(p>0))||o.U){g+=1;5(c===Q){5(d>0){V(x,K)}R{Y(x,K)}c=K}}})}G V(a,b){8 s=(a?a:x);5(c===K&&j==="Y"){M}5(!o.U){5(p+s+(o.E?D:B)>u){s=u-(p+(o.E?D:B))}}L.1L(13=="J"?{J:-(p+s)}:{N:-(p+s)},o.1g,o.1t,G(){p+=s;5(o.U){5(p+(o.E?D:B)+m>=w){L.3(o.E?\'N\':\'J\',-p+u);p-=u}}5(!b&&c){V()}R 5(b){5(--g>0){1p.V(x,K)}R{c=Q;j=O}}})}G Y(a,b){8 s=(a?a:x);5(c===K&&j==="V"){M}5(!o.U){5(p-s<0){s=p-0}}L.1L(13=="J"?{J:-(p-s)}:{N:-(p-s)},o.1g,o.1t,G(){p-=s;5(o.U){5(p<=m){L.3(o.E?\'N\':\'J\',-(p+u));p+=u}}5(!b&&c){Y()}R 5(b){5(--g>0){Y(x,K)}R{c=Q;j=O}}})}G 1c(){5(!o.1f){L.1c();p=0-7(L.3(13))}c=Q;j=O}G 2i(a,b){5(b==\'F\'){M a.1n(\'1o\').F()}R{M a.1n(\'1o\').H()}}G 1B(a){8 b=a.1n(\'1o\');5(o.E){M 7(a.3(\'T-J\'))+7(a.3(\'T-18\'))+7(b.F())+7(a.3(\'1d-J-F\'))+7(a.3(\'1d-18-F\'))+7(a.3(\'12-18\'))+7(a.3(\'12-J\'))}R{M 7(a.3(\'T-N\'))+7(a.3(\'T-X\'))+7(b.F())+7(a.3(\'1d-N-H\'))+7(a.3(\'1d-X-H\'))+7(a.3(\'12-N\'))+7(a.3(\'12-X\'))}}G 1s(a){$(\'#1s\').1I($(\'#1s\').1I()+a+"<2f/>")}})};G 3(a,b){M 7($.3(a[0],b))||0}G F(a){M a[0].2e+3(a,\'2n\')+3(a,\'2o\')}G H(a){M a[0].2b+3(a,\'2a\')+3(a,\'2s\')}})(1H);',62,153,'|||css||if||parseInt|var||||||||||||||||||||||||||||||||vertical|width|function|height|px|left|true|ul|return|top|null|btnPrev|false|else|btnNext|margin|circular|forward|start|bottom|backward|opacity|cssUnity|cssSize|padding|animCss|tl|0px|index|position|right|sizeCss|bind|children|stop|border|evtStart|eltByElt|speed|step|size|auto|tLi|type|visible|find|img|this|hidden|overflow|debug|easing|prepend|evtStop|indexOf|toString|class|button|input|elHeight|li|clone|relative|4px|mouseWheel|jQuery|html|none|float|animate|mousewheel|absolute|200|eq|100|mouseover|500|el|next|down|prev|up|50|default|scroll|extend|fn|style|list|line|msie|browser|toLowerCase|tagName|marginTop|offsetHeight|get|inline|offsetWidth|br|display|each|imgSize|visibility|afterEnd|linear|beforeStart|marginLeft|marginRight|append|mouseout|jMyCarousel|marginBottom'.split('|'),0,{}))
\ No newline at end of file
(function(e){function y(a,r){return parseInt(e.css(a[0],r))||0}function G(a){return a[0].offsetHeight+y(a,"marginTop")+y(a,"marginBottom")}e.fn.jMyCarousel=function(a){a=e.extend({btnPrev:null,btnNext:null,mouseWheel:!0,auto:!1,speed:500,easing:"linear",vertical:!1,circular:!0,visible:"4",start:0,scroll:1,step:50,eltByElt:!1,evtStart:"mouseover touchstart",evtStop:"mouseout touchend",beforeStart:null,afterEnd:null},a||{});return this.each(function(){function r(w,b){var c=w?w:s;if(!(!0===g&&"backward"===
n)){if(!a.circular&&d+c+(a.vertical?z:m)>t)c=t-(d+(a.vertical?z:m));k.animate("left"==A?{left:-(d+c)}:{top:-(d+c)},a.speed,a.easing,function(){d+=c;if(a.circular&&d+(a.vertical?z:m)+f>=J)k.css(a.vertical?"top":"left",-d+t),d-=t;!b&&g?(r(),console.log("forward")):b&&(0<--B?r(s,!0):(g=!1,n=null))})}}function C(w,b){var c=w?w:s;!0===g&&"forward"===n||(a.circular||0>d-c&&(c=d-0),k.animate("left"==A?{left:-(d-c)}:{top:-(d-c)},a.speed,a.easing,function(){d-=c;a.circular&&d<=f&&(k.css(a.vertical?"top":"left",
-(d+t)),d+=t);!b&&g?C():b&&(0<--B?C(s,!0):(g=!1,n=null))}))}function H(){a.eltByElt||(k.stop(),d=0-parseInt(k.css(A)));g=!1;n=null}function K(b){var c=b.find("img");return a.vertical?parseInt(b.css("margin-left"))+parseInt(b.css("margin-right"))+parseInt(c.width())+parseInt(b.css("border-left-width"))+parseInt(b.css("border-right-width"))+parseInt(b.css("padding-right"))+parseInt(b.css("padding-left")):parseInt(b.css("margin-top"))+parseInt(b.css("margin-bottom"))+parseInt(c.width())+parseInt(b.css("border-top-height"))+
parseInt(b.css("border-bottom-height"))+parseInt(b.css("padding-top"))+parseInt(b.css("padding-bottom"))}var g=!1,A=a.vertical?"top":"left",E=a.vertical?"height":"width",l=e(this),k=e("ul",l),b=e("li",k),u=b.length,h=a.visible,B=0,p=null===a.btnNext&&null===a.btnPrev?!0:!1,F=-1!=h.toString().indexOf("%")?"%":-1!=h.toString().indexOf("px")?"px":"el",n=null;a.speed=Math.max(20,a.speed);a.circular&&(b=b.clone(),k.prepend(b).append(b.clone()));b=e("li",k);l.css("visibility","visible");b.css("overflow",
"hidden").css("float",a.vertical?"none":"left").children().css("overflow","hidden");a.vertical||b.css("display","inline");"a"==b.children().get(0).tagName.toLowerCase()&&!a.vertical&&b.children().css("float","left");a.vertical&&jQuery.browser.msie&&b.css("line-height","4px").children().css("margin-bottom","-4px");k.css("margin","0").css("padding","0").css("position","relative").css("list-style-type","none").css("z-index","1");l.css("overflow","hidden").css("position","relative").css("z-index","2").css("left",
"0px");var f=a.vertical?G(b):b[0].offsetWidth+y(b,"marginLeft")+y(b,"marginRight"),q=a.vertical?K(b):G(b),d=a.start,c=b.length,I=f*c,t=u*f,J=c*f,s="default"==a.step?f:a.step;a.btnPrev=p?e('<input type="button" class="'+(a.vertical?"up":"prev")+'" />'):e(a.btnPrev);a.btnNext=p?e('<input type="button" class="'+(a.vertical?"down":"next")+'" />'):e(a.btnNext);var c=a.btnPrev,v=a.btnNext;p&&!0!==a.auto&&(c.css({opacity:"0.6"}),v.css({opacity:"0.6"}),l.prepend(c),l.prepend(v),a.btnPrev=c,a.btnNext=v);if(a.eltByElt&&
(s=f,0!==a.start%f))var x=parseInt(a.start/f),d=a.start=x*f;a.circular&&(a.start+=f*u,d+=f*u);var m,D;"%"==F?(m=0,x=parseInt(h),D="%"):("px"==F?(m=parseInt(h),x=parseInt(h)):(m=f*parseInt(h),x=f*parseInt(h)),D="px");k.css(E,I+"px").css(A,-a.start);l.css(E,x+D);a.vertical&&"%"==D&&(u=f*u*(parseInt(h)/100),l.css(E,u+"px"));0===m&&(m=l.width());a.vertical?(l.css("width",q+"px"),k.css("width",q+"px"),b.css("margin-bottom",2*parseInt(b.css("margin-bottom"))+"px"),b.eq(b.length-1).css("margin-bottom",b.css("margin-top"))):
(l.css("height",q+"px"),k.css("height",q+"px"));"%"==F&&(h=m/b.width(),0!==h%1&&(h+=1),h=parseInt(h));var z=l.height();p&&(v.css({"z-index":200,position:"absolute"}),c.css({"z-index":200,position:"absolute"}),a.vertical?(c.css({width:c.width(),height:c.height(),top:"0px",left:parseInt(q/2)-parseInt(c.width()/2)+"px"}),v.css({width:c.width(),height:c.height(),top:z-c.height()+"px",left:parseInt(q/2)-parseInt(c.width()/2)+"px"})):(c.css({left:"0px",top:parseInt(q/2)-parseInt(c.height()/2)+"px"}),v.css({right:"0px",
top:parseInt(q/2)-parseInt(c.height()/2)+"px"})));a.btnPrev&&(e(a.btnPrev).on(a.evtStart,function(b){b.preventDefault();p&&a.btnPrev.css("opacity",0.9);g=!0;n="backward";return C()}),e(a.btnPrev).on(a.evtStop,function(b){b.preventDefault();p&&a.btnPrev.css("opacity",0.6);g=!1;n=null;return H()}));a.btnNext&&(e(a.btnNext).on(a.evtStart,function(b){b.preventDefault();p&&a.btnNext.css("opacity",0.9);g=!0;n="forward";return r()}),e(a.btnNext).on(a.evtStop,function(b){b.preventDefault();p&&a.btnNext.css("opacity",
0.6);g=!1;n=null;return H()}));!0===a.auto&&(g=!0,r());a.mouseWheel&&l.mousewheel&&l.mousewheel(function(b,c){if(!a.circular&&(0<c?d+m<I:0<d)||a.circular)B+=1,!1===g&&(0<c?r(s,!0):C(s,!0),g=!0)})})}})(jQuery);
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}('(G($){$.22.2r=G(o){o=$.21({P:O,S:O,1G:K,1j:Q,1g:1S,1t:\'2l\',E:Q,U:K,1m:\'4\',W:0,20:1,1h:1Y,1f:Q,1e:\'1R\',1v:\'2q\',2m:O,2k:O},o||{});M 1p.2h(G(){8 c=Q,13=o.E?"N":"J",19=o.E?"H":"F";8 f=$(1p),L=$("L",f),1k=$("1C",L),14=1k.1i(),v=o.1m;8 g=0;8 h=(o.S===O&&o.P===O)?K:Q;8 i=(v.1x().1w("%")!=-1?\'%\':(v.1x().1w("I")!=-1)?\'I\':\'1T\');8 j=O;5(o.U){8 k=1k.1D();L.1u(k).2p(k.1D())}8 l=$("1C",L);f.3("2j","1m");l.3("1r","1q").3("1K",o.E?"1J":"J").1b().3("1r","1q");5(!o.E){l.3("2g","2d")}5(l.1b().2c(0).29.28()==\'a\'&&!o.E){l.1b().3(\'1K\',\'J\')}5(o.E&&1H.27.26){l.3(\'25-H\',\'1F\').1b().3(\'T-X\',\'-1F\')}L.3("T","0").3("12","0").3("17","1E").3("24-23-1l","1J").3("z-16","1");f.3("1r","1q").3("17","1E").3("z-16","2").3("J","15");8 m=o.E?H(l):F(l);8 n=o.E?1B(l):H(l);8 p=o.W;8 q=l.1i();8 r=m*q;8 t=14;8 u=t*m;8 w=q*m;8 x=o.1h==\'1Z\'?m:o.1h;o.P=h?$(\'<1A 1l="1z" 1y="\'+(o.E?\'1X\':\'1W\')+\'" />\'):$(o.P);o.S=h?$(\'<1A 1l="1z" 1y="\'+(o.E?\'1V\':\'1U\')+\'" />\'):$(o.S);8 y=o.P;8 z=o.S;5(h&&o.1j!==K){y.3({\'Z\':\'0.6\'});z.3({\'Z\':\'0.6\'});f.1u(y);f.1u(z);o.P=y;o.S=z}5(o.1f){x=m;5(o.W%m!==0){8 A=7(o.W/m);p=o.W=(A*m)}}5(o.U){o.W+=(m*14);p+=(m*14)}8 B,11,10;5(i==\'%\'){B=0;11=7(v);10="%"}R 5(i==\'I\'){B=7(v);11=7(v);10="I"}R{B=m*7(v);11=m*7(v);10="I"}L.3(19,r+"I").3(13,-(o.W));f.3(19,11+10);5(o.E&&10==\'%\'){8 C=((m*t)*(7(v)/1Q));f.3(19,C+\'I\')}5(B===0){B=f.F()}5(o.E){f.3("F",n+\'I\');L.3("F",n+\'I\');l.3(\'T-X\',(7(l.3(\'T-X\'))*2)+\'I\');l.1P(l.1i()-1).3(\'T-X\',l.3(\'T-N\'))}R{f.3(\'H\',n+\'I\');L.3(\'H\',n+\'I\')}5(i==\'%\'){v=B/l.F();5(v%1!==0){v+=1}v=7(v)}8 D=f.H();5(h){z.3({\'z-16\':1O,\'17\':\'1N\'});y.3({\'z-16\':1O,\'17\':\'1N\'});5(o.E){y.3({\'F\':y.F(),\'H\':y.H(),\'N\':\'15\',\'J\':7(n/2)-7(y.F()/2)+\'I\'});z.3({\'F\':y.F(),\'H\':y.H(),\'N\':(D-y.H())+\'I\',\'J\':7(n/2)-7(y.F()/2)+\'I\'})}R{y.3({\'J\':\'15\',\'N\':7(n/2)-7(y.H()/2)+\'I\'});z.3({\'18\':\'15\',\'N\':7(n/2)-7(y.H()/2)+\'I\'})}}5(o.P){$(o.P).1a(o.1e,G(){5(h){o.P.3(\'Z\',0.9)}c=K;j=\'Y\';M Y()});$(o.P).1a(o.1v,G(){5(h){o.P.3(\'Z\',0.6)}c=Q;j=O;M 1c()})}5(o.S){$(o.S).1a(o.1e,G(){5(h){o.S.3(\'Z\',0.9)}c=K;j=\'V\';M V()});$(o.S).1a(o.1v,G(){5(h){o.S.3(\'Z\',0.6)}c=Q;j=O;M 1c()})}5(o.1j===K){c=K;V()}5(o.1G&&f.1M){f.1M(G(e,d){5(!o.U&&(d>0?(p+B<r):(p>0))||o.U){g+=1;5(c===Q){5(d>0){V(x,K)}R{Y(x,K)}c=K}}})}G V(a,b){8 s=(a?a:x);5(c===K&&j==="Y"){M}5(!o.U){5(p+s+(o.E?D:B)>u){s=u-(p+(o.E?D:B))}}L.1L(13=="J"?{J:-(p+s)}:{N:-(p+s)},o.1g,o.1t,G(){p+=s;5(o.U){5(p+(o.E?D:B)+m>=w){L.3(o.E?\'N\':\'J\',-p+u);p-=u}}5(!b&&c){V()}R 5(b){5(--g>0){1p.V(x,K)}R{c=Q;j=O}}})}G Y(a,b){8 s=(a?a:x);5(c===K&&j==="V"){M}5(!o.U){5(p-s<0){s=p-0}}L.1L(13=="J"?{J:-(p-s)}:{N:-(p-s)},o.1g,o.1t,G(){p-=s;5(o.U){5(p<=m){L.3(o.E?\'N\':\'J\',-(p+u));p+=u}}5(!b&&c){Y()}R 5(b){5(--g>0){Y(x,K)}R{c=Q;j=O}}})}G 1c(){5(!o.1f){L.1c();p=0-7(L.3(13))}c=Q;j=O}G 2i(a,b){5(b==\'F\'){M a.1n(\'1o\').F()}R{M a.1n(\'1o\').H()}}G 1B(a){8 b=a.1n(\'1o\');5(o.E){M 7(a.3(\'T-J\'))+7(a.3(\'T-18\'))+7(b.F())+7(a.3(\'1d-J-F\'))+7(a.3(\'1d-18-F\'))+7(a.3(\'12-18\'))+7(a.3(\'12-J\'))}R{M 7(a.3(\'T-N\'))+7(a.3(\'T-X\'))+7(b.F())+7(a.3(\'1d-N-H\'))+7(a.3(\'1d-X-H\'))+7(a.3(\'12-N\'))+7(a.3(\'12-X\'))}}G 1s(a){$(\'#1s\').1I($(\'#1s\').1I()+a+"<2f/>")}})};G 3(a,b){M 7($.3(a[0],b))||0}G F(a){M a[0].2e+3(a,\'2n\')+3(a,\'2o\')}G H(a){M a[0].2b+3(a,\'2a\')+3(a,\'2s\')}})(1H);',62,153,'|||css||if||parseInt|var||||||||||||||||||||||||||||||||vertical|width|function|height|px|left|true|ul|return|top|null|btnPrev|false|else|btnNext|margin|circular|forward|start|bottom|backward|opacity|cssUnity|cssSize|padding|animCss|tl|0px|index|position|right|sizeCss|bind|children|stop|border|evtStart|eltByElt|speed|step|size|auto|tLi|type|visible|find|img|this|hidden|overflow|debug|easing|prepend|evtStop|indexOf|toString|class|button|input|elHeight|li|clone|relative|4px|mouseWheel|jQuery|html|none|float|animate|mousewheel|absolute|200|eq|100|mouseover|500|el|next|down|prev|up|50|default|scroll|extend|fn|style|list|line|msie|browser|toLowerCase|tagName|marginTop|offsetHeight|get|inline|offsetWidth|br|display|each|imgSize|visibility|afterEnd|linear|beforeStart|marginLeft|marginRight|append|mouseout|jMyCarousel|marginBottom'.split('|'),0,{}))
\ No newline at end of file
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment