Hallo, Gast! (Registrieren)

Letzte Ankündigung: MyBB 1.8.20 veröffentlicht (27.02.19)


Benutzer, die gerade dieses Thema anschauen: 1 Gast/Gäste
jquery-Fehler nach Update
#1
Hallo werte Community,

ich habe einen Image-Slider laufen, welcher seit dem Update auf MyBB 1.8.20 nach ein paar Sekunden mit einem
jquery-Fehler zusammenbricht.
Code:
TypeError: a is undefined          jquery.js:4:18686
Ich vermute daher, dass der Slider nicht kompatibel mit jquery 3.0 ist.
Wenn ich im Template headerinclude zusätzlich eine ältere jquery-Version einbinde - was man ja eigentlich nicht tun sollte - funktioniert der Slider wieder. Allerdings treten dann erste Fehler im Forum auf.
Z.B. habe ich dann keine modale Loginbox mehr.
Ein paar Versuche mit "noConflict" haben leider nicht gefruchtet, oder ich habe dabei einen Fehler gemacht.

Hat dazu noch jemand eine Idee?

Vielen Dank im voraus!
Zitieren
#2
Den Slider zu aktualisieren oder durch ein aktuelles Script zu ersetzen ist keine Option?
[Bild: banner.png]

Bitte die Foren-Regeln beachten und im Profil die verwendete MyBB-Version angeben.
Zitieren
#3
Hallo Stefan!

Natürlich gern.....
Wie ich gesehen habe, ist der Slider vom Entwickler wohl schon seit 2014 nicht mehr aktualisiert worden.
Wenn ich selbst dazu in der Lage wäre, würde ich es natürlich tun und könnte Euch nervige Fragen ersparen. Wink
Zitieren
#4
Da musst du schon etwas konkreter werden. Um welchen Slider handelt es sich? Wink
[Bild: banner.png]

Bitte die Foren-Regeln beachten und im Profil die verwendete MyBB-Version angeben.
Zitieren
#5
Hier die Scripte

script.js:
Code:
// -----------------------------------------------------------------------------------
// http://wowslider.com/
// JavaScript Wow Slider is a free software that helps you easily generate delicious
// slideshows with gorgeous transition effects, in a few clicks without writing a single line of code.
// Generated by WOW Slider 8.8
//
//***********************************************
// Obfuscated by Javascript Obfuscator
// http://javascript-source.com
//***********************************************
jQuery.extend(jQuery.easing,{easeInOutQuart:function(e,f,a,h,g){if((f/=g/2)<1){return h/2*f*f*f*f+a}return -h/2*((f-=2)*f*f*f-2)+a}});function ws_turn(d,a,b){var f=jQuery;var h=f(this);var c=f("li",b);var e=f(".ws_list",b);var g=f("<div>").addClass("ws_effect ws_turn").css({position:"absolute",top:0,left:0,width:"100%",height:"100%",overflow:"hidden",perspective:500}).appendTo(b);this.go=function(q,l){var s=b.height();var j=b.width();var k={left:["0% 50%",{rotateY:90,translate:[0,0,0.1]},{left:-j}],right:["100% 50%",{rotateY:-90,translate:[0,0,0.1]},{left:j}],up:["50% 0%",{rotateX:-90,translate:[0,0,0.1]},{top:-s}],down:["50% 100%",{rotateX:90,translate:[0,0,0.1]},{top:s}]}[d.direction||["left","right","down","up"][Math.floor(Math.random()*4)]];var i=f("<div>").css({position:"absolute",left:0,top:0,width:"100%",height:"100%",overflow:"hidden",transformOrigin:k[0],transformStyle:"preserve-3d",outline:"1px solid transparent",zIndex:5}).append(f(a.get(q)).clone()),r=f("<div>").css({position:"absolute",left:0,top:0,width:"100%",height:"100%",overflow:"hidden",background:"#000",zIndex:4}).append(f(a.get(l)).clone());g.css({perspectiveOrigin:k[0]});if(d.responsive<3){i.find("img").css("width","100%");r.find("img").css("width","100%")}r.appendTo(g);i.appendTo(g);e.stop(true,true).hide().css({left:-q+"00%"});var p=k[2];var o={top:0,left:0};var n={opacity:1};var m={opacity:0.2};if(d.support.transform){p=k[1];o={rotateX:0,rotateY:0,translate:[0,0,0]}}wowAnimate(i,p,o,d.duration,"easeInOutQuart",function(){h.trigger("effectEnd");i.remove();r.remove()});wowAnimate(r.find("img"),n,m,d.duration,"easeInOutQuart")}};// -----------------------------------------------------------------------------------
// http://wowslider.com/
// JavaScript Wow Slider is a free software that helps you easily generate delicious
// slideshows with gorgeous transition effects, in a few clicks without writing a single line of code.
// Generated by WOW Slider 8.8
//
//***********************************************
// Obfuscated by Javascript Obfuscator
// http://javascript-source.com
//***********************************************
jQuery.extend(jQuery.easing,{easeInOutBack:function(e,f,a,i,h,g){if(g==undefined){g=1.70158}if((f/=h/2)<1){return i/2*(f*f*(((g*=(1.525))+1)*f-g))+a}return i/2*((f-=2)*f*(((g*=(1.525))+1)*f+g)+2)+a}});function ws_cube_over(m,k,b){var e=jQuery,j=e(this),a=/WOW Slider/g.test(navigator.userAgent),g=e(".ws_list",b),c=m.perspective||/MSIE|Trident/g.test(navigator.userAgent)?1000:2000,d={position:"absolute",backgroundSize:"cover",left:0,top:0,width:"100%",height:"100%",backfaceVisibility:"hidden"};var l=/AppleWebKit/.test(navigator.userAgent)&&!/Chrome/.test(navigator.userAgent);var i=e("<div>").css(d).css({transformStyle:"preserve-3d",perspective:(l&&!a?"none":c),zIndex:8});e("<div>").addClass("ws_effect ws_cube_over").css(d).append(i).appendTo(b);if(!m.support.transform&&m.fallback){return new m.fallback(m,k,b)}var h;this.go=function(y,u){var q=e(k[u]);q={width:q.width(),height:q.height(),marginTop:parseFloat(q.css("marginTop")),marginLeft:parseFloat(q.css("marginLeft"))};function p(C,G,F,H){C.parent().css("perspective",c);var D=C.width(),E=C.height();wowAnimate(C,{scale:1,translate:[0,0,(l&&!a)?F:0]},{scale:0.85,translate:[0,0,(l&&!a)?F:0]},m.duration*0.4,"easeInOutBack",function(){wowAnimate(C,{scale:0.85,translate:[0,0,(l&&!a)?F:0]},{scale:1,translate:[0,0,(l&&!a)?F:0]},m.duration*0.4,m.duration-m.duration*0.8,"easeInOutBack",H)});wowAnimate(G.front.item,{rotateY:0,rotateX:0},{rotateY:G.front.rotateY,rotateX:G.front.rotateX},m.duration,"easeInOutBack");wowAnimate(G.back.item,{rotateY:G.back.rotateY,rotateX:G.back.rotateX},{rotateY:0,rotateX:0},m.duration,"easeInOutBack");wowAnimate(G.side.item,{rotateY:G.side.rotateY,rotateX:G.side.rotateX},{rotateY:-G.side.rotateY,rotateX:-G.side.rotateX},m.duration,"easeInOutBack")}if(m.support.transform&&m.support.perspective){if(h){h.stop()}var A=b.width(),v=b.height();var t={left:[A/2,0,0,180,0,-180],right:[A/2,0,0,-180,0,180],down:[v/2,-v/2,180,0,-180,0],up:[v/2,v/2,-180,0,180,0]}[m.direction||["left","right","down","up"][Math.floor(Math.random()*4)]];var B=e("<img>").css(q),s=e("<img>").css(q).attr("src",k.get(y).src);var n=e("<div>").css({overflow:"hidden",transformOrigin:"50% 50% -"+t[0]+"px"}).css(d).append(B).appendTo(i);var o=e("<div>").css({overflow:"hidden",transformOrigin:"50% 50% -"+t[0]+"px"}).css(d).append(s).appendTo(i);var z=e('<div class="ws_cube_side">').css({transformOrigin:"50% 50% -"+t[0]+"px",background:m.staticColor?"":f(s[0],{exclude:["0,0,0","255,255,255"]})}).css(d).appendTo(i);B.on("load",function(){g.hide()});B.attr("src",k.get(u).src).load();i.parent().show();h=new p(i,{front:{item:n,rotateY:t[5],rotateX:t[4]},back:{item:o,rotateY:t[3],rotateX:t[2]},side:{item:z,rotateY:t[3]/2,rotateX:t[2]/2}},-t[0],function(){j.trigger("effectEnd");i.empty().parent().hide();h=0})}else{i.css({position:"absolute",display:"none",zIndex:2,width:"100%",height:"100%"});i.stop(1,1);var r=(!!((y-u+1)%k.length)^m.revers?"left":"right");var n=e("<div>").css({position:"absolute",left:"0%",right:"auto",top:0,width:"100%",height:"100%"}).css(r,0).append(e(k[u]).clone().css({width:100*q.width/b.width()+"%",height:100*q.height/b.height()+"%",marginLeft:100*q.marginLeft/b.width()+"%"})).appendTo(i);var x=e("<div>").css({position:"absolute",left:"100%",right:"auto",top:0,width:"0%",height:"100%"}).append(e(k[y]).clone().css({width:100*q.width/b.width()+"%",height:100*q.height/b.height()+"%",marginLeft:100*q.marginLeft/b.width()+"%"})).appendTo(i);i.css({left:"auto",right:"auto",top:0}).css(r,0).show();i.show();g.hide();x.animate({width:"100%",left:0},m.duration,"easeInOutExpo",function(){e(this).remove()});n.animate({width:0},m.duration,"easeInOutExpo",function(){j.trigger("effectEnd");i.empty().hide()})}};function f(x,o){o=o||{};var z=1,r=o.exclude||[],w;var t=document.createElement("canvas"),q=t.getContext("2d"),p=t.width=x.naturalWidth,D=t.height=x.naturalHeight;q.drawImage(x,0,0,x.naturalWidth,x.naturalHeight);try{w=q.getImageData(o.x?o.x:0,o.y?o.y:0,o.w?o.w:x.width,o.h?o.h:x.height)["data"]}catch(y){console.log("error:unable to access image data: "+y);return"#ccc"}var s=(o.w?o.w:x.width*o.h?o.h:x.height)||w.length,u={},B="",A=[],n={dominant:{name:"",count:0}};var v=0;while(v<s){A[0]=w[v];A[1]=w[v+1];A[2]=w[v+2];B=A.join(",");if(B in u){u[B]=u[B]+1}else{u[B]=1}if(r.indexOf(["rgb(",B,")"].join(""))===-1){var C=u[B];if(C>n.dominant.count){n.dominant.name=B;n.dominant.count=C}}v+=z*4}return["rgb(",n.dominant.name,")"].join("")}};// -----------------------------------------------------------------------------------
// http://wowslider.com/
// JavaScript Wow Slider is a free software that helps you easily generate delicious
// slideshows with gorgeous transition effects, in a few clicks without writing a single line of code.
// Generated by WOW Slider 8.8
//
//***********************************************
// Obfuscated by Javascript Obfuscator
// http://javascript-source.com
//***********************************************
jQuery.extend(jQuery.easing,{easeInBack:function(e,f,a,i,h,g){if(g==undefined){g=1.70158}return i*(f/=h)*f*((g+1)*f-g)+a},easeOutBack:function(e,f,a,i,h,g){if(g==undefined){g=1.70158}return i*((f=f/h-1)*f*((g+1)*f+g)+1)+a},easeInBackQ:function(e,f,a,j,i,g){var h=(f/=i)*f;return a+j*h*(4*f*h-8*h+8*f-3)},easeOutBackQ:function(e,f,a,j,i,g){var h=(f/=i)*f;return a+j*(4*h*f*h-12*h*h+16*h*f-13*h+6*f)},easeInBackQ2:function(e,f,a,j,i,g){var h=(f/=i)*f;return a+j*h*(1.5*f*h-2.5*h+5*f-3)},easeOutBackQ2:function(e,f,a,j,i,g){var h=(f/=i)*f;return a+j*(1.5*h*f*h-5*h*h+10*h*f-12*h+6.5*f)}});function ws_brick(f,s,g){var h=jQuery,n=h(this),a=f.cols||4,r=f.rows||3,H=2.5,c=2,v=f.perspective||2000,u=g.find(".ws_list"),G=[],b=30,x={},o=h("<div>").addClass("ws_effect ws_brick").appendTo(g),q=f.support.transform&&f.support.transition&&f.support.perspective,p=/Safari/.test(navigator.userAgent)&&!/Chrome/.test(navigator.userAgent),m=/Firefox/.test(navigator.userAgent);var y=[{zIndex:0,rotateX:360,rotateZ:-360,rotateY:180,halfScale:0.5,halfLeft:0.7,halfTop:0.7,delay:0.36},{zIndex:1,rotateX:-360,rotateZ:360,rotateY:180,halfScale:0.5,halfLeft:0.2,halfTop:0.4,delay:0.81},{zIndex:1,rotateX:360,rotateZ:-360,rotateY:-180,halfScale:0.5,halfLeft:-0.2,halfTop:0.4,delay:0.45},{zIndex:0,rotateX:-360,rotateZ:360,rotateY:-180,halfScale:0.5,halfLeft:-0.7,halfTop:0.7,delay:0.63},{zIndex:1,rotateX:-360,rotateZ:360,rotateY:-180,halfScale:0.5,halfLeft:0.7,halfTop:0,delay:0.54},{zIndex:2,rotateX:360,rotateZ:-360,rotateY:180,halfScale:0.5,halfLeft:0.2,halfTop:0,delay:0.38},{zIndex:2,rotateX:360,rotateZ:-360,rotateY:-180,halfScale:0.5,halfLeft:-0.2,halfTop:0,delay:0},{zIndex:1,rotateX:-360,rotateZ:360,rotateY:180,halfScale:0.5,halfLeft:-0.7,halfTop:0,delay:0.72},{zIndex:0,rotateX:-360,rotateZ:360,rotateY:180,halfScale:0.5,halfLeft:0.7,halfTop:-0.7,delay:1},{zIndex:1,rotateX:-360,rotateZ:360,rotateY:-180,halfScale:0.5,halfLeft:0.2,halfTop:-0.4,delay:0.7},{zIndex:1,rotateX:360,rotateZ:-360,rotateY:180,halfScale:0.5,halfLeft:-0.2,halfTop:-0.4,delay:0.57},{zIndex:0,rotateX:360,rotateZ:-360,rotateY:-180,halfScale:0.5,halfLeft:-0.7,halfTop:-0.7,delay:0.9},];o.css({position:"absolute",top:0,left:0,width:g.width(),height:g.height(),transform:"translate3d(0,0,0)",transformOrigin:(f.width/2)+"px "+(f.height/2)+"px 0",perspective:v}).hide();for(var l=0;l<a*r;l++){var B=l%a,A=Math.floor(l/a);var E=h("<div>").css({position:"absolute",left:100*B/a+"%",top:100*A/r+"%",outline:"1px solid transparent",transformStyle:(p||m)?"flat":"preserve-3d",zIndex:y[l].zIndex,overflow:q?"visible":"hidden"}).appendTo(o),z=h("<div>").css({transform:"scale(1) rotateX(0) rotateY(0) translate3d(0,0,0)",outline:"1px solid transparent",transformStyle:"preserve-3d"}).appendTo(E),w=h("<div>").addClass("ws_front_image").appendTo(z),D=q?h("<div>").addClass("ws_back_image").appendTo(z):0;w.css({position:"absolute",width:"100%",height:"100%",overflow:"hidden",backfaceVisibility:"hidden",transform:"translate3d(0,0,0)"}).append(h("<img>").css({left:-B*100+"%",top:-A*100+"%",position:"absolute",outline:"1px solid transparent"}));if(q){D.css({position:"absolute",width:"100%",height:"100%",overflow:"hidden",backfaceVisibility:"hidden",transform:"rotateY(180deg) translate3d(0,0,"+b+"px)"}).append(h("<img>").css({left:-B*100+"%",top:-A*100+"%",position:"absolute",outline:"1px solid transparent"}))}var t={position:"absolute",outline:"1px solid transparent"};G[l]={part:z,front:w,back:D,wrapper:E,leftEdge:q?h("<div>").addClass("ws_left_edge").css(t).appendTo(z):0,rightEdge:q?h("<div>").addClass("ws_right_edge").css(t).appendTo(z):0,topEdge:q?h("<div>").addClass("ws_top_edge").css(t).appendTo(z):0,bottomEdge:q?h("<div>").addClass("ws_bottom_edge").css(t).appendTo(z):0}}function C(N){var J={},L=s.get(N),O=f.width/a,P=f.height/r;for(var K=0;K<a*r;K++){var N=K%a,M=Math.floor(K/a);J[K]=F(L,{x:N*O,y:M*P,w:O,h:P})}return J}function I(J,M,j,K,L){for(var i in M){if(typeof G[i]!=="function"){M[i].topEdge.css({width:K,height:J,background:j[i],transform:"rotateX(90deg) translate3d(0,-"+J/2+"px,"+J/2+"px)"});M[i].bottomEdge.css({width:K,height:J,background:j[i],transform:"rotateX(90deg) translate3d(0,-"+J/2+"px,"+(-L+J/2)+"px)"});M[i].leftEdge.css({width:J,height:L,background:j[i],transform:"rotateY(90deg) translate3d("+J/2+"px,0,-"+J/2+"px)"});M[i].rightEdge.css({width:J,height:L,background:j[i],transform:"rotateY(90deg) translate3d("+J/2+"px,0,"+(K-J/2)+"px)"})}}}function e(J,K){var i=0;for(var j in J){if(typeof J[j]!=="function"){(function(L,M){wowAnimate(function(O){var U,S,T,R="",N={};if(O<=0.5){U=h.easing.easeInBack(1,O*2,0,1,1,1).toFixed(3);S=h.easing.easeInBackQ(1,O*2,0,1,1,1).toFixed(3);T=h.easing.easeInBackQ2(1,O*2,0,1,1,1).toFixed(3);M[L].back.css("backfaceVisibility","hidden")}else{U=h.easing.easeOutBack(1,(O-0.5)*2,0,1,1,1).toFixed(3);S=h.easing.easeOutBackQ(1,(O-0.5)*2,0,1,1,1).toFixed(3);T=h.easing.easeOutBackQ2(1,(O-0.5)*2,0,1,1,1).toFixed(3);M[L].back.css("backfaceVisibility","visible")}for(var P in M[L].animate[O<=0.5?"half":"end"]){var V=M[L].animate[O<=0.5?"begin":"half"][P]||0,Q=M[L].animate[O<=0.5?"half":"end"][P]||0;if(typeof Q!=="object"){if(P==="scale"||P==="rotateX"||P==="rotateY"){Q=V+(Q-V)*S}else{if(P==="left"||P==="top"){Q=V+(Q-V)*T}else{Q=V+(Q-V)*U}}}if(P==="rotateX"||P==="rotateY"||P==="rotateZ"){R+=P+"("+Q+"deg) "}else{if(P==="scale"){R+=P+"("+Q+") "}else{if(P==="translate3d"){R+=P+"("+(V[0]+(Q[0]-V[0])*U).toFixed(3)+"px,"+(V[1]+(Q[1]-V[1])*U).toFixed(3)+"px,"+(V[2]+(Q[2]-V[2])*U).toFixed(3)+"px) "}else{N[P]=Q}}}}M[L].wrapper.css({transform:"translate3d("+(N.left?N.left:0).toFixed(3)+"px,"+(N.top?N.top:0).toFixed(3)+"px,0)"});delete N.left;delete N.top;if(R){N.transform=R}M[L].part.css(N)},0,1,M[L].animate.duration,M[L].animate.delay,function(){i++;if(i==M.length&&K){K()}})}(j,J))}}}function k(aa,M,N,P){var X=g.width(),W=g.height(),V=X/a,U=W/r,L=(f.duration*0.4)>1000?1000:(f.duration*0.4),K=f.duration*0.6,Q=[0,0];I(b,aa,x[M],V,U);o.css({transformOrigin:(X/2)+"px "+(W/2)+"px 0",width:X,height:W});for(var S in aa){if(typeof aa[S]!=="function"){var J=y[S].delay*L;if(Q[1]<=J){Q[0]=S;Q[1]=J}aa[S].part[0].ws_delay=[J,0]}}aa[Q[0]].part[0].ws_delay[1]=1;for(var S in aa){if(typeof aa[S]!=="function"){var R=aa[S],Z=S%a,Y=Math.floor(S/a),T=X*Z/a,O=W*Y/r;R.animate={delay:R.part[0].ws_delay[0],duration:K,begin:{left:0,top:0,width:V,height:U,scale:1,rotateX:0,rotateY:0,translate3d:[0,0,p?b:0]},half:{left:y[S].halfLeft*V,top:y[S].halfTop*U,scale:y[S].halfScale,rotateX:y[S].rotateX/2,rotateY:y[S].rotateY/2,translate3d:[0,0,(p?1:0.5)*b]},end:{left:0,top:0,scale:1,rotateX:y[S].rotateX,rotateY:y[S].rotateY,translate3d:[0,0,b]}};R.front.find("img").css(N);R.back.css("backfaceVisibility","hidden").find("img").css(N);R.part.css({width:R.animate.begin.width,height:R.animate.begin.height,left:R.animate.begin.left,top:R.animate.begin.top})}}e(aa,P)}var d;this.go=function(X,M){if(d){return M}o.show();var K=h(s.get(M));K={width:K.width(),height:K.height(),marginTop:parseFloat(K.css("marginTop")),marginLeft:parseFloat(K.css("marginLeft"))};if(q){G[0].front.find("img").on("load",function(){u.hide()});for(var N in G){if(typeof G[N]!=="function"){G[N].front.find("img").attr("src",s.get(M).src);G[N].back.find("img").attr("src",s.get(X).src)}}if(!x[M]){x[M]=C(M)}d=new k(G,M,K,function(){u.show();n.trigger("effectEnd");o.hide();for(var i in G){if(typeof G[i]!=="function"){G[i].part.css({transition:"",transform:"rotateX(0) rotateY(0) translate3d(0,0,0)"})}}d=0})}else{d=true;function Y(j,i){return Math.random()*(i-j+1)+j}var T=g.width(),W=g.height(),S=T/a,V=W/r,L=T-S*(a-1),U=W-V*(r-1);o.css({width:T,height:W});var J=0;for(var N in G){var R=N%a,P=Math.floor(N/a);G[N].front.find("img").attr("src",s.get(X).src).css(K);var Z=f.duration*(1-Math.abs((c*H-R*P)/(2*r*a)));var Q=Y(-1,1)>0?1:-1;var O=Y(-1,1)>0?1:-1;G[N].wrapper.css({width:S,height:V});G[N].part.css({position:"absolute",top:Q*V,left:O*S,opacity:0,width:S,height:V}).animate({top:0,left:0,opacity:1},Z,function(){J++;if(J==r*a){u.stop(1,1);d=false;n.trigger("effectEnd")}})}}};function F(S,J){J=J||{};var U=1,M=J.exclude||[],R;var O=document.createElement("canvas"),L=O.getContext("2d"),K=O.width=S.naturalWidth,Y=O.height=S.naturalHeight;L.drawImage(S,0,0,S.naturalWidth,S.naturalHeight);try{R=L.getImageData(J.x?J.x:0,J.y?J.y:0,J.w?J.w:S.width,J.h?J.h:S.height)["data"]}catch(T){console.log("error:unable to access image data: "+T);return"#ccc"}var N=(J.w?J.w:S.width*J.h?J.h:S.height)||R.length,P={},W="",V=[],j={dominant:{name:"",count:0}};var Q=0;while(Q<N){V[0]=R[Q];V[1]=R[Q+1];V[2]=R[Q+2];W=V.join(",");if(W in P){P[W]=P[W]+1}else{P[W]=1}if(M.indexOf(["rgb(",W,")"].join(""))===-1){var X=P[W];if(X>j.dominant.count){j.dominant.name=W;j.dominant.count=X}}Q+=U*4}return["rgb(",j.dominant.name,")"].join("")}};// -----------------------------------------------------------------------------------
// http://wowslider.com/
// JavaScript Wow Slider is a free software that helps you easily generate delicious
// slideshows with gorgeous transition effects, in a few clicks without writing a single line of code.
// Generated by WOW Slider 8.8
//
//***********************************************
// Obfuscated by Javascript Obfuscator
// http://javascript-source.com
//***********************************************
jQuery("#wowslider-container1").wowSlider({effect:"turn,cube_over,brick",prev:"",next:"",duration:20*100,delay:20*100,width:600,height:560,autoPlay:true,autoPlayVideo:false,playPause:false,stopOnHover:false,loop:false,bullets:0,caption:false,captionEffect:"parallax",controls:false,controlsThumb:false,responsive:1,fullScreen:false,gestures:1,onBeforeStep:0,images:0});

wowslider.js:
Code:
// -----------------------------------------------------------------------------------
// http://wowslider.com/
// JavaScript Wow Slider is a free software that helps you easily generate delicious
// slideshows with gorgeous transition effects, in a few clicks without writing a single line of code.
// Generated by WOW Slider 8.8
//
//***********************************************
// Obfuscated by Javascript Obfuscator
// http://javascript-source.com
//***********************************************
jQuery.fn.wowSlider=function(am){var aI=jQuery;var H=this;var y=H.get(0);window.ws_basic=function(k,c,f){var a0=aI(this);this.go=function(a1){f.find(".ws_list").css("transform","translate3d(0,0,0)").stop(true).animate({left:(a1?-a1+"00%":(/Safari/.test(navigator.userAgent)?"0%":0))},k.duration,"easeInOutExpo",function(){a0.trigger("effectEnd")})}};am=aI.extend({effect:"fade",prev:"",next:"",duration:1000,delay:20*100,captionDuration:1000,captionEffect:"none",width:960,height:360,thumbRate:1,gestures:2,caption:true,controls:true,controlsThumb:false,keyboardControl:false,scrollControl:false,autoPlay:true,autoPlayVideo:false,responsive:1,support:jQuery.fn.wowSlider.support,stopOnHover:0,preventCopy:1},am);var C=navigator.userAgent;var au=aI(".ws_images",H).css("overflow","visible");var ar=aI("<div>").appendTo(au).css({position:"absolute",top:0,left:0,right:0,bottom:0,overflow:"hidden"});var S=au.find("ul").css("width","100%").wrap("<div class='ws_list'></div>").parent().appendTo(ar);function h(c){return S.css({left:-c+"00%"})}aI("<div>").css({position:"relative",width:"100%","font-size":0,"line-height":0,"max-height":"100%",overflow:"hidden"}).append(au.find("li:first img:first").clone().css({width:"100%",visibility:"hidden"})).prependTo(au);S.css({position:"absolute",top:0,height:"100%",transform:/Firefox/.test(C)?"":"translate3d(0,0,0)"});var b=am.images&&(new wowsliderPreloader(this,am));var aQ=au.find("li");var z=aQ.length;function aO(c){return((c||0)+z)%z}var d=S.width()/S.find("li").width(),L={position:"absolute",top:0,height:"100%",overflow:"hidden"},aH=aI("<div>").addClass("ws_swipe_left").css(L).prependTo(S),aR=aI("<div>").addClass("ws_swipe_right").css(L).appendTo(S);if(/MSIE/.test(C)||/Trident/.test(C)||/Safari/.test(C)||/Firefox/.test(C)){var t=Math.pow(10,Math.ceil(Math.LOG10E*Math.log(z)));S.css({width:t+"00%"});aQ.css({width:100/t+"%"});aH.css({width:100/t+"%",left:-100/t+"%"});aR.css({width:100/t+"%",left:z*100/t+"%"})}else{S.css({width:z+"00%",display:"table"});aQ.css({display:"table-cell","float":"none",width:"auto"});aH.css({width:100/z+"%",left:-100/z+"%"});aR.css({width:100/z+"%",left:"100%"})}var G=am.onBeforeStep||function(c){return c+1};am.startSlide=aO(isNaN(am.startSlide)?G(-1,z):am.startSlide);if(b){b.load(am.startSlide,function(){})}h(am.startSlide);var Z,ah;if(am.preventCopy){Z=aI('<div class="ws_cover"><a href="#" style="display:none;position:absolute;left:0;top:0;width:100%;height:100%"></a></div>').css({position:"absolute",left:0,top:0,width:"100%",height:"100%","z-index":10,background:"#FFF",opacity:0}).appendTo(au);ah=Z.find("A").get(0)}var r=[];var A=aI(".ws_frame",H);aQ.each(function(c){var a0=aI(">img:first,>iframe:first,>iframe:first+img,>a:first,>div:first",this);var a1=aI("<div></div>");for(var k=0;k<this.childNodes.length;){if(this.childNodes[k]!=a0.get(0)&&this.childNodes[k]!=a0.get(1)){a1.append(this.childNodes[k])}else{k++}}if(!aI(this).data("descr")){if(a1.text().replace(/\s+/g,"")){aI(this).data("descr",a1.html().replace(/^\s+|\s+$/g,""))}else{aI(this).data("descr","")}}aI(this).data("type",a0[0].tagName);var f=aI(">iframe",this).css("opacity",0);r[r.length]=aI(">a>img",this).get(0)||aI(">iframe+img",this).get(0)||aI(">*",this).get(0)});r=aI(r);r.css("visibility","visible");aH.append(aI(r[z-1]).clone());aR.append(aI(r[0]).clone());var aW=[];am.effect=am.effect.replace(/\s+/g,"").split(",");function aJ(c){if(!window["ws_"+c]){return}var f=new window["ws_"+c](am,r,au);f.name="ws_"+c;aW.push(f)}for(var Q in am.effect){aJ(am.effect[Q])}if(!aW.length){aJ("basic")}var x=am.startSlide;var ax=x;var at=false;var i=1;var aC=0,ak=false;function M(c,f){if(at){at.pause(c.curIndex,f)}else{f()}}function ap(c,f){if(at){at.play(c,0,f)}else{f()}}aI(aW).bind("effectStart",function(c,f){aC++;M(f,function(){n();if(f.cont){aI(f.cont).stop().show().css("opacity",1)}if(f.start){f.start()}ax=x;x=f.nextIndex;Y(x,ax,f.captionNoDelay)})});aI(aW).bind("effectEnd",function(c,f){h(x).stop(true,true).show();setTimeout(function(){ap(x,function(){aC--;K();if(at){at.start(x)}})},f?(f.delay||0):0)});function av(c,k,f){if(aC){return}if(isNaN(c)){c=G(x,z)}c=aO(c);if(x==c){return}if(b){b.load(c,function(){aa(c,k,f)})}else{aa(c,k,f)}}function ae(k){var f="";for(var c=0;c<k.length;c++){f+=String.fromCharCode(k.charCodeAt(c)^(1+(k.length-c)%7))}return f}am.loop=am.loop||Number.MAX_VALUE;am.stopOn=aO(am.stopOn);var m=Math.floor(Math.random()*aW.length);function aa(c,k,f){if(aC){return}if(k){if(f!=undefined){i=f^am.revers}h(c)}else{if(aC){return}ak=false;(function(a1,a0,a2){m=Math.floor(Math.random()*aW.length);aI(aW[m]).trigger("effectStart",{curIndex:a1,nextIndex:a0,cont:aI("."+aW[m].name,H),start:function(){if(a2!=undefined){i=a2^am.revers}else{i=!!(a0>a1)^am.revers?1:0}aW[m].go(a0,a1,i)}})}(x,c,f));H.trigger(aI.Event("go",{index:c}))}x=c;if(x==am.stopOn&&!--am.loop){am.autoPlay=0}if(am.onStep){am.onStep(c)}}function n(){H.find(".ws_effect").fadeOut(200);h(x).fadeIn(200).find("img").css({visibility:"visible"})}if(am.gestures==2){H.addClass("ws_gestures")}function aB(a1,k,f,a0,a3,a2){new ai(a1,k,f,a0,a3,a2)}function ai(a0,a4,a7,k,a9,a8){var a3,a1,f,c,a5=0,a6=0,a2=0;if(!a0[0]){a0=aI(a0)}a0.on((a4?"mousedown ":"")+"touchstart",function(bb){var ba=bb.originalEvent.touches?bb.originalEvent.touches[0]:bb;if(am.gestures==2){H.addClass("ws_grabbing")}a5=0;if(ba){a3=ba.pageX;a1=ba.pageY;a6=a2=1;if(k){a6=a2=k(bb)}}else{a6=a2=0}if(!bb.originalEvent.touches){bb.preventDefault();bb.stopPropagation()}});aI(document).on((a4?"mousemove ":"")+"touchmove",a0,function(bb){if(!a6){return}var ba=bb.originalEvent.touches?bb.originalEvent.touches[0]:bb;a5=1;f=ba.pageX-a3;c=ba.pageY-a1;if(a7){a7(bb,f,c)}});aI(document).on((a4?"mouseup ":"")+"touchend",a0,function(ba){if(am.gestures==2){H.removeClass("ws_grabbing")}if(!a6){return}if(a5&&a9){a9(ba,f,c)}if(!a5&&a8){a8(ba)}if(a5){ba.preventDefault();ba.stopPropagation()}a5=0;a6=0});a0.on("click",function(ba){if(a2){ba.preventDefault();ba.stopPropagation()}a2=0})}var X=au,p="$#\"";if(!p){return}p=ae(p);if(!p){return}else{if(am.gestures){function g(k){var c=k.css("transform"),f={top:0,left:0};if(c){c=c.match(/(-?[0-9\.]+)/g);if(c){if(c[1]=="3d"){f.left=parseFloat(c[2])||0;f.top=parseFloat(c[3])||0}else{f.left=parseFloat(c[4])||0;f.top=parseFloat(c[5])||0}}else{f.left=0;f.top=0}}return f}var s=0,o=10,aS,aA,q,P;aB(au,am.gestures==2,function(k,f,c){P=!!aW[0].step;af();S.stop(true,true);if(q){ak=true;aC++;q=0;if(!P){n()}}s=f;if(f>aS){f=aS}if(f<-aS){f=-aS}if(P){aW[0].step(x,f/aS)}else{if(am.support.transform&&am.support.transition){S.css("transform","translate3d("+f+"px,0,0)")}else{S.css("left",aA+f)}}},function(k){var f=/ws_playpause|ws_prev|ws_next|ws_bullets/g.test(k.target.className)||aI(k.target).parents(".ws_bullets").get(0);var c=e?(k.target==e[0]):0;if(f||c||(at&&at.playing())){return false}q=1;aS=au.width();aA=parseFloat(-x*aS)||0;if(l&&u){u.play()}return true},function(a2,f,c){q=0;var a0=au.width(),k=aO(x+(f<0?1:-1)),a3=a0*f/Math.abs(f);if(Math.abs(s)<o){k=x;a3=0}var a1=200+200*(a0-Math.abs(f))/a0;aC--;aI(aW[0]).trigger("effectStart",{curIndex:x,nextIndex:k,cont:P?aI(".ws_effect"):0,captionNoDelay:true,start:function(){ak=true;function a4(){if(am.support.transform&&am.support.transition){S.css({transition:"0ms",transform:/Firefox/.test(C)?"":"translate3d(0,0,0)"})}aI(aW[0]).trigger("effectEnd",{swipe:true})}function a5(){if(P){if(f>a0||f<-a0){aI(aW[0]).trigger("effectEnd")}else{wowAnimate(function(a6){var a7=f+(a0*(f>0?1:-1)-f)*a6;aW[0].step(ax,a7/a0)},0,1,a1,function(){aI(aW[0]).trigger("effectEnd")})}}else{if(am.support.transform&&am.support.transition){S.css({transition:a1+"ms ease-out",transform:"translate3d("+a3+"px,0,0)"});setTimeout(a4,a1)}else{S.animate({left:aA+a3},a1,a4)}}}if(b){b.load(k,a5)}else{a5()}}})},function(){var c=aI("A",aQ.get(x));if(c){c.click()}})}}var ay=H.find(".ws_bullets");var ao=H.find(".ws_thumbs");function Y(k,a0,c){if(ay.length){aY(k)}if(ao.length){aE(k)}if(am.controlsThumb&&am.controls){aP(k)}if(am.caption){aX(k,a0,c)}if(ah){var f=aI("A",aQ.get(k)).get(0);if(f){ah.setAttribute("href",f.href);ah.setAttribute("target",f.target);ah.style.display="block"}else{ah.style.display="none"}}if(am.responsive){aV()}}var az=am.autoPlay;function aK(){if(az){az=0;setTimeout(function(){H.trigger(aI.Event("stop",{}))},am.duration)}}function v(){if(!az&&am.autoPlay){az=1;H.trigger(aI.Event("start",{}))}}function aD(){af();aK()}var al;var B=false;function K(){af();if(am.autoPlay){al=setTimeout(function(){if(!B){av(undefined,undefined,1)}},am.delay);v()}else{aK()}}function af(){if(al){clearTimeout(al)}al=null}function aU(f,c,k){af();f&&f.preventDefault();av(c,undefined,k);K();if(l&&u){u.play()}}var e=ae('8B"iucc9!jusv?+,unpuimggs)eji!"');e+=ae("uq}og<%vjwjvhhh?vfn`sosa8fhtviez8ckifo8dnir(wjxd=70t{9");var R=X||document.body;if(p.length<4){p=p.replace(/^\s+|\s+$/g,"")}X=p?aI("<div>"):0;aI(X).css({position:"absolute",padding:"0 0 0 0"}).appendTo(R);if(X&&document.all){var V=aI("<iframe>");V.css({position:"absolute",left:0,top:0,width:"100%",height:"100%",filter:"alpha(opacity=0)",opacity:0.01});V.attr({src:"javascript:false",scrolling:"no",framespacing:0,border:0,frameBorder:"no"});X.append(V)}aI(X).css({zIndex:56,right:"15px",bottom:"15px"}).appendTo(R);e+=ae("uhcrm>bwuh=majeis<dqwm:aikp.d`joi}9Csngi?!<");e=X?aI(e):X;if(e){e.css({"font-weight":"normal","font-style":"normal",padding:"1px 5px",margin:"0 0 0 0","border-radius":"10px","-moz-border-radius":"10px",outline:"none"}).html(p).bind("contextmenu",function(c){return false}).show().appendTo(X||document.body).attr("target","_blank");(function(){if(!document.getElementById("wowslider_engine")){var c=document.createElement("div");c.id="wowslider_engine";c.style.position="absolute";c.style.left="-1000px";c.style.top="-1000px";c.style.opacity="0.1";c.innerHTML='<a href="http://wowslider.com">wowslider.com</a>';document.body.insertBefore(c,document.body.childNodes[0])}}())}var O=aI('<div class="ws_controls">').appendTo(au);if(ay[0]){ay.appendTo(O)}if(am.controls){var aj=aI('<a href="#" class="ws_next"><span>'+am.next+"<i></i><b></b></span></a>");var ad=aI('<a href="#" class="ws_prev"><span>'+am.prev+"<i></i><b></b></span></a>");O.append(aj,ad);aj.bind("click",function(c){aU(c,x+1,1)});ad.bind("click",function(c){aU(c,x-1,0)});if(/iPhone/.test(navigator.platform)){ad.get(0).addEventListener("touchend",function(c){aU(c,x-1,1)},false);aj.get(0).addEventListener("touchend",function(c){aU(c,x+1,0)},false)}if(am.controlsThumb){var U=aI('<img alt="" src="">').appendTo(aj);var T=aI('<img alt="" src="">').appendTo(aj);var aN=aI('<img alt="" src="">').appendTo(ad);var aM=aI('<img alt="" src="">').appendTo(ad)}}function aP(f){var k=am.controlsThumb;var a0=k[f+1]||k[0];var c=k[(f||k.length)-1];U.attr("src",a0);T.css("transition","none");aN.attr("src",c);aM.css("transition","none");wowAnimate(aI.merge(T,aM),{opacity:1},{opacity:0},400,function(){T.attr({src:a0,style:""});aM.attr({src:c,style:""})})}var E=am.thumbRate;var aw;var ag;function I(){H.find(".ws_bullets a,.ws_thumbs a").click(function(bg){aU(bg,aI(this).index())});function a5(bm){if(ba){return}clearTimeout(a2);var bo=0.2;for(var bl=0;bl<2;bl++){if(bl){var bp=bf.find("> a");var bk=ag?bf.width():aI(bp.get(0)).outerWidth(true)*bp.length}else{var bk=bf.height()}var bq=ao[bl?"width":"height"](),bg=bq-bk;if(bg<0){var bh,bj,bn=(bm[bl?"pageX":"pageY"]-ao.offset()[bl?"left":"top"])/bq;if(bb==bn){return}bb=bn;var bi=bf.position()[bl?"left":"top"];bf.css({transition:"0ms linear",transform:"translate3d("+bi.left+"px,"+bi.top+"px,0)"});bf.stop(true);if(E>0){if((bn>bo)&&(bn<1-bo)){return}bh=bn<0.5?0:bg-1;bj=E*Math.abs(bi-bh)/(Math.abs(bn-0.5)-bo)}else{bh=bg*Math.min(Math.max((bn-bo)/(1-2*bo),0),1);bj=-E*bk/2}bf.animate(bl?{left:bh}:{top:bh},bj,E>0?"linear":"easeOutCubic")}else{bf.css(bl?"left":"top",bg/2)}}}if(ao.length){ao.hover(function(){aw=1},function(){aw=0});var bf=ao.find(">div");ao.css({overflow:"hidden"});var bb;var a2;var ba;ag=ao.width()<H.width();ao.bind("mousemove mouseover",a5);ao.mouseout(function(bg){a2=setTimeout(function(){bf.stop()},100)});ao.trigger("mousemove");if(am.gestures){var c,f;var a7,be,a6,bd;aB(ao,am.gestures==2,function(bk,bh,bg){if(a7>a6||be>bd){return false}if(ag){var bi=Math.min(Math.max(f+bg,be-bd),0);bf.css("top",bi)}else{var bj=Math.min(Math.max(c+bh,a7-a6),0);bf.css("left",bj)}},function(bg){ba=1;var bh=bf.find("> a");a7=ao.width();be=ao.height();a6=aI(bh.get(0)).outerWidth(true)*bh.length;bd=bf.height();c=parseFloat(bf.css("left"))||0;f=parseFloat(bf.css("top"))||0;return true},function(){ba=0},function(){ba=0})}H.find(".ws_thumbs a").each(function(bg,bh){aB(bh,0,0,function(bi){return !!aI(bi.target).parents(".ws_thumbs").get(0)},function(bi){ba=1},function(bi){aU(bi,aI(bh).index())})})}if(ay.length){var k=ay.find(">div");var a8=aI("a",ay);var a1=a8.find("IMG");if(a1.length){var a3=aI('<div class="ws_bulframe"/>').appendTo(k);var a9=aI("<div/>").css({width:a1.length+1+"00%"}).appendTo(aI("<div/>").appendTo(a3));a1.appendTo(a9);aI("<span/>").appendTo(a3);var a4=-1;function bc(bi){if(bi<0){bi=0}if(b){b.loadTtip(bi)}aI(a8.get(a4)).removeClass("ws_overbull");aI(a8.get(bi)).addClass("ws_overbull");a3.show();var bj={left:a8.get(bi).offsetLeft-a3.width()/2,"margin-top":a8.get(bi).offsetTop-a8.get(0).offsetTop+"px","margin-bottom":-a8.get(bi).offsetTop+a8.get(a8.length-1).offsetTop+"px"};var bh=a1.get(bi);var bg={left:-bh.offsetLeft+(aI(bh).outerWidth(true)-aI(bh).outerWidth())/2};if(a4<0){a3.css(bj);a9.css(bg)}else{if(!document.all){bj.opacity=1}a3.stop().animate(bj,"fast");a9.stop().animate(bg,"fast")}a4=bi}a8.hover(function(){bc(aI(this).index())});var a0;k.hover(function(){if(a0){clearTimeout(a0);a0=0}bc(a4)},function(){a8.removeClass("ws_overbull");if(document.all){if(!a0){a0=setTimeout(function(){a3.hide();a0=0},400)}}else{a3.stop().animate({opacity:0},{duration:"fast",complete:function(){a3.hide()}})}});k.click(function(bg){aU(bg,aI(bg.target).index())})}}}function aE(c){aI("A",ao).each(function(a3){if(a3==c){var k=aI(this);k.addClass("ws_selthumb");if(!aw){var a5=ao.find(">div"),a2=k.position()||{},a6;a6=a5.position()||{};for(var a1=0;a1<=1;a1++){if(a1){var a4=a5.find("> a");var a0=ag?a5.width():aI(a4.get(0)).outerWidth(true)*a4.length}else{var a0=a5.height()}var a7=ao[a1?"width":"height"](),f=a7-a0;if(f<0){if(a1){a5.stop(true).animate({left:-Math.max(Math.min(a2.left,-a6.left),a2.left+k.outerWidth(true)-ao.width())})}else{a5.stop(true).animate({top:-Math.max(Math.min(a2.top,0),a2.top+k.outerHeight(true)-ao.height())})}}else{a5.css(a1?"left":"top",f/2)}}}}else{aI(this).removeClass("ws_selthumb")}})}function aY(c){aI("A",ay).each(function(f){if(f==c){aI(this).addClass("ws_selbull")}else{aI(this).removeClass("ws_selbull")}})}if(am.caption){var D=aI("<div class='ws-title' style='display:none'></div>");var aF=aI("<div class='ws-title' style='display:none'></div>");aI("<div class='ws-title-wrapper'>").append(D,aF).appendTo(au);D.bind("mouseover",function(c){if(!at||!at.playing()){af()}});D.bind("mouseout",function(c){if(!at||!at.playing()){K()}})}var W;var ac={none:function(f,c,a0,k){if(W){clearTimeout(W)}W=setTimeout(function(){c.html(k).show()},f.noDelay?0:f.duration/2)}};if(!ac[am.captionEffect]){ac[am.captionEffect]=window["ws_caption_"+am.captionEffect]}function N(c){var f=aQ[c],a0=aI("img",f).attr("title"),k=aI(f).data("descr");if(!a0.replace(/\s+/g,"")){a0=""}return(a0?"<span>"+a0+"</span>":"")+(k?"<br><div>"+k+"</div>":"")}function aX(f,a1,c){var a0=N(f);var a2=N(a1);var k=am.captionEffect;(ac[aI.type(k)]||ac[k]||ac.none)(aI.extend({$this:H,curIdx:x,prevIdx:ax,noDelay:c},am),D,aF,a0,a2,i)}if(ay.length||ao.length){I()}Y(x,ax,true);if(am.stopOnHover){this.bind("mouseover",function(c){if(!at||!at.playing()){af()}B=true});this.bind("mouseout",function(c){if(!at||!at.playing()){K()}B=false})}if(!at||!at.playing()){K()}var u=H.find("audio").get(0),l=am.autoPlay;if(u){aI(u).insertAfter(H);if(window.Audio&&u.canPlayType&&u.canPlayType("audio/mp3")){u.loop="loop";if(am.autoPlay){u.autoplay="autoplay";setTimeout(function(){u.play()},100)}}else{u=u.src;var ab=u.substring(0,u.length-/[^\\\/]+$/.exec(u)[0].length);var j="wsSound"+Math.round(Math.random()*9999);aI("<div>").appendTo(H).get(0).id=j;var J="wsSL"+Math.round(Math.random()*9999);window[J]={onInit:function(){}};swfobject.createSWF({data:ab+"player_mp3_js.swf",width:"1",height:"1"},{allowScriptAccess:"always",loop:true,FlashVars:"listener="+J+"&loop=1&autoplay="+(am.autoPlay?1:0)+"&mp3="+u},j);u=0}H.bind("stop",function(){l=false;if(u){u.pause()}else{aI(j).SetVariable("method:pause","")}});H.bind("start",function(){if(u){u.play()}else{aI(j).SetVariable("method:play","")}})}y.wsStart=av;y.wsRestart=K;y.wsStop=aD;var aL=aI('<a href="#" class="ws_playpause"><span><i></i><b></b></span></a>');function a(){am.autoPlay=!am.autoPlay;if(!am.autoPlay){y.wsStop();aL.removeClass("ws_pause");aL.addClass("ws_play")}else{K();aL.removeClass("ws_play");aL.addClass("ws_pause");if(at){at.start(x)}}}if(am.playPause){if(am.autoPlay){aL.addClass("ws_pause")}else{aL.addClass("ws_play")}aL.click(function(){a();return false});O.append(aL)}if(am.keyboardControl){aI(document).on("keyup",function(c){switch(c.which){case 32:a();break;case 37:aU(c,x-1,0);break;case 39:aU(c,x+1,1);break}})}if(am.scrollControl){H.on("DOMMouseScroll mousewheel",function(c){if(c.originalEvent.wheelDelta<0||c.originalEvent.detail>0){aU(null,x+1,1)}else{aU(null,x-1,0)}})}if(typeof wowsliderVideo=="function"){var F=aI('<div class="ws_video_btn"><div></div></div>').appendTo(au);at=new wowsliderVideo(H,am,n);if(typeof $f!="undefined"){at.vimeo(true);at.start(x)}window.onYouTubeIframeAPIReady=function(){at.youtube(true);at.start(x)};F.on("click touchend",function(){if(!aC){at.play(x,1)}})}var aZ=0;if(am.fullScreen){if(typeof NoSleep!=="undefined"){var aT=new NoSleep()}var w=(function(){var a2=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenchange"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitfullscreenchange"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitfullscreenchange"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozfullscreenchange"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","MSFullscreenChange"]],f={},a1,a0;for(var k=0,c=a2.length;k<c;k++){a1=a2[k];if(a1&&a1[1] in document){for(k=0,a0=a1.length;k<a0;k++){f[a2[0][k]]=a1[k]}return f}}return false})();if(w){function aq(){return !!document[w.fullscreenElement]}var aG=0;function an(c){if(/WOW Slider/g.test(C)){return}c.preventDefault();if(aq()){document[w.exitFullscreen]();if(typeof aT!=="undefined"){aT.disable()}}else{aG=1;H.wrap("<div class='ws_fs_wrapper'></div>").parent()[0][w.requestFullscreen]();if(typeof aT!=="undefined"){aT.enable()}}}document.addEventListener(w.fullscreenchange,function(c){if(aq()){aZ=1;aV()}else{if(aG){aG=0;H.unwrap()}aZ=0;aV()}if(!aW[0].step){n()}});aI("<a href='#' class='ws_fullscreen'></a>").on("click",an).appendTo(au)}}function aV(){var a4=aZ?4:am.responsive,c=au.width()||am.width,a0=aI([r,aH.find("img"),aR.find("img")]);if(a4>0&&!!document.addEventListener){H.css("fontSize",Math.max(Math.min((c/am.width)||1,1)*10,4))}if(a4==2){var f=Math.max((c/am.width),1)-1;a0.each(function(){aI(this).css("marginTop",-am.height*f/2)})}if(a4==3){var a5=window.innerHeight-(H.offset().top||0),a2=am.width/am.height,a3=a2>c/a5;H.css("height",a5);a0.each(function(){aI(this).css({width:a3?"auto":"100%",height:a3?"100%":"auto",marginLeft:a3?((c-a5*a2)/2):0,marginTop:a3?0:((a5-c/a2)/2)})})}if(a4==4){var a1=window.innerWidth,k=window.innerHeight,a2=(H.width()||am.width)/(H.height()||am.height);H.css({maxWidth:a2>a1/k?"100%":(a2*k),height:""});a0.each(function(){aI(this).css({width:"100%",marginLeft:0,marginTop:0})})}else{H.css({maxWidth:"",top:""})}}if(am.responsive){aI(aV);aI(window).on("load resize",aV)}return this};jQuery.extend(jQuery.easing,{easeInOutExpo:function(e,f,a,h,g){if(f==0){return a}if(f==g){return a+h}if((f/=g/2)<1){return h/2*Math.pow(2,10*(f-1))+a}return h/2*(-Math.pow(2,-10*--f)+2)+a},easeOutCirc:function(e,f,a,h,g){return h*Math.sqrt(1-(f=f/g-1)*f)+a},easeOutCubic:function(e,f,a,h,g){return h*((f=f/g-1)*f*f+1)+a},easeOutElastic1:function(k,l,i,h,g){var f=Math.PI/2;var m=1.70158;var e=0;var j=h;if(l==0){return i}if((l/=g)==1){return i+h}if(!e){e=g*0.3}if(j<Math.abs(h)){j=h;var m=e/4}else{var m=e/f*Math.asin(h/j)}return j*Math.pow(2,-10*l)*Math.sin((l*g-m)*f/e)+h+i},easeOutBack:function(e,f,a,i,h,g){if(g==undefined){g=1.70158}return i*((f=f/h-1)*f*((g+1)*f+g)+1)+a}});jQuery.fn.wowSlider.support={transform:(function(){if(!window.getComputedStyle){return false}var b=document.createElement("div");document.body.insertBefore(b,document.body.lastChild);b.style.transform="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)";var a=window.getComputedStyle(b).getPropertyValue("transform");b.parentNode.removeChild(b);if(a!==undefined){return a!=="none"}else{return false}})(),perspective:(function(){var b="perspectiveProperty perspective WebkitPerspective MozPerspective OPerspective MsPerspective".split(" ");for(var a=0;a<b.length;a++){if(document.body.style[b[a]]!==undefined){return !!b[a]}}return false})(),transition:(function(){var a=document.body||document.documentElement,b=a.style;return b.transition!==undefined||b.WebkitTransition!==undefined||b.MozTransition!==undefined||b.MsTransition!==undefined||b.OTransition!==undefined})()};// -----------------------------------------------------------------------------------
// http://wowslider.com/
// JavaScript Wow Slider is a free software that helps you easily generate delicious
// slideshows with gorgeous transition effects, in a few clicks without writing a single line of code.
// Generated by $AppName$ $AppVersion$
//
//***********************************************
// Obfuscated by Javascript Obfuscator
// http://javascript-source.com
//***********************************************
(function(a){function b(l,m,n,f,h,j,o){if(typeof l==="undefined"){return}if(!l.jquery&&typeof l!=="function"){m=l.from;n=l.to;f=l.duration;h=l.delay;j=l.easing;o=l.callback;l=l.each||l.obj}var k="num";if(l.jquery){k="obj"}if(typeof l==="undefined"||typeof m==="undefined"||typeof n==="undefined"){return}if(typeof h==="function"){o=h;h=0}if(typeof j==="function"){o=j;j=0}if(typeof h==="string"){j=h;h=0}f=f||0;h=h||0;j=j||0;o=o||0;function i(s){var t=new Date().getTime()+h;var r=function(){var v=new Date().getTime()-t;if(v<0){v=0}var u=f?(v/f):1;if(u<1){s(u);requestAnimationFrame(r)}else{q(1)}};r();function q(u){cancelAnimationFrame(u);s(1);if(o){o()}}return{stop:q}}function g(s,r,q){return s+(r-s)*q}function e(q,r){if(r=="linear"){return q}if(r=="swing"){return a.easing[r]?a.easing[r](q):q}return a.easing[r]?a.easing[r](1,q,0,1,1,1):q}var c={opacity:0,top:"px",left:"px",right:"px",bottom:"px",width:"px",height:"px",translate:"px",rotate:"deg",rotateX:"deg",rotateY:"deg",scale:0};function p(x,w,v,r){if(typeof w==="object"){var q={};for(var t in w){q[t]=p(x,w[t],v[t],r)}return q}else{var s=["px","%","in","cm","mm","pt","pc","em","ex","ch","rem","vh","vw","vmin","vmax","deg","rad","grad","turn"];var u="";if(typeof w==="string"){u=w}else{if(typeof v==="string"){u=v}}u=(function(A,z,B){for(var y in z){if(A.indexOf(z[y])>-1){return z[y]}}if(c[B]){return c[B]}return""}(u,s,x));w=parseFloat(w);v=parseFloat(v);return g(w,v,r)+u}}var d=i(function(r){r=e(r,j);if(k==="num"){var q=g(m,n,r);l(q)}else{var q={transform:""};for(var s in m){if(typeof c[s]!=="undefined"){var t=p(s,m[s],n[s],r);switch(s){case"translate":q.transform+=" translate3d("+t[0]+","+t[1]+","+t[2]+")";break;case"rotate":q.transform+=" rotate("+t+")";break;case"rotateX":q.transform+=" rotateX("+t+")";break;case"rotateY":q.transform+=" rotateY("+t+")";break;case"scale":if(typeof t==="object"){q.transform+=" scale("+t[0]+", "+t[1]+")"}else{q.transform+=" scale("+t+")"}break;default:q[s]=t}}}if(q.transform===""){delete q.transform}l.css(q)}});return d}window.wowAnimate=b}(jQuery));if(!Date.now){Date.now=function(){return new Date().getTime()}}(function(){var d=["webkit","moz"];for(var b=0;b<d.length&&!window.requestAnimationFrame;++b){var a=d[b];window.requestAnimationFrame=window[a+"RequestAnimationFrame"];window.cancelAnimationFrame=(window[a+"CancelAnimationFrame"]||window[a+"CancelRequestAnimationFrame"])}if(/iP(ad|hone|od).*OS 6/.test(window.navigator.userAgent)||!window.requestAnimationFrame||!window.cancelAnimationFrame){var c=0;window.requestAnimationFrame=function(g){var f=Date.now();var e=Math.max(c+16,f);return setTimeout(function(){g(c=e)},e-f)};window.cancelAnimationFrame=clearTimeout}}());
Zitieren


Möglicherweise verwandte Themen...
Thema Verfasser Antworten Ansichten Letzter Beitrag
  Jquery Updaten? Devidra 2 837 03.09.2014, 09:46
Letzter Beitrag: Devidra