init commit2
This commit is contained in:
BIN
website/Boson/HTML/plugins/wow-slider/scripts/bullet.png
Normal file
BIN
website/Boson/HTML/plugins/wow-slider/scripts/bullet.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.8 KiB |
BIN
website/Boson/HTML/plugins/wow-slider/scripts/fullscreen.eot
Normal file
BIN
website/Boson/HTML/plugins/wow-slider/scripts/fullscreen.eot
Normal file
Binary file not shown.
13
website/Boson/HTML/plugins/wow-slider/scripts/fullscreen.svg
Normal file
13
website/Boson/HTML/plugins/wow-slider/scripts/fullscreen.svg
Normal file
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" standalone="no"?>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<svg xmlns="http://www.w3.org/2000/svg">
|
||||
<metadata>Copyright (C) 2015 by original authors @ fontello.com</metadata>
|
||||
<defs>
|
||||
<font id="ws-fullscreen" horiz-adv-x="1000" >
|
||||
<font-face font-family="ws-fullscreen" font-weight="400" font-stretch="normal" units-per-em="1000" ascent="850" descent="-150" />
|
||||
<missing-glyph horiz-adv-x="1000" />
|
||||
<glyph glyph-name="glyph" unicode="" d="m857 82l-144 143-88-88 143-144-143-143h375v375z m-482 768h-375v-375l143 143 142-141 89 88-142 142z m0-713l-88 88-144-143-143 143v-375h375l-143 143z m625 713h-375l143-143-142-142 89-88 142 141 143-143z" horiz-adv-x="1000" />
|
||||
<glyph glyph-name="glyph-1" unicode="" d="m768-7l144-143 88 88-143 144 143 143h-375v-375z m-768 482h375v375l-143-143-142 142-88-89 141-142z m0-537l88-88 144 143 143-143v375h-375l143-143z m625 537h375l-143 143 142 142-89 89-142-142-143 143z" horiz-adv-x="1000" />
|
||||
</font>
|
||||
</defs>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.0 KiB |
BIN
website/Boson/HTML/plugins/wow-slider/scripts/fullscreen.ttf
Normal file
BIN
website/Boson/HTML/plugins/wow-slider/scripts/fullscreen.ttf
Normal file
Binary file not shown.
BIN
website/Boson/HTML/plugins/wow-slider/scripts/fullscreen.woff
Normal file
BIN
website/Boson/HTML/plugins/wow-slider/scripts/fullscreen.woff
Normal file
Binary file not shown.
@@ -0,0 +1,32 @@
|
||||
/**
|
||||
* WOWslider
|
||||
*
|
||||
* http://wowslider.com
|
||||
*/
|
||||
|
||||
/* ---------------------------------------------------------------------------
|
||||
* WOWslider Settings
|
||||
* -------------------------------------------------------------------------- */
|
||||
|
||||
jQuery("#wowslider-container1").wowSlider( {
|
||||
effect:"basic",
|
||||
duration:20*100, // change effect transition time
|
||||
delay:20*100, // change delay on each slide
|
||||
width:1000,
|
||||
height:450,
|
||||
autoPlay:true, // autoplay slides on load
|
||||
playPause:false, // show a play & pause button
|
||||
stopOnHover:false,
|
||||
loop:false,
|
||||
bullets:0,
|
||||
caption:false, // use a caption on slides
|
||||
controls:false, // use left, right arrows
|
||||
fullScreen:true, // show a fullscreen button
|
||||
|
||||
responsive:1,
|
||||
gestures:2,
|
||||
|
||||
|
||||
}
|
||||
|
||||
);
|
||||
@@ -0,0 +1,32 @@
|
||||
/**
|
||||
* WOWslider
|
||||
*
|
||||
* http://wowslider.com
|
||||
*/
|
||||
function ws_basic_linear(j,g,a){var c=jQuery;var f=c(this);var e=a.find(".ws_list");var i=c("<div>").addClass("ws_effect ws_basic_linear").css({position:"absolute",top:0,left:0,width:"100%",height:"100%",overflow:"hidden"}).appendTo(a);var b=c("<div>").css({position:"absolute",display:"none","z-index":2,width:"200%",height:"100%",transform:"translate3d(0,0,0)"}).appendTo(i);var h=c("<div>").css({position:"absolute",left:"auto",top:"auto",width:"50%",height:"100%",overflow:"hidden"}),d=h.clone();b.append(h,d);this.go=function(k,n,m){b.stop(1,1);if(m==undefined){m=(!!((k-n+1)%g.length)^j.revers?"left":"right")}else{m=m?"left":"right"}var o=c(g[n]);var l={width:o.width()||j.width,height:o.height()||j.height};o.clone().css(l).appendTo(h).css(m,0);c(g[k]).clone().css(l).appendTo(d).show();if(m=="right"){h.css("left","50%");d.css("left",0)}else{h.css("left",0);d.css("left","50%")}var q={},p={};q[m]=0;p[m]=-a.width();if(j.support.transform){if(m=="right"){q.left=q.right;p.left=-p.right}q={translate:[q.left,0,0]};p={translate:[p.left,0,0]}}e.hide();wowAnimate(b.css({left:"auto",right:"auto",top:0}).css(m,0).show(),q,p,j.duration,"easeInOutExpo",function(){f.trigger("effectEnd");b.hide().find("div").html("")})}};
|
||||
|
||||
/* ---------------------------------------------------------------------------
|
||||
* WOWslider Settings
|
||||
* -------------------------------------------------------------------------- */
|
||||
|
||||
jQuery("#wowslider-container1").wowSlider( {
|
||||
effect:"basic_linear",
|
||||
duration:20*100, // change effect transition time
|
||||
delay:20*100, // change delay on each slide
|
||||
width:1000,
|
||||
height:450,
|
||||
autoPlay:true, // autoplay slides on load
|
||||
playPause:false, // show a play & pause button
|
||||
stopOnHover:false,
|
||||
loop:false,
|
||||
bullets:0,
|
||||
caption:false, // use a caption on slides
|
||||
controls:false, // use left, right arrows
|
||||
fullScreen:true, // show a fullscreen button
|
||||
|
||||
responsive:1,
|
||||
gestures:2
|
||||
|
||||
}
|
||||
|
||||
);
|
||||
@@ -0,0 +1,36 @@
|
||||
/**
|
||||
* WOWslider
|
||||
*
|
||||
* http://wowslider.com
|
||||
*/
|
||||
function ws_blast(q,j,m){var e=jQuery;var i=e(this);var f=m.find(".ws_list");var a=q.distance||1;var g=e("<div>").addClass("ws_effect ws_blast");var c=e("<div>").addClass("ws_zoom").appendTo(g);var k=e("<div>").addClass("ws_parts").appendTo(g);m.css({overflow:"visible"}).append(g);g.css({position:"absolute",left:0,top:0,width:"100%",height:"100%","z-index":8});var d=q.cols;var p=q.rows;var l=[];var b=[];function h(u,r,s,t){if(q.support.transform&&q.support.transition){if(typeof r.left==="number"||typeof r.top==="number"){r.transform="translate3d("+(typeof r.left==="number"?r.left:0)+"px,"+(typeof r.top==="number"?r.top:0)+"px,0)"}delete r.left;delete r.top;if(s){r.transition="all "+s+"ms ease-in-out"}else{r.transition=""}u.css(r);if(t){u.on("transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd",function(){t();u.off("transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd")})}}else{delete r.transfrom;delete r.transition;if(s){u.animate(r,{queue:false,duration:q.duration,complete:t?t:0})}else{u.stop(1).css(r)}}}function n(r){var w=Math.max((q.width||g.width())/(q.height||g.height())||3,3);d=d||Math.round(w<1?3:3*w);p=p||Math.round(w<1?3/w:3);for(var u=0;u<d*p;u++){var v=u%d;var t=Math.floor(u/d);e([b[u]=document.createElement("div"),l[u]=document.createElement("div")]).css({position:"absolute",overflow:"hidden"}).appendTo(k).append(e("<img>").css({position:"absolute"}))}l=e(l);b=e(b);o(l,r);o(b,r,true);var s={position:"absolute",top:0,left:0,width:"100%",height:"100%",overflow:"hidden"};c.css(s).append(e("<img>").css(s))}function o(t,u,s,r,w,z){var v=g.width();var x=g.height();var y={left:e(window).scrollLeft(),top:e(window).scrollTop(),width:e(window).width(),height:e(window).height()};e(t).each(function(F){var E=F%d;var C=Math.floor(F/d);if(s){var I=a*v*(2*Math.random()-1)+v/2;var G=a*x*(2*Math.random()-1)+x/2;var H=g.offset();H.left+=I;H.top+=G;if(H.left<y.left){I-=H.left+y.left}if(H.top<y.top){G-=H.top+y.top}var D=(y.left+y.width)-H.left-v/d;if(0>D){I+=D}var B=(y.top+y.height)-H.top-x/p;if(0>B){G+=B}}else{var I=v*E/d;var G=x*C/p}e(this).find("img").css({left:-(v*E/d)+u.marginLeft,top:-(x*C/p)+u.marginTop,width:u.width,height:u.height});var A={left:I,top:G,width:v/d,height:x/p};if(w){e.extend(A,w)}if(r){h(e(this),A,q.duration,(F===0&&z)?z:0)}else{h(e(this),A)}})}this.go=function(s,u){var v=e(j[u]),r={width:v.width(),height:v.height(),marginTop:parseFloat(v.css("marginTop")),marginLeft:parseFloat(v.css("marginLeft"))};if(!l.length){n(r)}l.find("img").attr("src",j.get(u).src);h(l,{opacity:1,zIndex:3});b.find("img").attr("src",j.get(s).src);h(b,{opacity:0,zIndex:2});c.find("img").attr("src",j.get(u).src);h(c.find("img"),{transform:"scale(1)"});g.show();f.hide();o(b,r,false,true,{opacity:1});o(l,r,true,true,{opacity:0},function(){i.trigger("effectEnd");g.hide()});h(c.find("img"),{transform:"scale(2)"},q.duration,0);var t=b;b=l;l=t}};
|
||||
|
||||
/* ---------------------------------------------------------------------------
|
||||
* WOWslider Settings
|
||||
* -------------------------------------------------------------------------- */
|
||||
|
||||
jQuery("#wowslider-container1").wowSlider( {
|
||||
effect:"blast",
|
||||
duration:20*100, // change effect transition time
|
||||
delay:20*100, // change delay on each slide
|
||||
width:1000,
|
||||
height:450,
|
||||
autoPlay:true, // autoplay slides on load
|
||||
playPause:false, // show a play & pause button
|
||||
stopOnHover:false,
|
||||
loop:false,
|
||||
bullets:0,
|
||||
caption:false, // use a caption on slides
|
||||
controls:false, // use left, right arrows
|
||||
fullScreen:true, // show a fullscreen button
|
||||
|
||||
responsive:1,
|
||||
gestures:2,
|
||||
|
||||
// remove next 3 lines to remove "random" slide order
|
||||
onBeforeStep:function(i, c) {
|
||||
return (i+1 + Math.floor((c-1)*Math.random()))
|
||||
}
|
||||
}
|
||||
|
||||
);
|
||||
@@ -0,0 +1,36 @@
|
||||
/**
|
||||
* WOWslider
|
||||
*
|
||||
* http://wowslider.com
|
||||
*/
|
||||
function ws_blinds(m,l,a){var g=jQuery;var k=g(this);var c=m.parts||3;var j=g(".ws_list",a);var h=g("<div>").addClass("ws_effect ws_blinds").css({position:"absolute",width:"100%",height:"100%",left:0,top:0,"z-index":8}).hide().appendTo(a);var d=g("<div>").css({position:"absolute",top:0,left:0,width:"100%",height:"100%",overflow:"hidden"}).appendTo(h);var e=[];var b=document.addEventListener;for(var f=0;f<c;f++){e[f]=g("<div>").css({position:b?"relative":"absolute",display:b?"inline-block":"block",height:"100%",width:(100/c+0.001).toFixed(3)+"%",border:"none",margin:0,overflow:"hidden",top:0,left:b?0:((100*f/c).toFixed(3)+"%")}).appendTo(h)}this.go=function(r,p,o){if(o==undefined){o=p>r?1:0}h.find("img").stop(true,true);h.show();var s=g(l[p]);var t={width:s.width()||m.width,height:s.height()||m.height};var u=s.clone().css(t).appendTo(d);u.from={left:0};u.to={left:(!o?1:-1)*u.width()*0.5};if(m.support.transform){u.from={translate:[u.from.left,0,0]};u.to={translate:[u.to.left,0,0]}}j.hide();wowAnimate(u,u.from,u.to,m.duration,m.duration*0.1,"swing");for(var q=0;q<e.length;q++){var n=e[q];var v=g(l[r]).clone().css({position:"absolute",top:0}).css(t).appendTo(n);v.from={left:(!o?-1:1)*v.width()-n.position().left};v.to={left:-n.position().left};if(m.support.transform){v.from={translate:[v.from.left,0,0]};v.to={translate:[v.to.left,0,0]}}wowAnimate(v,v.from,v.to,(m.duration/(e.length+1))*(o?(e.length-q+1):(q+2)),"swing",((!o&&q==e.length-1||o&&!q)?function(){k.trigger("effectEnd");h.hide().find("img").remove();u.remove()}:false))}}};
|
||||
|
||||
/* ---------------------------------------------------------------------------
|
||||
* WOWslider Settings
|
||||
* -------------------------------------------------------------------------- */
|
||||
|
||||
jQuery("#wowslider-container1").wowSlider( {
|
||||
effect:"blinds",
|
||||
duration:20*100, // change effect transition time
|
||||
delay:20*100, // change delay on each slide
|
||||
width:1600,
|
||||
height:800,
|
||||
autoPlay:true, // autoplay slides on load
|
||||
playPause:false, // show a play & pause button
|
||||
stopOnHover:false,
|
||||
loop:false,
|
||||
bullets:0,
|
||||
caption:false, // use a caption on slides
|
||||
controls:true, // use left, right arrows
|
||||
fullScreen:true, // show a fullscreen button
|
||||
|
||||
responsive:3,
|
||||
gestures:2,
|
||||
|
||||
// remove next 3 lines to remove "random" slide order
|
||||
onBeforeStep:function(i, c) {
|
||||
return (i+1 + Math.floor((c-1)*Math.random()))
|
||||
}
|
||||
}
|
||||
|
||||
);
|
||||
33
website/Boson/HTML/plugins/wow-slider/scripts/script-blur.js
Normal file
33
website/Boson/HTML/plugins/wow-slider/scripts/script-blur.js
Normal file
File diff suppressed because one or more lines are too long
36
website/Boson/HTML/plugins/wow-slider/scripts/script-book.js
Normal file
36
website/Boson/HTML/plugins/wow-slider/scripts/script-book.js
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1,36 @@
|
||||
/**
|
||||
* WOWslider
|
||||
*
|
||||
* http://wowslider.com
|
||||
*/
|
||||
function ws_bubbles(b,l,n){var e=jQuery;var f=e(this);var i=b.noCanvas||!document.createElement("canvas").getContext;var k=b.width,p=b.height;var g=e("<div>").css({position:"absolute",top:0,left:0,width:"100%",height:"100%",overflow:"hidden"}).addClass("ws_effect ws_bubbles").appendTo(n);if(!i){var a=e("<canvas>").css({position:"absolute",left:0,top:0,width:"100%",height:"100%"}).appendTo(g);var o=a.get(0).getContext("2d")}var j={easeOutBack:function(u,v,h,z,y,w){if(w==undefined){w=1.70158}return z*((v=v/y-1)*v*((w+1)*v+w)+1)+h},easeOutBackCubic:function(u,v,h,A,z,w){var y=(v/=z)*v;return h+A*(-1.5*y*v*y+2*y*y+4*y*v+-9*y+5.5*v)},easeOutCubic:function(u,v,h,y,w){return y*((v=v/w-1)*v*v+1)+h},easeOutExpo:function(u,v,h,y,w){return(v==w)?h+y:y*(-Math.pow(2,-10*v/w)+1)+h}};var s=[["#bbbbbb",0.5,0.5],["#b3b3b3",0.2,0.2],["#b6b6b6",0.5,0.2],["#b9b9b9",0.8,0.2],["#cccccc",0.2,0.8],["#c3c3c3",0.5,0.8],["#c6c6c6",0.8,0.8]];var c=[[[0.5,0.5,0.7,0.15],[0.5,0.5,0.6,0.3],[0.5,0.5,0.5,0.45],[0.5,0.5,0.4,0.6],[0.5,0.5,0.3,0.75],[0.5,0.5,0.2,0.9],[0.5,0.5,0.1,1]],[[0.5,0.5,0.7,1],[0.5,0.5,0.6,0.9],[0.5,0.5,0.5,0.75],[0.5,0.5,0.4,0.6],[0.5,0.5,0.3,0.45],[0.5,0.5,0.2,0.3],[0.5,0.5,0.1,0.15]]];var m=[[[0.5,0.5,0,1],[0.5,0.5,0,0.9],[0.5,0.5,0,0.75],[0.5,0.5,0,0.6],[0.5,0.5,0,0.45],[0.5,0.5,0,0.3],[0.5,0.5,0,0.15]],[[0.5,0.5,0,0.15],[0.5,0.5,0,0.3],[0.5,0.5,0,0.45],[0.5,0.5,0,0.6],[0.5,0.5,0,0.75],[0.5,0.5,0,0.9],[0.5,0.5,0,1]],[[0.5,7.5,0.7,0.75],[0.5,7.5,0.6,0.15],[0.5,7.5,0.5,1],[0.5,7.5,0.4,0.3],[0.5,7.5,0.3,0.45],[0.5,7.5,0.2,0.6],[0.5,7.5,0.1,0.9]],[[0.5,7.5,0.7,1],[0.5,7.5,0.6,0.9],[0.5,7.5,0.5,0.75],[0.5,7.5,0.4,0.6],[0.5,7.5,0.3,0.45],[0.5,7.5,0.2,0.3],[0.5,7.5,0.1,0.15]]];function d(u){if(Object.prototype.toString.call(u)==="[object Array]"){return u[Math.floor(Math.random()*(u.length))]}else{var h;var t=0;for(var v in u){if(Math.random()<1/++t){h=v}}return/linear|swing/g.test(h)?d(u):h}}function q(B,A,v,z,t){B.clearRect(0,0,k,p);for(var u=0,y=v.length;u<y;u++){var h=Math.max(0,Math.min(1,A-v[u][3]*(1-A)));if(t&&j[t]){h=j[t](1,h,0,1,1,1)}var w=k;if(k/p<=1.8&&k/p>0.7){w*=2}else{if(k/p<=0.7){w=p*2}}var x=v[u][2]*h*w;if(z){x=(v[u][2]+(z[u][2]-v[u][2])*h)*w}x=Math.max(0,x);B.beginPath();B.arc((v[u][0]+((z?z[u][0]:0.5)-v[u][0])*h)*k,(v[u][1]+((z?z[u][1]:0.5)-v[u][1])*h)*p,x,0,2*Math.PI,false);B.fillStyle=s[u][0];B.fill()}}this.go=function(B,w){if(i){n.find(".ws_list").css("transform","translate3d(0,0,0)").stop(true).animate({left:(B?-B+"00%":(/Safari/.test(navigator.userAgent)?"0%":0))},b.duration,"easeInOutExpo",function(){f.trigger("effectEnd")})}else{k=n.width();p=n.height();a.attr({width:k,height:p});var z=l.get(w);for(var x=0,A=s.length;x<A;x++){var u=Math.abs(s[x][1]),h=Math.abs(s[x][2]);s[x][0]=r(z,{x:u*k,y:h*p,w:2,h:2})||s[x][0]}var t=d(c);var v=d(m);var y=d(j);wowAnimate(function(C){q(o,C,t,0,y)},0,1,b.duration/2,function(){n.find(".ws_list").css({left:(B?-B+"00%":(/Safari/.test(navigator.userAgent)?"0%":0))});y=d(j);wowAnimate(function(C){q(o,1-C,v,t,y)},0,1,b.duration/2,function(){o.clearRect(0,0,k,p);f.trigger("effectEnd")})})}};function r(C,t){t=t||{};var E=1,w=t.exclude||[],B;var y=document.createElement("canvas"),v=y.getContext("2d"),u=y.width=C.naturalWidth,I=y.height=C.naturalHeight;v.drawImage(C,0,0,C.naturalWidth,C.naturalHeight);try{B=v.getImageData(t.x?t.x:0,t.y?t.y:0,t.w?t.w:C.width,t.h?t.h:C.height)["data"]}catch(D){return false}var x=(t.w?t.w:C.width*t.h?t.h:C.height)||B.length,z={},G="",F=[],h={dominant:{name:"",count:0}};var A=0;while(A<x){F[0]=B[A];F[1]=B[A+1];F[2]=B[A+2];G=F.join(",");if(G in z){z[G]=z[G]+1}else{z[G]=1}if(w.indexOf(["rgb(",G,")"].join(""))===-1){var H=z[G];if(H>h.dominant.count){h.dominant.name=G;h.dominant.count=H}}A+=E*4}return["rgb(",h.dominant.name,")"].join("")}};
|
||||
|
||||
/* ---------------------------------------------------------------------------
|
||||
* WOWslider Settings
|
||||
* -------------------------------------------------------------------------- */
|
||||
|
||||
jQuery("#wowslider-container1").wowSlider( {
|
||||
effect:"bubbles",
|
||||
duration:20*100, // change effect transition time
|
||||
delay:20*100, // change delay on each slide
|
||||
width:1600,
|
||||
height:800,
|
||||
autoPlay:true, // autoplay slides on load
|
||||
playPause:false, // show a play & pause button
|
||||
stopOnHover:false,
|
||||
loop:false,
|
||||
bullets:0,
|
||||
caption:false, // use a caption on slides
|
||||
controls:true, // use left, right arrows
|
||||
fullScreen:true, // show a fullscreen button
|
||||
|
||||
responsive:3,
|
||||
gestures:2,
|
||||
|
||||
// remove next 3 lines to remove "random" slide order
|
||||
onBeforeStep:function(i, c) {
|
||||
return (i+1 + Math.floor((c-1)*Math.random()))
|
||||
}
|
||||
}
|
||||
|
||||
);
|
||||
@@ -0,0 +1,33 @@
|
||||
/**
|
||||
* WOWslider
|
||||
*
|
||||
* http://wowslider.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_carousel(d,l,o){var f=jQuery,h=f(this),p=f(".ws_list",o).css("opacity",0),s=(/iPhone|iPod|iPad|Android|BlackBerry/).test(navigator.userAgent),m=l.length,r=70,g=80,b=60,t=90,x=2,u=[];var i=f("<div>").addClass("ws_effect ws_carousel").css({position:"absolute",top:0,left:0,width:"100%",height:"100%",overflow:"hidden",perspective:2000}).appendTo(o);var q=[];function k(y,A){for(var z=0;z<y;z++){var B=A?(l.length-y+z):z;while(B<0){B+=y-l.length}while(B>l.length-1){B-=y-l.length}q.push({item:f("<div>").append(f(l[B]).clone().css({outline:"1px solid transparent"})).css({position:"absolute",overflow:"hidden",top:0,left:0,width:"100%",height:"100%"}).appendTo(i),id:B});if(d.images){u.push(!d.images[B].noimage)}}}k(x,true);k(l.length);k(x);function e(){var z=f(l[0]);z={width:z.width(),height:z.height(),marginTop:parseFloat(z.css("marginTop")),marginLeft:parseFloat(z.css("marginLeft"))};for(var y in q){if(q[y]&&q[y].item){f(q[y].item).find("img").css(z)}}}function w(C){C*=-1;var y=[];for(var z in q){var B={};var A=x-z;y.push(A!=C?C-A:0)}return y}function c(B,A,y,z){wowAnimate(function(C){n(B,A,C)},0,1,y,z)}function v(A,z,y){return A+(z-A)*y}function a(z,y){if(d.support.transform){z.css({transform:"scale("+y.scale+") translate3d("+y.offset+"%,0,0) rotateY("+y.rotate+"deg)",zIndex:y.zIndex})}else{z.css({left:(100*(1-y.scale)/2+y.offset*0.85)+"%",top:(100*(1-y.scale)/2)+"%",width:(100*y.scale)+"%"})}}function n(F,G,E,C){if(!C){E=f.easing.easeInOutQuart(1,E,0,1,1,1)}for(var D in F){var A=v(F[D],G[D],E)*t;var H=r/100;var B=0;var z=F[D]*(F[D]>0?-1:1);var y=A>0?-1:1;if(E>0.5){z=G[D]*(G[D]>0?-1:1)}if(F[D]===0){H=v(g,r,E)/100;B=v(0,y*b,E)}if(G[D]===0){H=v(r,g,E)/100;B=v(y*b,0,E)}if(G[D]!==0&&F[D]!==0){B=y*b}if(q[D]&&q[D].item){a(q[D].item,{scale:H,offset:A,rotate:B,zIndex:z})}}}var j=w(d.startSlide);c(j,j,0);e();f(window).on("load resize",e);this.go=function(z,B){e();p.css("opacity",0);if(d.images&&!u[z+x]){var A=z+x;u[A]=true;function y(C){return C.find("img").attr("src",d.images[z].src)}y(q[A].item);if(z<x){y(q[q.length-z].item)}if(z+x>=l.length){y(q[z+x-l.length].item)}}if(window.XMLHttpRequest){if(B==l.length-1&&z==0){z=B+1}if(B==0&&z==l.length-1){z=-1}c(w(B),w(z),d.duration,function(){h.trigger("effectEnd")})}else{p.stop(true).animate({left:(z?-z+"00%":(/Safari/.test(navigator.userAgent)?"0%":0))},d.duration,"easeInOutExpo",function(){h.trigger("effectEnd")})}};this.step=function(A,y){var z=A+(y<0?1:-1);if(y<0){y*=-1}n(w(A),w(z),y,true)}};
|
||||
|
||||
/* ---------------------------------------------------------------------------
|
||||
* WOWslider Settings
|
||||
* -------------------------------------------------------------------------- */
|
||||
|
||||
jQuery("#wowslider-container1").wowSlider( {
|
||||
effect:"carousel",
|
||||
duration:20*100, // change effect transition time
|
||||
delay:20*100, // change delay on each slide
|
||||
width:1600,
|
||||
height:800,
|
||||
autoPlay:true, // autoplay slides on load
|
||||
playPause:false, // show a play & pause button
|
||||
stopOnHover:false,
|
||||
loop:false,
|
||||
bullets:0,
|
||||
caption:false, // use a caption on slides
|
||||
controls:true, // use left, right arrows
|
||||
fullScreen:true, // show a fullscreen button
|
||||
|
||||
responsive:3,
|
||||
gestures:2,
|
||||
|
||||
|
||||
}
|
||||
|
||||
);
|
||||
@@ -0,0 +1,33 @@
|
||||
/**
|
||||
* WOWslider
|
||||
*
|
||||
* http://wowslider.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_carousel_basic(d,l,o){var f=jQuery,h=f(this),p=f(".ws_list",o).css("opacity",0),s=(/iPhone|iPod|iPad|Android|BlackBerry/).test(navigator.userAgent),m=l.length,r=90,g=100,b=60,t=90,x=2,u=[];var i=f("<div>").addClass("ws_effect ws_carousel_basic").css({position:"absolute",top:0,left:0,width:"100%",height:"100%",overflow:"hidden",perspective:2000}).appendTo(o);var q=[];function k(y,A){for(var z=0;z<y;z++){var B=A?(l.length-y+z):z;while(B<0){B+=y-l.length}while(B>l.length-1){B-=y-l.length}q.push({item:f("<div>").append(f(l[B]).clone().css({outline:"1px solid transparent"})).css({position:"absolute",overflow:"hidden",top:0,left:0,width:"100%",height:"100%"}).appendTo(i),id:B});if(d.images){u.push(!d.images[B].noimage)}}}k(x,true);k(l.length);k(x);function e(){var z=f(l[0]);z={width:z.width(),height:z.height(),marginTop:parseFloat(z.css("marginTop")),marginLeft:parseFloat(z.css("marginLeft"))};for(var y in q){if(q[y]&&q[y].item){f(q[y].item).find("img").css(z)}}}function w(C){C*=-1;var y=[];for(var z in q){var B={};var A=x-z;y.push(A!=C?C-A:0)}return y}function c(B,A,y,z){wowAnimate(function(C){n(B,A,C)},0,1,y,z)}function v(A,z,y){return A+(z-A)*y}function a(z,y){if(d.support.transform){z.css({transform:"scale("+y.scale+") translate3d("+y.offset+"%,0,0) rotateY("+y.rotate+"deg)",zIndex:y.zIndex})}else{z.css({left:(100*(1-y.scale)/2+y.offset*0.85)+"%",top:(100*(1-y.scale)/2)+"%",width:(100*y.scale)+"%"})}}function n(F,G,E,C){if(!C){E=f.easing.easeInOutQuart(1,E,0,1,1,1)}for(var D in F){var A=v(F[D],G[D],E)*t;var H=r/100;var B=0;var z=F[D]*(F[D]>0?-1:1);var y=A>0?-1:1;if(E>0.5){z=G[D]*(G[D]>0?-1:1)}if(F[D]===0){H=v(g,r,E)/100;B=v(0,y*b,E)}if(G[D]===0){H=v(r,g,E)/100;B=v(y*b,0,E)}if(G[D]!==0&&F[D]!==0){B=y*b}if(q[D]&&q[D].item){a(q[D].item,{scale:H,offset:A,rotate:B,zIndex:z})}}}var j=w(d.startSlide);c(j,j,0);e();f(window).on("load resize",e);this.go=function(z,B){e();if(d.images&&!u[z+x]){var A=z+x;u[A]=true;function y(C){return C.find("img").attr("src",d.images[z].src)}y(q[A].item);if(z<x){y(q[q.length-z].item)}if(z+x>=l.length){y(q[z+x-l.length].item)}}if(window.XMLHttpRequest){if(B==l.length-1&&z==0){z=B+1}if(B==0&&z==l.length-1){z=-1}c(w(B),w(z),d.duration,function(){h.trigger("effectEnd")})}else{p.stop(true).animate({left:(z?-z+"00%":(/Safari/.test(navigator.userAgent)?"0%":0))},d.duration,"easeInOutExpo",function(){h.trigger("effectEnd")})}};this.step=function(A,y){var z=A+(y<0?1:-1);if(y<0){y*=-1}n(w(A),w(z),y,true)}};
|
||||
|
||||
/* ---------------------------------------------------------------------------
|
||||
* WOWslider Settings
|
||||
* -------------------------------------------------------------------------- */
|
||||
|
||||
jQuery("#wowslider-container1").wowSlider( {
|
||||
effect:"carousel_basic",
|
||||
duration:20*100, // change effect transition time
|
||||
delay:20*100, // change delay on each slide
|
||||
width:1600,
|
||||
height:800,
|
||||
autoPlay:true, // autoplay slides on load
|
||||
playPause:false, // show a play & pause button
|
||||
stopOnHover:false,
|
||||
loop:false,
|
||||
bullets:0,
|
||||
caption:false, // use a caption on slides
|
||||
controls:true, // use left, right arrows
|
||||
fullScreen:true, // show a fullscreen button
|
||||
|
||||
responsive:3,
|
||||
gestures:2
|
||||
|
||||
|
||||
}
|
||||
|
||||
);
|
||||
36
website/Boson/HTML/plugins/wow-slider/scripts/script-cube.js
Normal file
36
website/Boson/HTML/plugins/wow-slider/scripts/script-cube.js
Normal file
@@ -0,0 +1,36 @@
|
||||
/**
|
||||
* WOWslider
|
||||
*
|
||||
* http://wowslider.com
|
||||
*/
|
||||
function ws_cube(p,k,b){var e=jQuery,j=e(this),a=/WOW Slider/g.test(navigator.userAgent),l=!(/iPhone|iPod|iPad|Android|BlackBerry/).test(navigator.userAgent)&&!a,g=e(".ws_list",b),c=p.perspective||2000,d={position:"absolute",backgroundSize:"cover",left:0,top:0,width:"100%",height:"100%",backfaceVisibility:"hidden"};var o={domPrefixes:" Webkit Moz ms O Khtml".split(" "),testDom:function(r){var q=this.domPrefixes.length;while(q--){if(typeof document.body.style[this.domPrefixes[q]+r]!=="undefined"){return true}}return false},cssTransitions:function(){return this.testDom("Transition")},cssTransforms3d:function(){var r=(typeof document.body.style.perspectiveProperty!=="undefined")||this.testDom("Perspective");if(r&&/AppleWebKit/.test(navigator.userAgent)){var t=document.createElement("div"),q=document.createElement("style"),s="Test3d"+Math.round(Math.random()*99999);q.textContent="@media (-webkit-transform-3d){#"+s+"{height:3px}}";document.getElementsByTagName("head")[0].appendChild(q);t.id=s;document.body.appendChild(t);r=t.offsetHeight===3;q.parentNode.removeChild(q);t.parentNode.removeChild(t)}return r},webkit:function(){return/AppleWebKit/.test(navigator.userAgent)&&!/Chrome/.test(navigator.userAgent)}};var f=(o.cssTransitions()&&o.cssTransforms3d()),m=o.webkit();var i=e("<div>").css(d).css({transformStyle:"preserve-3d",perspective:(m&&!a?"none":c),zIndex:8});e("<div>").addClass("ws_effect ws_cube").css(d).append(i).appendTo(b);if(!f&&p.fallback){return new p.fallback(p,k,b)}function n(q,r,t,s){return"inset "+(-s*q*1.2/90)+"px "+(t*r*1.2/90)+"px "+(q+r)/20+"px rgba("+((t<s)?"0,0,0,.6":(t>s)?"255,255,255,0.8":"0,0,0,.0")+")"}var h;this.go=function(B,y){var t=e(k[y]);t={width:t.width(),height:t.height(),marginTop:parseFloat(t.css("marginTop")),marginLeft:parseFloat(t.css("marginLeft"))};function s(S,F,H,I,G,E,Q,R,P,O){S.parent().css("perspective",c);var N=S.width(),K=S.height();F.front.css({transform:"translate3d(0,0,0) rotateY(0deg) rotateX(0deg)"});F.back.css({opacity:1,transform:"translate3d(0,0,0) rotateY("+Q+"deg) rotateX("+E+"deg)"});if(l){var J=e("<div>").css(d).css("boxShadow",n(N,K,0,0)).appendTo(F.front);var M=e("<div>").css(d).css("boxShadow",n(N,K,E,Q)).appendTo(F.back)}if(m&&!/WOW Slider/g.test(navigator.userAgent)){S.css({transform:"translateZ(-"+H+"px)"})}var L=setTimeout(function(){var w="all "+p.duration+"ms cubic-bezier(0.645, 0.045, 0.355, 1.000)";F.front.css({transition:w,boxShadow:l?n(N,K,R,P):"",transform:"rotateX("+R+"deg) rotateY("+P+"deg)",zIndex:0});F.back.css({transition:w,boxShadow:l?n(N,K,0,0):"",transform:"rotateY(0deg) rotateX(0deg)",zIndex:20});if(l){J.css({transition:w,boxShadow:n(N,K,R,P)});M.css({transition:w,boxShadow:n(N,K,0,0)})}L=setTimeout(O,p.duration)},20);return{stop:function(){clearTimeout(L);O()}}}if(f){if(h){h.stop()}var C=b.width(),z=b.height();var x={left:[C/2,C/2,0,0,90,0,-90],right:[C/2,-C/2,0,0,-90,0,90],down:[z/2,0,-z/2,90,0,-90,0],up:[z/2,0,z/2,-90,0,90,0]}[p.direction||["left","right","down","up"][Math.floor(Math.random()*4)]];var D=e("<img>").css(t),v=e("<img>").css(t).attr("src",k.get(B).src);var q=e("<div>").css({overflow:"hidden",transformOrigin:"50% 50% -"+x[0]+"px",zIndex:20}).css(d).append(D).appendTo(i);var r=e("<div>").css({overflow:"hidden",transformOrigin:"50% 50% -"+x[0]+"px",zIndex:0}).css(d).append(v).appendTo(i);D.on("load",function(){g.hide()});D.attr("src",k.get(y).src).load();i.parent().show();h=new s(i,{front:q,back:r},x[0],x[1],x[2],x[3],x[4],x[5],x[6],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 u=(!!((B-y+1)%k.length)^p.revers?"left":"right");var q=e("<div>").css({position:"absolute",left:"0%",right:"auto",top:0,width:"100%",height:"100%"}).css(u,0).append(e(k[y]).clone().css({width:100*t.width/b.width()+"%",height:100*t.height/b.height()+"%",marginLeft:100*t.marginLeft/b.width()+"%"})).appendTo(i);var A=e("<div>").css({position:"absolute",left:"100%",right:"auto",top:0,width:"0%",height:"100%"}).append(e(k[B]).clone().css({width:100*t.width/b.width()+"%",height:100*t.height/b.height()+"%",marginLeft:100*t.marginLeft/b.width()+"%"})).appendTo(i);i.css({left:"auto",right:"auto",top:0}).css(u,0).show();i.show();g.hide();A.animate({width:"100%",left:0},p.duration,"easeInOutExpo",function(){e(this).remove()});q.animate({width:0},p.duration,"easeInOutExpo",function(){j.trigger("effectEnd");i.empty().hide()})}}};
|
||||
|
||||
/* ---------------------------------------------------------------------------
|
||||
* WOWslider Settings
|
||||
* -------------------------------------------------------------------------- */
|
||||
|
||||
jQuery("#wowslider-container1").wowSlider( {
|
||||
effect:"cube",
|
||||
duration:20*100, // change effect transition time
|
||||
delay:20*100, // change delay on each slide
|
||||
width:1000,
|
||||
height:450,
|
||||
autoPlay:true, // autoplay slides on load
|
||||
playPause:false, // show a play & pause button
|
||||
stopOnHover:false,
|
||||
loop:false,
|
||||
bullets:0,
|
||||
caption:false, // use a caption on slides
|
||||
controls:false, // use left, right arrows
|
||||
fullScreen:true, // show a fullscreen button
|
||||
|
||||
responsive:1,
|
||||
gestures:2,
|
||||
|
||||
// remove next 3 lines to remove "random" slide order
|
||||
onBeforeStep:function(i, c) {
|
||||
return (i+1 + Math.floor((c-1)*Math.random()))
|
||||
}
|
||||
}
|
||||
|
||||
);
|
||||
@@ -0,0 +1,36 @@
|
||||
/**
|
||||
* WOWslider
|
||||
*
|
||||
* http://wowslider.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("")}};
|
||||
|
||||
/* ---------------------------------------------------------------------------
|
||||
* WOWslider Settings
|
||||
* -------------------------------------------------------------------------- */
|
||||
|
||||
jQuery("#wowslider-container1").wowSlider( {
|
||||
effect:"cube_over",
|
||||
duration:20*100, // change effect transition time
|
||||
delay:20*100, // change delay on each slide
|
||||
width:1000,
|
||||
height:450,
|
||||
autoPlay:true, // autoplay slides on load
|
||||
playPause:false, // show a play & pause button
|
||||
stopOnHover:false,
|
||||
loop:false,
|
||||
bullets:0,
|
||||
caption:false, // use a caption on slides
|
||||
controls:false, // use left, right arrows
|
||||
fullScreen:true, // show a fullscreen button
|
||||
|
||||
responsive:1,
|
||||
gestures:2,
|
||||
|
||||
// remove next 3 lines to remove "random" slide order
|
||||
onBeforeStep:function(i, c) {
|
||||
return (i+1 + Math.floor((c-1)*Math.random()))
|
||||
}
|
||||
}
|
||||
|
||||
);
|
||||
@@ -0,0 +1,36 @@
|
||||
/**
|
||||
* WOWslider
|
||||
*
|
||||
* http://wowslider.com
|
||||
*/
|
||||
jQuery.extend(jQuery.easing,{easeInOutSine:function(j,i,b,c,d){return -c/2*(Math.cos(Math.PI*i/d)-1)+b}});function ws_domino(m,i,k){$=jQuery;var h=$(this);var c=m.columns||5,l=m.rows||2,d=m.centerRow||2,g=m.centerColumn||2;var f=$("<div>").addClass("ws_effect ws_domino").css({position:"absolute",width:"100%",height:"100%",top:0,overflow:"hidden"}).appendTo(k);var b=$("<div>").addClass("ws_zoom").appendTo(f);var j=$("<div>").addClass("ws_parts").appendTo(f);var e=k.find(".ws_list");var a;this.go=function(y,x){function z(){j.find("img").stop(1,1);j.empty();b.empty();a=0}z();var s=$(i.get(x));s={width:s.width(),height:s.height(),marginTop:parseFloat(s.css("marginTop")),marginLeft:parseFloat(s.css("marginLeft"))};var D=$(i.get(x)).clone().appendTo(b).css({position:"absolute",top:0,left:0}).css(s);var p=f.width();var o=f.height();var w=Math.floor(p/c);var v=Math.floor(o/l);var t=p-w*(c-1);var E=o-v*(l-1);function I(L,K){return Math.random()*(K-L+1)+L}e.hide();var u=[];for(var C=0;C<l;C++){u[C]=[];for(var B=0;B<c;B++){var q=m.duration*(1-Math.abs((d*g-C*B)/(2*l*c)));var F=B<c-1?w:t;var n=C<l-1?v:E;u[C][B]=$("<div>").css({width:F,height:n,position:"absolute",top:C*v,left:B*w,overflow:"hidden"});var H=I(C-2,C+2);var G=I(B-2,B+2);u[C][B].appendTo(j);var J=$(i.get(y)).clone().appendTo(u[C][B]).css(s);var A={top:-H*v,left:-G*w,opacity:0};var r={top:-C*v,left:-B*w,opacity:1};if(m.support.transform&&m.support.transition){A.translate=[A.left,A.top,0];r.translate=[r.left,r.top,0];delete A.top;delete A.left;delete r.top;delete r.left}wowAnimate(J.css({position:"absolute"}),A,r,q,"easeInOutSine",function(){a++;if(a==l*c){z();e.stop(1,1);h.trigger("effectEnd")}})}}wowAnimate(D,{scale:1},{scale:1.6},m.duration,m.duration*0.2,"easeInOutSine")}};
|
||||
|
||||
/* ---------------------------------------------------------------------------
|
||||
* WOWslider Settings
|
||||
* -------------------------------------------------------------------------- */
|
||||
|
||||
jQuery("#wowslider-container1").wowSlider( {
|
||||
effect:"domino",
|
||||
duration:20*100, // change effect transition time
|
||||
delay:20*100, // change delay on each slide
|
||||
width:1000,
|
||||
height:450,
|
||||
autoPlay:true, // autoplay slides on load
|
||||
playPause:false, // show a play & pause button
|
||||
stopOnHover:false,
|
||||
loop:false,
|
||||
bullets:0,
|
||||
caption:false, // use a caption on slides
|
||||
controls:false, // use left, right arrows
|
||||
fullScreen:true, // show a fullscreen button
|
||||
|
||||
responsive:1,
|
||||
gestures:2,
|
||||
|
||||
// remove next 3 lines to remove "random" slide order
|
||||
onBeforeStep:function(i, c) {
|
||||
return (i+1 + Math.floor((c-1)*Math.random()))
|
||||
}
|
||||
}
|
||||
|
||||
);
|
||||
@@ -0,0 +1,36 @@
|
||||
/**
|
||||
* WOWslider
|
||||
*
|
||||
* http://wowslider.com
|
||||
*/
|
||||
jQuery.extend(jQuery.easing,{easeOutBackCubic:function(e,f,a,j,i,g){var h=(f/=i)*f;return a+j*(-1.5*h*f*h+2*h*h+4*h*f+-9*h+5.5*f)}});function ws_dribbles(p,k,a){var e=jQuery;var j=e(this);var n=p.noCanvas||!document.createElement("canvas").getContext;var m=p.width,f=p.height;var i=e("<div>").css({position:"absolute",top:0,left:0,width:"100%",height:"100%",overflow:"hidden"}).addClass("ws_effect ws_dribbles").appendTo(a);if(!n){var c=e("<canvas>").css({position:"absolute",left:0,top:0,width:"100%",height:"100%"}).appendTo(i);var o=c.get(0).getContext("2d")}var l=[["#bbbbbb",0.1,0.3,0.18],["#b3b3b3",0.9,0.8,0.15],["#b6b6b6",0.68,0.4,0.2],["#b9b9b9",0.25,0.4,0.15],["#cccccc",0.11,0.7,0.15],["#c3c3c3",0.18,0.1,0.15],["#c6c6c6",0.4,0.2,0.15],["#c9c9c9",0.55,-0.04,0.18],["#d3d3d3",0,0.95,0.13],["#d6d6d6",0.5,0.8,0.22],["#d9d9d9",0.9,0.1,0.18],["#eeeeee",0.3,0.9,0.18],["#e3e3e3",0.93,0.5,0.14],["#e6e6e6",0.7,0.9,0.15]];var d=[[[0.1,0.3,0,1],[0.9,0.8,0.15,0.85],[0.68,0.4,0,0.9],[0.25,0.4,0.21,0.79],[0.11,0.7,0.3,0.7],[0.18,0.1,0.45,0.55],[0.4,0.2,0,0.75],[0.55,-0.04,0.48,0.52],[0,0.95,0.21,0.79],[0.5,0.8,0.1,0.9],[0.9,0.1,0.25,0.75],[0.3,0.9,0.18,0.82],[0.93,0.5,0.4,0.6],[0.7,0.9,0.13,0.87]],[[-0.3,-0.2,0.06,1],[-0.1,-0.3,0.12,1],[-0.2,-0.5,0,1],[-0.1,-0.3,0.24,1],[-0.3,-0.4,0.4,1],[-0.5,-0.1,0.76,1],[-0.2,-0.1,0.62,1],[-0.3,-0.3,0.48,1],[-0.4,-0.1,0.05,1],[-0.5,-0.2,0.6,1],[-0.3,-0.25,0.75,1],[-0.1,-0.4,0.3,1],[-0.2,-0.35,0.95,1],[-0.15,-0.25,0.2,1]],[[1.3,1.2,0.06,1],[1.1,1.3,0.12,1],[1.2,1.5,0,1],[1.1,1.3,0.24,1],[1.3,1.4,0.4,1],[1.5,1.1,0.76,1],[1.2,1.1,0.62,1],[1.3,1.3,0.48,1],[1.4,1.1,0.05,1],[1.5,1.2,0.6,1],[1.3,1.25,0.75,1],[1.1,1.4,0.3,1],[1.2,1.35,0.95,1],[1.15,1.25,0.2,1]],[[0.1,1.3,0,1],[0.9,1.34,0.15,0.85],[0.68,1.23,0,0.9],[0.25,1.5,0.21,0.79],[0.11,1.2,0.3,0.7],[0.18,1.4,0.16,0.84],[0.4,1.17,0,0.75],[0.55,1.2,0,0.52],[0,1.5,0.21,0.79],[0.5,1.45,0,0.9],[0.9,1.34,0.25,0.75],[0.3,1.6,0.18,0.82],[0.93,1.2,0.09,0.91],[0.7,1.15,0.13,0.87]],[[0.1,-0.3,0,1],[0.9,-0.34,0.15,0.85],[0.68,-0.23,0,0.9],[0.25,-0.5,0.21,0.79],[0.11,-0.2,0.3,0.7],[0.18,-0.4,0.16,0.84],[0.4,-0.17,0,0.75],[0.55,-0.2,0,0.52],[0,-0.5,0.21,0.79],[0.5,-0.45,0,0.9],[0.9,-0.34,0.25,0.75],[0.3,-0.6,0.18,0.82],[0.93,-0.2,0.09,0.91],[0.7,-0.15,0.13,0.87]],[[-0.2,-0.1,0,1],[1.3,1.1,0.15,0.85],[0.48,1.4,0,0.9],[1.2,1.6,0.21,0.79],[1.11,-0.15,0.3,0.7],[0.28,1.3,0.16,0.84],[-0.1,-0.4,0,0.75],[0.15,1.3,0,0.52],[-0.5,0.85,0.21,0.79],[-0.2,0.7,0,0.9],[1.4,0.2,0.25,0.75],[1.1,1.5,0.18,0.82],[-0.43,-0.2,0.09,0.91],[0.7,1.5,0.13,0.87]]];function b(y,w,t,q){y.clearRect(0,0,m,f);for(var r=0,v=t.length;r<v;r++){var s=2-t[r][3];var x=t[r][2]*(1-w);var h=Math.max(0,Math.min(1,w*s-x));if(q&&e.easing[q]){h=e.easing[q](1,h,0,1,1,1)}var u=m;if(m/f<=1.8&&m/f>0.7){u*=2}else{if(m/f<=0.7){u=f*2}}y.beginPath();y.arc((t[r][0]+(l[r][1]-t[r][0])*h)*m,(t[r][1]+(l[r][2]-t[r][1])*h)*f,l[r][3]*h*u,0,2*Math.PI,false);y.fillStyle=l[r][0];y.fill()}}this.go=function(x,s){if(n){a.find(".ws_list").css("transform","translate3d(0,0,0)").stop(true).animate({left:(x?-x+"00%":(/Safari/.test(navigator.userAgent)?"0%":0))},p.duration,"easeInOutExpo",function(){j.trigger("effectEnd")})}else{m=a.width();f=a.height();var u=Math.floor(Math.random()*(d.length));var y=d[u];var r=d[Math.floor(Math.random()*(d.length))];c.attr({width:m,height:f});var v=k.get(u==0?s:x);for(var t=0,w=l.length;t<w;t++){var q=Math.abs(l[t][1]),h=Math.abs(l[t][2]);l[t][0]=g(v,{x:q*m,y:h*f,w:2,h:2})||l[t][0]}wowAnimate(function(z){b(o,z,y,"easeOutBackCubic")},0,1,p.duration/2,function(){a.find(".ws_list").css({left:(x?-x+"00%":(/Safari/.test(navigator.userAgent)?"0%":0))});wowAnimate(function(z){b(o,1-z,r,"easeOutBackCubic")},0,1,p.duration/2,function(){o.clearRect(0,0,m,f);j.trigger("effectEnd")})})}};function g(z,q){q=q||{};var B=1,t=q.exclude||[],y;var v=document.createElement("canvas"),s=v.getContext("2d"),r=v.width=z.naturalWidth,F=v.height=z.naturalHeight;s.drawImage(z,0,0,z.naturalWidth,z.naturalHeight);try{y=s.getImageData(q.x?q.x:0,q.y?q.y:0,q.w?q.w:z.width,q.h?q.h:z.height)["data"]}catch(A){return false}var u=(q.w?q.w:z.width*q.h?q.h:z.height)||y.length,w={},D="",C=[],h={dominant:{name:"",count:0}};var x=0;while(x<u){C[0]=y[x];C[1]=y[x+1];C[2]=y[x+2];D=C.join(",");if(D in w){w[D]=w[D]+1}else{w[D]=1}if(t.indexOf(["rgb(",D,")"].join(""))===-1){var E=w[D];if(E>h.dominant.count){h.dominant.name=D;h.dominant.count=E}}x+=B*4}return["rgb(",h.dominant.name,")"].join("")}};
|
||||
|
||||
/* ---------------------------------------------------------------------------
|
||||
* WOWslider Settings
|
||||
* -------------------------------------------------------------------------- */
|
||||
|
||||
jQuery("#wowslider-container1").wowSlider( {
|
||||
effect:"dribbles",
|
||||
duration:20*100, // change effect transition time
|
||||
delay:20*100, // change delay on each slide
|
||||
width:1600,
|
||||
height:800,
|
||||
autoPlay:true, // autoplay slides on load
|
||||
playPause:false, // show a play & pause button
|
||||
stopOnHover:false,
|
||||
loop:false,
|
||||
bullets:0,
|
||||
caption:false, // use a caption on slides
|
||||
controls:true, // use left, right arrows
|
||||
fullScreen:true, // show a fullscreen button
|
||||
|
||||
responsive:3,
|
||||
gestures:2,
|
||||
|
||||
// remove next 3 lines to remove "random" slide order
|
||||
onBeforeStep:function(i, c) {
|
||||
return (i+1 + Math.floor((c-1)*Math.random()))
|
||||
}
|
||||
}
|
||||
|
||||
);
|
||||
36
website/Boson/HTML/plugins/wow-slider/scripts/script-fade.js
Normal file
36
website/Boson/HTML/plugins/wow-slider/scripts/script-fade.js
Normal file
@@ -0,0 +1,36 @@
|
||||
/**
|
||||
* WOWslider
|
||||
*
|
||||
* http://wowslider.com
|
||||
*/
|
||||
function ws_fade(c,a,b){var e=jQuery,g=e(this),d=e(".ws_list",b),h={position:"absolute",left:0,top:0,width:"100%",height:"100%",maxHeight:"none",maxWidth:"none",transform:"translate3d(0,0,0)"},f=e("<div>").addClass("ws_effect ws_fade").css(h).css("overflow","hidden").appendTo(b);this.go=function(i,j){var k=e(a.get(i)),m={width:k.width(),height:k.height()};k=k.clone().css(h).css(m).appendTo(f);if(!c.noCross){var l=e(a.get(j)).clone().css(h).css(m).appendTo(f);wowAnimate(l,{opacity:1},{opacity:0},c.duration,function(){l.remove()})}wowAnimate(k,{opacity:0},{opacity:1},c.duration,function(){g.trigger("effectEnd");k.remove()})}};
|
||||
|
||||
/* ---------------------------------------------------------------------------
|
||||
* WOWslider Settings
|
||||
* -------------------------------------------------------------------------- */
|
||||
|
||||
jQuery("#wowslider-container1").wowSlider( {
|
||||
effect:"fade",
|
||||
duration:20*100, // change effect transition time
|
||||
delay:20*100, // change delay on each slide
|
||||
width:1000,
|
||||
height:450,
|
||||
autoPlay:true, // autoplay slides on load
|
||||
playPause:false, // show a play & pause button
|
||||
stopOnHover:false,
|
||||
loop:false,
|
||||
bullets:0,
|
||||
caption:false, // use a caption on slides
|
||||
controls:false, // use left, right arrows
|
||||
fullScreen:true, // show a fullscreen button
|
||||
|
||||
responsive:1,
|
||||
gestures:2,
|
||||
|
||||
// remove next 3 lines to remove "random" slide order
|
||||
// onBeforeStep:function(i, c) {
|
||||
// return (i+1 + Math.floor((c-1)*Math.random()))
|
||||
// }
|
||||
}
|
||||
|
||||
);
|
||||
36
website/Boson/HTML/plugins/wow-slider/scripts/script-fly.js
Normal file
36
website/Boson/HTML/plugins/wow-slider/scripts/script-fly.js
Normal file
@@ -0,0 +1,36 @@
|
||||
/**
|
||||
* WOWslider
|
||||
*
|
||||
* http://wowslider.com
|
||||
*/
|
||||
function ws_fly(c,a,b){var e=jQuery;var f=e(this);var h={position:"absolute",left:0,top:0,width:"100%",height:"100%",transform:"translate3d(0,0,0)"};var d=b.find(".ws_list");var g=e("<div>").addClass("ws_effect ws_fly").css(h).css({overflow:"visible"}).appendTo(b);this.go=function(p,m,l){if(l==undefined){l=!!c.revers}else{l=!l}var k=-(c.distance||g.width()/4),n=Math.min(-k,Math.max(0,e(window).width()-g.offset().left-g.width())),i=(l?n:k),q=(l?k:n);var j=e(a.get(m));j={width:j.width(),height:j.height()};var r=e("<div>").css(h).css({"z-index":1,overflow:"hidden"}).html(e(a.get(m)).clone().css(j)).appendTo(g);var o=e("<div>").css(h).css({"z-index":3,overflow:"hidden"}).html(e(a.get(p)).clone().css(j)).appendTo(g).show();wowAnimate(o,{opacity:0},{opacity:1},c.duration);wowAnimate(o,{left:i},{left:0},2*c.duration/3);d.hide();wowAnimate(r,{left:0,opacity:1},{left:q,opacity:0},2*c.duration/3,c.duration/3,function(){r.remove();f.trigger("effectEnd");o.remove()})}};
|
||||
|
||||
/* ---------------------------------------------------------------------------
|
||||
* WOWslider Settings
|
||||
* -------------------------------------------------------------------------- */
|
||||
|
||||
jQuery("#wowslider-container1").wowSlider( {
|
||||
effect:"fly",
|
||||
duration:13*100, // change effect transition time
|
||||
delay:20*100, // change delay on each slide
|
||||
width:1000,
|
||||
height:450,
|
||||
autoPlay:true, // autoplay slides on load
|
||||
playPause:false, // show a play & pause button
|
||||
stopOnHover:false,
|
||||
loop:false,
|
||||
bullets:0,
|
||||
caption:false, // use a caption on slides
|
||||
controls:false, // use left, right arrows
|
||||
fullScreen:true, // show a fullscreen button
|
||||
|
||||
responsive:1,
|
||||
gestures:2,
|
||||
|
||||
// remove next 3 lines to remove "random" slide order
|
||||
onBeforeStep:function(i, c) {
|
||||
return (i+1 + Math.floor((c-1)*Math.random()))
|
||||
}
|
||||
}
|
||||
|
||||
);
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,36 @@
|
||||
/**
|
||||
* WOWslider
|
||||
*
|
||||
* http://wowslider.com
|
||||
*/
|
||||
function ws_kenburns(d,l,m){var e=jQuery;var g=e(this);var f=document.createElement("canvas").getContext;var i=e("<div>").css({position:"absolute",top:0,left:0,width:"100%",height:"100%",overflow:"hidden"}).addClass("ws_effect ws_kenburns").appendTo(m);var o=d.paths||[{from:[0,0,1],to:[0,0,1.2]},{from:[0,0,1.2],to:[0,0,1]},{from:[1,0,1],to:[1,0,1.2]},{from:[0,1,1.2],to:[0,1,1]},{from:[1,1,1],to:[1,1,1.2]},{from:[0.5,1,1],to:[0.5,1,1.3]},{from:[1,0.5,1.2],to:[1,0.5,1]},{from:[1,0.5,1],to:[1,0.5,1.2]},{from:[0,0.5,1.2],to:[0,0.5,1]},{from:[1,0.5,1.2],to:[1,0.5,1]},{from:[0.5,0.5,1],to:[0.5,0.5,1.2]},{from:[0.5,0.5,1.3],to:[0.5,0.5,1]},{from:[0.5,1,1],to:[0.5,0,1.15]}];function c(h){return o[h?Math.floor(Math.random()*(f?o.length:Math.min(5,o.length))):0]}var k=d.width,p=d.height;var j,b;var a,r;function n(){a=e('<div style="width:100%;height:100%"></div>').css({"z-index":8,position:"absolute",left:0,top:0}).appendTo(i)}n();function s(w,t,h){var u={width:100*w[2]+"%"};u[t?"right":"left"]=-100*(w[2]-1)*(t?(1-w[0]):w[0])+"%";u[h?"bottom":"top"]=-100*(w[2]-1)*(h?(1-w[1]):w[1])+"%";if(!f){for(var v in u){if(/\%/.test(u[v])){u[v]=(/right|left|width/.test(v)?k:p)*parseFloat(u[v])/100+"px"}}}return u}function q(w,z,A){var t=e(w);t={width:t.width(),height:t.height(),marginTop:t.css("marginTop"),marginLeft:t.css("marginLeft")};if(f){if(b){b.stop(1)}b=j}if(r){r.remove()}r=a;n();if(A){a.hide();r.stop(true,true)}if(f){var y,x;var u,h;u=e('<canvas width="'+k+'" height="'+p+'"/>');u.css({position:"absolute",left:0,top:0}).css(t).appendTo(a);y=u.get(0).getContext("2d");h=u.clone().appendTo(a);x=h.get(0).getContext("2d");j=wowAnimate(function(B){var D=[z.from[0]*(1-B)+B*z.to[0],z.from[1]*(1-B)+B*z.to[1],z.from[2]*(1-B)+B*z.to[2]];x.drawImage(w,-k*(D[2]-1)*D[0],-p*(D[2]-1)*D[1],k*D[2],p*D[2]);y.clearRect(0,0,k,p);var C=y;y=x;x=C},0,1,d.duration+d.delay*2)}else{k=t.width;p=t.height;var v=e('<img src="../../wow-slider/engine1/'+w.src+'"/>').css({position:"absolute",left:"auto",right:"auto",top:"auto",bottom:"auto"}).appendTo(a).css(s(z.from,z.from[0]>0.5,z.from[1]>0.5)).animate(s(z.to,z.from[0]>0.5,z.from[1]>0.5),{easing:"linear",queue:false,duration:(1.5*d.duration+d.delay)})}if(A){a.fadeIn(d.duration)}}if(d.effect.length==1){e(function(){l.each(function(h){e(this).css({visibility:"hidden"});if(h==d.startSlide){q(this,c(h),0)}})})}this.go=function(h,t){setTimeout(function(){g.trigger("effectEnd")},d.duration);q(l.get(h),c(h),1)}};
|
||||
|
||||
/* ---------------------------------------------------------------------------
|
||||
* WOWslider Settings
|
||||
* -------------------------------------------------------------------------- */
|
||||
|
||||
jQuery("#wowslider-container1").wowSlider( {
|
||||
effect:"kenburns",
|
||||
duration:20*100, // change effect transition time
|
||||
delay:20*100, // change delay on each slide
|
||||
width:1000,
|
||||
height:450,
|
||||
autoPlay:true, // autoplay slides on load
|
||||
playPause:false, // show a play & pause button
|
||||
stopOnHover:false,
|
||||
loop:false,
|
||||
bullets:0,
|
||||
caption:false, // use a caption on slides
|
||||
controls:false, // use left, right arrows
|
||||
fullScreen:true, // show a fullscreen button
|
||||
|
||||
responsive:1,
|
||||
gestures:2,
|
||||
|
||||
// remove next 3 lines to remove "random" slide order
|
||||
onBeforeStep:function(i, c) {
|
||||
return (i+1 + Math.floor((c-1)*Math.random()))
|
||||
}
|
||||
}
|
||||
|
||||
);
|
||||
@@ -0,0 +1,36 @@
|
||||
/**
|
||||
* WOWslider
|
||||
*
|
||||
* http://wowslider.com
|
||||
*/
|
||||
jQuery.extend(jQuery.easing,{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},easeOutBackCubic:function(e,f,a,j,i,g){var h=(f/=i)*f;return a+j*(-1.5*h*f*h+2*h*h+4*h*f+-9*h+5.5*f)},easeOutCubic:function(e,f,a,h,g){return h*((f=f/g-1)*f*f+1)+a},easeOutExpo:function(e,f,a,h,g){return(f==g)?a+h:h*(-Math.pow(2,-10*f/g)+1)+a}});function ws_lines(d,l,m){var e=jQuery;var f=e(this);var i=d.noCanvas||!document.createElement("canvas").getContext;var k=d.width,r=d.height;var g=e("<div>").css({position:"absolute",top:0,left:0,width:"100%",height:"100%",overflow:"hidden"}).addClass("ws_effect ws_lines").appendTo(m);if(!i){var b=e("<canvas>").css({position:"absolute",left:0,top:0,width:"100%",height:"100%"}).appendTo(g);var o=b.get(0).getContext("2d")}var s=[["rgb(187,187,187)",0.1,0.3],["rgb(179,179,179)",0.9,0.8],["rgb(182,182,182)",0.68,0.4],["rgb(185,185,185)",0.25,0.4],["rgb(204,204,204)",0.11,0.7],["rgb(195,195,195)",0.18,0.1],["rgb(198,198,198)",0.4,0.2],["rgb(201,201,201)",0.55,-0.04],["rgb(211,211,211)",0,0.95],["rgb(214,214,214)",0.5,0.8],["rgb(217,217,217)",0.9,0.1]];var a=[[0.5,0.4,0.3,0.2,0.1,0,0.1,0.2,0.3,0.4,0.5],[0,0.1,0.2,0.3,0.4,0.5,0.4,0.3,0.2,0.1,0],[0,0.05,0.1,0.15,0.2,0.25,0.3,0.35,0.4,0.45,0.5],[0.5,0.45,0.4,0.35,0.3,0.25,0.2,0.15,0.1,0.05,0],[0.7,0.3,0,0.1,0.5,0.3,0.4,0.1,0.6,0.2,0],];var q=["from-top","from-bottom","width-from-center","height-from-center","fill-half-fill-full"];var j=["easeOutExpo","easeOutCubic","easeOutBackCubic","easeOutBack"];var p=[45,-45,0,180,90,-90];function n(h){h.save();h.setTransform(1,0,0,1,0,0);h.clearRect(0,0,k,r);h.restore()}function c(G,D,I,w,C,y,z){var u=k;var E=r;if(z==45||z==-45){u=E=Math.sqrt(k*k+r*r)}if(z==90||z==-90){u=r;E=k}var B=(u-k)/2;var v=(E-r)/2;n(G);for(var x=0,A=I.length;x<A;x++){var F=I[x]*(1-D);var h=Math.max(0,Math.min(1,D-F));G.beginPath();G.fillStyle=s[x][0];if(w){G.fillStyle=s[x][0].replace(/rgb/g,"rgba").replace(/\)/g,","+Math.min(D+0.1,1)+")")}var H={x:0,y:0,w:0,h:0};switch(C){case"from-top":if(y&&e.easing[y]){h=e.easing[y](1,h,0,1,1,1)}H.w=Math.ceil(0.5+u/A);H.h=E;H.x=(A-x-1)*u/A-B;H.y=-1.5*E*(1-h)-v;break;case"from-bottom":if(y&&e.easing[y]){h=e.easing[y](1,h,0,1,1,1)}H.w=Math.ceil(0.5+u/A);H.h=E;H.x=(A-x-1)*u/A-B;H.y=1.5*E*(1-h)-v;break;case"width-from-center":if(y&&e.easing[y]){h=e.easing[y](1,h,0,1,1,1)}H.w=Math.ceil(0.5+u/A)*h;H.h=E;H.x=(A-x-1)*u/A+(1-h)*u/A/2-B;H.y=-v;break;case"height-from-center":if(y&&e.easing[y]){h=e.easing[y](1,h,0,1,1,1)}H.w=Math.ceil(0.5+u/A);H.h=E*h;H.x=(A-x-1)*u/A-B;H.y=(1-h)*E/2-v;break;case"fill-half-fill-full":if(h<0.5){if(y&&e.easing[y]){h=e.easing[y](0.5,h,0,0.5,0.5,0.5)}}H.w=Math.ceil(0.5+u/A);H.h=E*h;H.x=(A-x-1)*u/A-B;H.y=(1-h)*E/2-v;break}G.fillRect(H.x,H.y,H.w,H.h)}}this.go=function(C,x){if(i){m.find(".ws_list").css("transform","translate3d(0,0,0)").stop(true).animate({left:(C?-C+"00%":(/Safari/.test(navigator.userAgent)?"0%":0))},d.duration,"easeInOutExpo",function(){f.trigger("effectEnd")})}else{k=m.width();r=m.height();var w=a[Math.floor(Math.random()*(a.length))];var E=a[Math.floor(Math.random()*(a.length))];b.attr({width:k,height:r});var A=l.get(x);for(var y=0,B=s.length;y<B;y++){var v=Math.abs(s[y][1]),h=Math.abs(s[y][2]);s[y][0]=t(A,{x:v*k,y:h*r,w:2,h:2})||s[y][0]}var D=q[Math.floor(Math.random()*(q.length))];var z=j[Math.floor(Math.random()*(j.length))];var u=p[Math.floor(Math.random()*(p.length))];o.translate(k/2,r/2);o.rotate(u*Math.PI/180);o.translate(-k/2,-r/2);wowAnimate(function(F){c(o,F,w,true,D,z,u)},0,1,d.duration/2,function(){m.find(".ws_list").css({left:(C?-C+"00%":(/Safari/.test(navigator.userAgent)?"0%":0))});D=q[Math.floor(Math.random()*(q.length))];z=j[Math.floor(Math.random()*(j.length))];wowAnimate(function(F){c(o,1-F,E,false,D,z,u)},0,1,d.duration/2,d.duration*0.15,function(){n(o);f.trigger("effectEnd")})})}};function t(D,u){u=u||{};var F=1,x=u.exclude||[],C;var z=document.createElement("canvas"),w=z.getContext("2d"),v=z.width=D.naturalWidth,J=z.height=D.naturalHeight;w.drawImage(D,0,0,D.naturalWidth,D.naturalHeight);try{C=w.getImageData(u.x?u.x:0,u.y?u.y:0,u.w?u.w:D.width,u.h?u.h:D.height)["data"]}catch(E){return false}var y=(u.w?u.w:D.width*u.h?u.h:D.height)||C.length,A={},H="",G=[],h={dominant:{name:"",count:0}};var B=0;while(B<y){G[0]=C[B];G[1]=C[B+1];G[2]=C[B+2];H=G.join(",");if(H in A){A[H]=A[H]+1}else{A[H]=1}if(x.indexOf(["rgb(",H,")"].join(""))===-1){var I=A[H];if(I>h.dominant.count){h.dominant.name=H;h.dominant.count=I}}B+=F*4}return["rgb(",h.dominant.name,")"].join("")}};
|
||||
|
||||
/* ---------------------------------------------------------------------------
|
||||
* WOWslider Settings
|
||||
* -------------------------------------------------------------------------- */
|
||||
|
||||
jQuery("#wowslider-container1").wowSlider( {
|
||||
effect:"lines",
|
||||
duration:20*100, // change effect transition time
|
||||
delay:20*100, // change delay on each slide
|
||||
width:1600,
|
||||
height:800,
|
||||
autoPlay:true, // autoplay slides on load
|
||||
playPause:false, // show a play & pause button
|
||||
stopOnHover:false,
|
||||
loop:false,
|
||||
bullets:0,
|
||||
caption:false, // use a caption on slides
|
||||
controls:true, // use left, right arrows
|
||||
fullScreen:true, // show a fullscreen button
|
||||
|
||||
responsive:3,
|
||||
gestures:2,
|
||||
|
||||
// remove next 3 lines to remove "random" slide order
|
||||
onBeforeStep:function(i, c) {
|
||||
return (i+1 + Math.floor((c-1)*Math.random()))
|
||||
}
|
||||
}
|
||||
|
||||
);
|
||||
File diff suppressed because one or more lines are too long
36
website/Boson/HTML/plugins/wow-slider/scripts/script-page.js
Normal file
36
website/Boson/HTML/plugins/wow-slider/scripts/script-page.js
Normal file
@@ -0,0 +1,36 @@
|
||||
/**
|
||||
* WOWslider
|
||||
*
|
||||
* http://wowslider.com
|
||||
*/
|
||||
jQuery.extend(jQuery.easing,{easeOutOneBounce:function(e,i,c,a,d,g){var j=0.8;var b=0.2;var f=j*j;if(i<0.0001){return 0}else{if(i<j){return i*i/f}else{return 1-b*b+(i-j-b)*(i-j-b)}}},easeOutBounce:function(e,f,a,h,g){if((f/=g)<(1/2.75)){return h*(7.5625*f*f)+a}else{if(f<(2/2.75)){return h*(7.5625*(f-=(1.5/2.75))*f+0.75)+a}else{if(f<(2.5/2.75)){return h*(7.5625*(f-=(2.25/2.75))*f+0.9375)+a}else{return h*(7.5625*(f-=(2.625/2.75))*f+0.984375)+a}}}}});function ws_page(c,b,a){var e=jQuery;var h=c.angle||17;var g=e(this);var f=e("<div>").addClass("ws_effect ws_page").css({position:"absolute",width:"100%",height:"100%",top:"0%",overflow:"hidden"});var d=a.find(".ws_list");f.hide().appendTo(a);this.go=function(l,j){function o(){f.find("div").stop(1,1);f.hide();f.empty()}o();d.hide();var k=e("<div>").css({position:"absolute",left:0,top:0,width:"100%",height:"100%",overflow:"hidden","z-index":9}).append(e(b.get(l)).clone()).appendTo(f);var i=e("<div>").css({position:"absolute",left:0,top:0,width:"100%",height:"100%",overflow:"hidden",outline:"1px solid transparent","z-index":10,"transform-origin":"top left","backface-visibility":"hidden"}).append(e(b.get(j)).clone()).appendTo(f);f.show();if(c.responsive<3){k.find("img").css("width","100%");i.find("img").css("width","100%")}var q=i;var p=q.width(),m=q.height();var n=!document.addEventListener;wowAnimate(q,{rotate:0},{rotate:h},n?0:2*c.duration/3,"easeOutOneBounce",function(){wowAnimate(q,{top:0},{top:"100%"},(n?2:1)*c.duration/3)});wowAnimate(k,{top:"-100%"},{top:"-30%"},n?0:c.duration/2,function(){wowAnimate(k,{top:"-30%"},{top:0},(n?2:1)*c.duration/2,"easeOutBounce",function(){q.hide();o();g.trigger("effectEnd")})})}};
|
||||
|
||||
/* ---------------------------------------------------------------------------
|
||||
* WOWslider Settings
|
||||
* -------------------------------------------------------------------------- */
|
||||
|
||||
jQuery("#wowslider-container1").wowSlider( {
|
||||
effect:"page",
|
||||
duration:20*100, // change effect transition time
|
||||
delay:20*100, // change delay on each slide
|
||||
width:1600,
|
||||
height:800,
|
||||
autoPlay:true, // autoplay slides on load
|
||||
playPause:false, // show a play & pause button
|
||||
stopOnHover:false,
|
||||
loop:false,
|
||||
bullets:0,
|
||||
caption:false, // use a caption on slides
|
||||
controls:true, // use left, right arrows
|
||||
fullScreen:true, // show a fullscreen button
|
||||
|
||||
responsive:3,
|
||||
gestures:2,
|
||||
|
||||
// remove next 3 lines to remove "random" slide order
|
||||
onBeforeStep:function(i, c) {
|
||||
return (i+1 + Math.floor((c-1)*Math.random()))
|
||||
}
|
||||
}
|
||||
|
||||
);
|
||||
@@ -0,0 +1,36 @@
|
||||
/**
|
||||
* WOWslider
|
||||
*
|
||||
* http://wowslider.com
|
||||
*/
|
||||
function ws_parallax(k,g,a){var c=jQuery;var f=c(this);var d=a.find(".ws_list");var b=k.parallax||0.25;var e=c("<div>").css({position:"absolute",top:0,left:0,width:"100%",height:"100%",overflow:"hidden"}).addClass("ws_effect ws_parallax").appendTo(a);function j(l){return Math.round(l*1000)/1000}var i=c("<div>").css({position:"absolute",left:0,top:0,overflow:"hidden",width:"100%",height:"100%",transform:"translate3d(0,0,0)"}).appendTo(e);var h=i.clone().appendTo(e);this.go=function(l,r,p){var s=c(g.get(r));s={width:s.width(),height:s.height(),marginTop:s.css("marginTop"),marginLeft:s.css("marginLeft")};p=p?1:-1;var n=c(g.get(r)).clone().css(s).appendTo(i);var o=c(g.get(l)).clone().css(s).appendTo(h);var m=a.width()||k.width;var q=a.height()||k.height;d.hide();wowAnimate(function(v){v=c.easing.swing(v);var x=j(p*v*m),u=j(p*(-m+v*m)),t=j(-p*m*b*v),w=j(p*m*b*(1-v));if(k.support.transform){i.css("transform","translate3d("+x+"px,0,0)");n.css("transform","translate3d("+t+"px,0,0)");h.css("transform","translate3d("+u+"px,0,0)");o.css("transform","translate3d("+w+"px,0,0)")}else{i.css("left",x);n.css("margin-left",t);h.css("left",u);o.css("margin-left",w)}},0,1,k.duration,function(){e.hide();n.remove();o.remove();f.trigger("effectEnd")})}};
|
||||
|
||||
/* ---------------------------------------------------------------------------
|
||||
* WOWslider Settings
|
||||
* -------------------------------------------------------------------------- */
|
||||
|
||||
jQuery("#wowslider-container1").wowSlider( {
|
||||
effect:"parallax",
|
||||
duration:20*100, // change effect transition time
|
||||
delay:20*100, // change delay on each slide
|
||||
width:1600,
|
||||
height:800,
|
||||
autoPlay:true, // autoplay slides on load
|
||||
playPause:false, // show a play & pause button
|
||||
stopOnHover:false,
|
||||
loop:false,
|
||||
bullets:0,
|
||||
caption:false, // use a caption on slides
|
||||
controls:true, // use left, right arrows
|
||||
fullScreen:true, // show a fullscreen button
|
||||
|
||||
responsive:3,
|
||||
gestures:2,
|
||||
|
||||
// remove next 3 lines to remove "random" slide order
|
||||
onBeforeStep:function(i, c) {
|
||||
return (i+1 + Math.floor((c-1)*Math.random()))
|
||||
}
|
||||
}
|
||||
|
||||
);
|
||||
@@ -0,0 +1,36 @@
|
||||
/**
|
||||
* WOWslider
|
||||
*
|
||||
* http://wowslider.com
|
||||
*/
|
||||
function ws_photo(a,g,j){var c=jQuery,e=c(this),l=c(".ws_list",j),n=(/iPhone|iPod|iPad|Android|BlackBerry/).test(navigator.userAgent),h=g.length,w=a.imagesCount||30,m=30,d=80,q=[];var f=c("<div>").addClass("ws_effect ws_photo").css({position:"absolute",top:0,left:0,width:"100%",height:"100%",overflow:"hidden",backgroundColor:"#DDDDDD"}).appendTo(j);if(!n){var o=c("<div>").css({position:"absolute",top:0,left:0,width:"100%",height:"100%",backgroundColor:"rgba(0,0,0,0.6)",zIndex:4}).appendTo(f)}var r=Math.max(w,g.length);for(var t=0,p=0;t<r;t++){if(p>=g.length){p-=g.length}c("<div>").addClass("ws_photoItem").css({width:"100%",height:"100%",overflow:"hidden"}).append(c("<div>").css({overflow:"hidden",position:"absolute"}).append(c(g[p]).clone())).appendTo(f);if(a.images&&t<g.length){q.push(!a.images[p].noimage)}p++}var s=f.children(".ws_photoItem");function u(k,i){return parseFloat(Math.random()*(i-k)+k)}function v(K,D,i,B,z,J){if(!K[0].wowParams){K[0].wowParams={}}if(B&&D){var L=d,G=50-L/2,F=50-L/2,A=0,E=5}else{var L=m,G=u(-10,90),F=u(-10,90),A=u(-30,30),E=B?(D?5:(i?3:2)):(D?3:(i?4:2))}var I={top:K[0].wowParams.y||0,left:K[0].wowParams.x||0,width:K[0].wowParams.size||0,height:K[0].wowParams.size||0};var H={top:F,left:G,width:L,height:L};if(a.support.transform){I={translate:[(50-I.width/2-I.left)+"%",(50-I.width/2-I.top)+"%",0],rotate:K[0].wowParams.angle||0,scale:I.width/100};H={translate:[(50-H.width/2-H.left),(50-H.width/2-H.top),0],rotate:A||0,scale:H.width/100}}else{for(var C in I){I[C]=I[C]+"%"}}wowAnimate(K.css({position:"absolute",zIndex:E}),I,H,z,"swing",J||0);K[0].wowParams={size:L,x:G,y:F,angle:A,zIndex:E}}s.each(function(i){v(c(this),a.startSlide==i,false,true,0)});function b(){if(a.support.transform){var i=c(g[0]);i={width:i.width(),height:i.height(),marginTop:parseFloat(i.css("marginTop")),marginLeft:parseFloat(i.css("marginLeft"))};c(s).find("img").css(i)}else{c(s).find("img").css({width:"100%"})}}b();c(window).on("load resize",b);this.go=function(i,y){b();if(a.images&&!q[i]){q[i]=true;var k=i;for(;;){c(s[k]).find("img").attr("src",a.images[k%g.length].src);if(k>r){break}k+=g.length}}if(window.XMLHttpRequest){var x=a.duration*0.5;s.each(function(z){v(c(this),i==z,y==z,false,x)});if(!n){wowAnimate(o,{opacity:1},{opacity:0},x*0.7,"swing")}setTimeout(function(){s.each(function(z){v(c(this),i==z,y==z,true,x,(y==z?function(){e.trigger("effectEnd")}:0))});if(!n){wowAnimate(o,{opacity:0},{opacity:1},x*0.7,"swing")}},x)}else{l.stop(true).animate({left:(i?-i+"00%":(/Safari/.test(navigator.userAgent)?"0%":0))},a.duration,"easeInOutExpo",function(){e.trigger("effectEnd")})}}};
|
||||
|
||||
/* ---------------------------------------------------------------------------
|
||||
* WOWslider Settings
|
||||
* -------------------------------------------------------------------------- */
|
||||
|
||||
jQuery("#wowslider-container1").wowSlider( {
|
||||
effect:"photo",
|
||||
duration:20*100, // change effect transition time
|
||||
delay:20*100, // change delay on each slide
|
||||
width:1600,
|
||||
height:800,
|
||||
autoPlay:true, // autoplay slides on load
|
||||
playPause:false, // show a play & pause button
|
||||
stopOnHover:false,
|
||||
loop:false,
|
||||
bullets:0,
|
||||
caption:false, // use a caption on slides
|
||||
controls:true, // use left, right arrows
|
||||
fullScreen:true, // show a fullscreen button
|
||||
|
||||
responsive:3,
|
||||
gestures:2,
|
||||
|
||||
// remove next 3 lines to remove "random" slide order
|
||||
onBeforeStep:function(i, c) {
|
||||
return (i+1 + Math.floor((c-1)*Math.random()))
|
||||
}
|
||||
}
|
||||
|
||||
);
|
||||
@@ -0,0 +1,36 @@
|
||||
/**
|
||||
* WOWslider
|
||||
*
|
||||
* http://wowslider.com
|
||||
*/
|
||||
function ws_rotate(i,h,a){var d=jQuery;var g=d(this);var e=d(".ws_list",a);var b={position:"absolute",left:0,top:0};var f=d("<div>").addClass("ws_effect ws_rotate").css(b).css({height:"100%",width:"100%",overflow:"hidden"}).appendTo(a);var c;this.go=function(j,k){var m=d(h[0]);m={width:m.width(),height:m.height(),marginTop:parseFloat(m.css("marginTop")),marginLeft:parseFloat(m.css("marginLeft")),maxHeight:"none",maxWidth:"none",};if(c){c.stop(true,true)}c=d(h.get(j)).clone().css(b).css(m).appendTo(f);if(!i.noCross){var l=d(h.get(k)).clone().css(b).css(m).appendTo(f);wowAnimate(l,{opacity:1,rotate:0,scale:1},{opacity:0,rotate:i.rotateOut||180,scale:i.scaleOut||10},i.duration,"easeInOutExpo",function(){l.remove()})}wowAnimate(c,{opacity:1,rotate:-(i.rotateIn||180),scale:i.scaleIn||10},{opacity:1,rotate:0,scale:1},i.duration,"easeInOutExpo",function(){c.remove();c=0;g.trigger("effectEnd")})}};
|
||||
|
||||
/* ---------------------------------------------------------------------------
|
||||
* WOWslider Settings
|
||||
* -------------------------------------------------------------------------- */
|
||||
|
||||
jQuery("#wowslider-container1").wowSlider( {
|
||||
effect:"rotate",
|
||||
duration:20*100, // change effect transition time
|
||||
delay:20*100, // change delay on each slide
|
||||
width:1000,
|
||||
height:450,
|
||||
autoPlay:true, // autoplay slides on load
|
||||
playPause:false, // show a play & pause button
|
||||
stopOnHover:false,
|
||||
loop:false,
|
||||
bullets:0,
|
||||
caption:false, // use a caption on slides
|
||||
controls:false, // use left, right arrows
|
||||
fullScreen:true, // show a fullscreen button
|
||||
|
||||
responsive:1,
|
||||
gestures:2,
|
||||
|
||||
// remove next 3 lines to remove "random" slide order
|
||||
onBeforeStep:function(i, c) {
|
||||
return (i+1 + Math.floor((c-1)*Math.random()))
|
||||
}
|
||||
}
|
||||
|
||||
);
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,36 @@
|
||||
/**
|
||||
* WOWslider
|
||||
*
|
||||
* http://wowslider.com
|
||||
*/
|
||||
jQuery.extend(jQuery.easing,{easeInOutCubic:function(e,f,a,h,g){if((f/=g/2)<1){return h/2*f*f*f+a}return h/2*((f-=2)*f*f+2)+a}});function ws_shift(k,i,c){var d=jQuery;var h=d(this);var b=c.find("li");var f=c.find(".ws_list");var e={position:"absolute",top:0,left:0,width:"100%",height:"100%",overflow:"hidden"};var g=d("<div>").addClass("ws_effect ws_shift").css(e).appendTo(c);var a=d("<div>").css(e).css({display:"none",zIndex:4}).appendTo(g);var j=d("<div>").css(e).css({display:"none",zIndex:3}).appendTo(g);this.go=function(l,p,n){var m=c.width();var o=c.height();a.append(d(i.get(l)).clone());j.append(d(i.get(p)).clone());if(k.responsive<3){a.find("img").css("width","100%");j.find("img").css("width","100%")}f.stop(true,true).hide().css({left:-l+"00%"});var q={left:[{left:-m},{left:0}],right:[{left:m},{left:0}],down:[{top:o},{top:0}],up:[{top:-o},{top:0}]}[k.direction||["left","right","down","up"][Math.floor(Math.random()*4)]];if(k.support.transform){if(q[0].left){q[0]={translate:[q[0].left,0,0]}}else{q[0]={translate:[0,q[0].top,0]}}q[1]={translate:[0,0,0]}}a.show();j.show();wowAnimate(a,q[0],q[1],k.duration,"easeInOutCubic",function(){f.show();a.hide().html("");j.hide().html("");h.trigger("effectEnd")});wowAnimate(j,{scale:1,translate:[0,0,0]},{scale:0.5,translate:[0,0,0]},k.duration,"easeInOutCubic")}};
|
||||
|
||||
/* ---------------------------------------------------------------------------
|
||||
* WOWslider Settings
|
||||
* -------------------------------------------------------------------------- */
|
||||
|
||||
jQuery("#wowslider-container1").wowSlider( {
|
||||
effect:"shift",
|
||||
duration:20*100, // change effect transition time
|
||||
delay:20*100, // change delay on each slide
|
||||
width:1600,
|
||||
height:800,
|
||||
autoPlay:true, // autoplay slides on load
|
||||
playPause:false, // show a play & pause button
|
||||
stopOnHover:false,
|
||||
loop:false,
|
||||
bullets:0,
|
||||
caption:false, // use a caption on slides
|
||||
controls:true, // use left, right arrows
|
||||
fullScreen:true, // show a fullscreen button
|
||||
|
||||
responsive:3,
|
||||
gestures:2,
|
||||
|
||||
// remove next 3 lines to remove "random" slide order
|
||||
onBeforeStep:function(i, c) {
|
||||
return (i+1 + Math.floor((c-1)*Math.random()))
|
||||
}
|
||||
}
|
||||
|
||||
);
|
||||
@@ -0,0 +1,36 @@
|
||||
/**
|
||||
* WOWslider
|
||||
*
|
||||
* http://wowslider.com
|
||||
*/
|
||||
function ws_slices(k,h,i){var b=jQuery;var f=b(this);function g(q,p,o,m,l,n){if(k.support.transform){if(p.top){p.translate=[0,p.top||0,0]}if(o.top){o.translate=[0,o.top||0,0]}delete p.top;delete o.top}wowAnimate(q,p,o,m,l,"swing",n)}var e=function(r,x){var q=b.extend({},{effect:"random",slices:15,animSpeed:500,pauseTime:3000,startSlide:0,container:null,onEffectEnd:0},x);var t={currentSlide:0,currentImage:"",totalSlides:0,randAnim:"",stop:false};var o=b(r);o.data("wow:vars",t);if(!/absolute|relative/.test(o.css("position"))){o.css("position","relative")}var m=x.container||o;var p=o.children();t.totalSlides=p.length;if(q.startSlide>0){if(q.startSlide>=t.totalSlides){q.startSlide=t.totalSlides-1}t.currentSlide=q.startSlide}if(b(p[t.currentSlide]).is("img")){t.currentImage=b(p[t.currentSlide])}else{t.currentImage=b(p[t.currentSlide]).find("img:first")}if(b(p[t.currentSlide]).is("a")){b(p[t.currentSlide]).css("display","block")}for(var s=0;s<q.slices;s++){var w=Math.round(m.width()/q.slices);var v=b('<div class="wow-slice"></div>').css({left:w*s+"px",overflow:"hidden",width:((s==q.slices-1)?(m.width()-(w*s)):w)+"px",position:"absolute"}).appendTo(m);b("<img>").css({position:"absolute",left:0,top:0,transform:"translate3d(0,0,0)"}).appendTo(v)}var n=0;this.sliderRun=function(y,z){if(t.busy){return false}q.effect=z||q.effect;t.currentSlide=y-1;u(o,p,q,false);return true};var l=function(){if(q.onEffectEnd){q.onEffectEnd(t.currentSlide)}m.hide();b(".wow-slice",m).css({transition:"",transform:""});t.busy=0};var u=function(y,z,C,E){var F=y.data("wow:vars");if((!F||F.stop)&&!E){return false}F.busy=1;F.currentSlide++;if(F.currentSlide==F.totalSlides){F.currentSlide=0}if(F.currentSlide<0){F.currentSlide=(F.totalSlides-1)}F.currentImage=b(z[F.currentSlide]);if(!F.currentImage.is("img")){F.currentImage=F.currentImage.find("img:first")}var A=b(h[F.currentSlide]);A={width:A.width(),heiht:A.height(),marginTop:A.css("marginTop"),marginLeft:A.css("marginLeft")};b(".wow-slice",m).each(function(J){var L=b(this),I=b("img",L);var K=Math.round(m.width()/C.slices);I.width(m.width());I.attr("src",F.currentImage.attr("src"));I.css({left:-K*J+"px"}).css(A);L.css({height:"100%",opacity:0,left:K*J,width:((J==C.slices-1)?(m.width()-(K*J)):K)})});m.show();if(C.effect=="random"){var G=new Array("sliceDownRight","sliceDownLeft","sliceUpRight","sliceUpLeft","sliceUpDownRight","sliceUpDownLeft","fold","fade");F.randAnim=G[Math.floor(Math.random()*(G.length+1))];if(F.randAnim==undefined){F.randAnim="fade"}}if(C.effect.indexOf(",")!=-1){var G=C.effect.split(",");F.randAnim=b.trim(G[Math.floor(Math.random()*G.length)])}if(C.effect=="sliceDown"||C.effect=="sliceDownRight"||F.randAnim=="sliceDownRight"||C.effect=="sliceDownLeft"||F.randAnim=="sliceDownLeft"){var B=0;var H=b(".wow-slice",m);if(C.effect=="sliceDownLeft"||F.randAnim=="sliceDownLeft"){H=H._reverse()}H.each(function(I){g(b(this),{top:"-100%",opacity:0},{top:"0%",opacity:1},C.animSpeed,100+B,(I==C.slices-1)?l:0);B+=50})}else{if(C.effect=="sliceUp"||C.effect=="sliceUpRight"||F.randAnim=="sliceUpRight"||C.effect=="sliceUpLeft"||F.randAnim=="sliceUpLeft"){var B=0;var H=b(".wow-slice",m);if(C.effect=="sliceUpLeft"||F.randAnim=="sliceUpLeft"){H=H._reverse()}H.each(function(I){g(b(this),{top:"100%",opacity:0},{top:"0%",opacity:1},C.animSpeed,100+B,(I==C.slices-1)?l:0);B+=50})}else{if(C.effect=="sliceUpDown"||C.effect=="sliceUpDownRight"||F.randAnim=="sliceUpDownRight"||C.effect=="sliceUpDownLeft"||F.randAnim=="sliceUpDownLeft"){var B=0;var H=b(".wow-slice",m);if(C.effect=="sliceUpDownLeft"||F.randAnim=="sliceUpDownLeft"){H=H._reverse()}H.each(function(I){g(b(this),{top:((I%2)?"-":"")+"100%",opacity:0},{top:"0%",opacity:1},C.animSpeed,100+B,(I==C.slices-1)?l:0);B+=50})}else{if(C.effect=="fold"||F.randAnim=="fold"){var B=0;var H=b(".wow-slice",m);var D=H.width();H.each(function(I){g(b(this),{width:0,opacity:0},{width:D,opacity:1},C.animSpeed,100+B,(I==C.slices-1)?l:0);B+=50})}else{if(C.effect=="fade"||F.randAnim=="fade"){var H=b(".wow-slice",m);b(".wow-slice",m).each(function(I){b(this).css("height","100%");b(this).animate({opacity:"1.0"},(C.animSpeed*2),(I==C.slices-1)?l:0)})}}}}}}};b.fn._reverse=[].reverse;var a=b("li",i);var c=b("ul",i);var d=b("<div>").addClass("ws_effect ws_slices").css({left:0,top:0,"z-index":8,overflow:"hidden",width:"100%",height:"100%",position:"absolute"}).appendTo(i);var j=new e(c,{keyboardNav:false,caption:0,effect:"sliceDownRight,sliceDownLeft,sliceUpRight,sliceUpLeft,sliceUpDownRight,sliceUpDownLeft,sliceUpDownRight,sliceUpDownLeft,fold,fold,fold",animSpeed:k.duration,startSlide:k.startSlide,container:d,onEffectEnd:function(l){f.trigger("effectEnd")}});this.go=function(m,l){var n=j.sliderRun(m);if(k.fadeOut){c.fadeOut(k.duration)}}};
|
||||
|
||||
/* ---------------------------------------------------------------------------
|
||||
* WOWslider Settings
|
||||
* -------------------------------------------------------------------------- */
|
||||
|
||||
jQuery("#wowslider-container1").wowSlider( {
|
||||
effect:"slices",
|
||||
duration:20*100, // change effect transition time
|
||||
delay:20*100, // change delay on each slide
|
||||
width:1600,
|
||||
height:800,
|
||||
autoPlay:true, // autoplay slides on load
|
||||
playPause:false, // show a play & pause button
|
||||
stopOnHover:false,
|
||||
loop:false,
|
||||
bullets:0,
|
||||
caption:false, // use a caption on slides
|
||||
controls:true, // use left, right arrows
|
||||
fullScreen:true, // show a fullscreen button
|
||||
|
||||
responsive:3,
|
||||
gestures:2,
|
||||
|
||||
// remove next 3 lines to remove "random" slide order
|
||||
onBeforeStep:function(i, c) {
|
||||
return (i+1 + Math.floor((c-1)*Math.random()))
|
||||
}
|
||||
}
|
||||
|
||||
);
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,36 @@
|
||||
/**
|
||||
* WOWslider
|
||||
*
|
||||
* http://wowslider.com
|
||||
*/
|
||||
function ws_stack(d,a,b){var e=jQuery;var g=e(this);var c=e("li",b);var f=e("<div>").addClass("ws_effect ws_stack").css({position:"absolute",top:0,left:0,width:"100%",height:"100%",overflow:"hidden"}).appendTo(b);this.go=function(q,j,i){var k=(d.revers?1:-1)*b.width();c.each(function(s){if(i&&s!=j){this.style.zIndex=(Math.max(0,this.style.zIndex-1))}});var p=e(".ws_list",b);var h=e("<div>").css({position:"absolute",left:0,top:0,width:"100%",height:"100%",overflow:"hidden",zIndex:4}).append(e(a.get(i?q:j)).clone()),r=e("<div>").css({position:"absolute",left:0,top:0,width:"100%",height:"100%",overflow:"hidden",zIndex:4}).append(e(a.get(i?j:q)).clone());if(d.responsive<3){h.find("img").css("width","100%");r.find("img").css("width","100%")}if(i){r.appendTo(f);h.appendTo(f)}else{h.insertAfter(p);r.insertAfter(p)}if(!i){p.stop(true,true).hide().css({left:-q+"00%"});if(d.fadeOut){p.fadeIn(d.duration)}else{p.show()}}else{if(d.fadeOut){p.fadeOut(d.duration)}}var o={left:i?k:0};var m={left:i?0:-k*0.5};var n={left:i?0:k};var l={left:(i?1:0)*b.width()*0.5};if(d.support.transform){o={translate:[o.left,0,0]};m={translate:[m.left,0,0]};n={translate:[n.left,0,0]};l={translate:[l.left,0,0]}}wowAnimate(h,o,n,d.duration,d.duration*(i?0:0.1),"easeInOutExpo",function(){g.trigger("effectEnd");h.remove();r.remove()});wowAnimate(r,m,l,d.duration,d.duration*(i?0.1:0),"easeInOutExpo")}};
|
||||
|
||||
/* ---------------------------------------------------------------------------
|
||||
* WOWslider Settings
|
||||
* -------------------------------------------------------------------------- */
|
||||
|
||||
jQuery("#wowslider-container1").wowSlider( {
|
||||
effect:"stack",
|
||||
duration:20*100, // change effect transition time
|
||||
delay:20*100, // change delay on each slide
|
||||
width:1600,
|
||||
height:800,
|
||||
autoPlay:true, // autoplay slides on load
|
||||
playPause:false, // show a play & pause button
|
||||
stopOnHover:false,
|
||||
loop:false,
|
||||
bullets:0,
|
||||
caption:false, // use a caption on slides
|
||||
controls:true, // use left, right arrows
|
||||
fullScreen:true, // show a fullscreen button
|
||||
|
||||
responsive:3,
|
||||
gestures:2,
|
||||
|
||||
// remove next 3 lines to remove "random" slide order
|
||||
onBeforeStep:function(i, c) {
|
||||
return (i+1 + Math.floor((c-1)*Math.random()))
|
||||
}
|
||||
}
|
||||
|
||||
);
|
||||
@@ -0,0 +1,36 @@
|
||||
/**
|
||||
* WOWslider
|
||||
*
|
||||
* http://wowslider.com
|
||||
*/
|
||||
function ws_stack_vertical(d,a,b){var e=jQuery;var g=e(this);var c=e("li",b);var f=e("<div>").addClass("ws_effect ws_stack_vertical").css({position:"absolute",top:0,left:0,width:"100%",height:"100%",overflow:"hidden"}).appendTo(b);this.go=function(q,j,i){var k=(d.revers?1:-1)*b.height();c.each(function(s){if(i&&s!=j){this.style.zIndex=(Math.max(0,this.style.zIndex-1))}});var p=e(".ws_list",b);var h=e("<div>").css({position:"absolute",left:0,top:0,width:"100%",height:"100%",overflow:"hidden",zIndex:4}).append(e(a.get(i?q:j)).clone()),r=e("<div>").css({position:"absolute",left:0,top:0,width:"100%",height:"100%",overflow:"hidden",zIndex:4}).append(e(a.get(i?j:q)).clone());if(d.responsive<3){h.find("img").css("width","100%");r.find("img").css("width","100%")}if(i){r.appendTo(f);h.appendTo(f)}else{h.insertAfter(p);r.insertAfter(p)}if(!i){p.stop(true,true).hide().css({left:-q+"00%"});if(d.fadeOut){p.fadeIn(d.duration)}else{p.show()}}else{if(d.fadeOut){p.fadeOut(d.duration)}}var o={top:i?k:0};var m={top:i?0:-k*0.5};var n={top:i?0:k};var l={top:(i?1:0)*b.height()*0.5};if(d.support.transform){o={translate:[0,o.top,0]};m={translate:[0,m.top,0]};n={translate:[0,n.top,0]};l={translate:[0,l.top,0]}}wowAnimate(h,o,n,d.duration,d.duration*(i?0:0.1),"easeInOutExpo",function(){g.trigger("effectEnd");h.remove();r.remove()});wowAnimate(r,m,l,d.duration,d.duration*(i?0.1:0),"easeInOutExpo")}};
|
||||
|
||||
/* ---------------------------------------------------------------------------
|
||||
* WOWslider Settings
|
||||
* -------------------------------------------------------------------------- */
|
||||
|
||||
jQuery("#wowslider-container1").wowSlider( {
|
||||
effect:"stack_vertical",
|
||||
duration:20*100, // change effect transition time
|
||||
delay:20*100, // change delay on each slide
|
||||
width:1600,
|
||||
height:800,
|
||||
autoPlay:true, // autoplay slides on load
|
||||
playPause:false, // show a play & pause button
|
||||
stopOnHover:false,
|
||||
loop:false,
|
||||
bullets:0,
|
||||
caption:false, // use a caption on slides
|
||||
controls:true, // use left, right arrows
|
||||
fullScreen:true, // show a fullscreen button
|
||||
|
||||
responsive:3,
|
||||
gestures:2,
|
||||
|
||||
// remove next 3 lines to remove "random" slide order
|
||||
onBeforeStep:function(i, c) {
|
||||
return (i+1 + Math.floor((c-1)*Math.random()))
|
||||
}
|
||||
}
|
||||
|
||||
);
|
||||
36
website/Boson/HTML/plugins/wow-slider/scripts/script-turn.js
Normal file
36
website/Boson/HTML/plugins/wow-slider/scripts/script-turn.js
Normal file
@@ -0,0 +1,36 @@
|
||||
/**
|
||||
* WOWslider
|
||||
*
|
||||
* http://wowslider.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")}};
|
||||
|
||||
/* ---------------------------------------------------------------------------
|
||||
* WOWslider Settings
|
||||
* -------------------------------------------------------------------------- */
|
||||
|
||||
jQuery("#wowslider-container1").wowSlider( {
|
||||
effect:"turn",
|
||||
duration:20*100, // change effect transition time
|
||||
delay:20*100, // change delay on each slide
|
||||
width:1600,
|
||||
height:800,
|
||||
autoPlay:true, // autoplay slides on load
|
||||
playPause:false, // show a play & pause button
|
||||
stopOnHover:false,
|
||||
loop:false,
|
||||
bullets:0,
|
||||
caption:false, // use a caption on slides
|
||||
controls:true, // use left, right arrows
|
||||
fullScreen:true, // show a fullscreen button
|
||||
|
||||
responsive:3,
|
||||
gestures:2,
|
||||
|
||||
// remove next 3 lines to remove "random" slide order
|
||||
onBeforeStep:function(i, c) {
|
||||
return (i+1 + Math.floor((c-1)*Math.random()))
|
||||
}
|
||||
}
|
||||
|
||||
);
|
||||
36
website/Boson/HTML/plugins/wow-slider/scripts/script-tv.js
Normal file
36
website/Boson/HTML/plugins/wow-slider/scripts/script-tv.js
Normal file
@@ -0,0 +1,36 @@
|
||||
/**
|
||||
* WOWslider
|
||||
*
|
||||
* http://wowslider.com
|
||||
*/
|
||||
jQuery.extend(jQuery.easing,{easeOutBack2:function(f,g,e,j,i){var h=(g/=i)*g;var a=h*g;return e+j*(5*a*h+-15*h*h+19*a+-14*h+6*g)},easeOutCubic:function(e,f,a,h,g){return h*((f=f/g-1)*f*f+1)+a},easeInCubic:function(e,f,a,h,g){return h*(f/=g)*f*f+a}});function ws_tv(m,i,b){var d=jQuery;var g=d(this);var k=m.noCanvas||!document.createElement("canvas").getContext;var j=m.width,e=m.height;var f=d("<div>").css({position:"absolute",top:0,left:0,width:"100%",height:"100%",overflow:"hidden"}).addClass("ws_effect ws_tv").appendTo(b);if(!k){var c=d("<canvas>").css({position:"absolute",left:0,top:0,width:"100%",height:"100%"}).appendTo(f);var l=c.get(0).getContext("2d")}function a(n,h,o){return n+(h-n)*o}this.go=function(h,o){if(k){b.find(".ws_list").css("transform","translate3d(0,0,0)").stop(true).animate({left:(h?-h+"00%":(/Safari/.test(navigator.userAgent)?"0%":0))},m.duration,"easeInOutExpo",function(){g.trigger("effectEnd")})}else{j=b.width();e=b.height();c.attr({width:j,height:e});var n=d(i.get(h)).clone().css({opacity:0,zIndex:2,maxHeight:"none"}).appendTo(f);wowAnimate(function(p){l.clearRect(0,0,j,e);var r=j;if(p>=0.95){r*=1-(p-0.95)/(1-0.95)}l.fillStyle="#111";l.fillRect(0,0,j,e);var q=l.createLinearGradient(0,p*e/2,0,e-p*e/2);q.addColorStop(0,"#111");q.addColorStop(a(0,0.5,p),"#fff");q.addColorStop(0.5,"#fff");q.addColorStop(a(1,0.5,p),"#fff");q.addColorStop(1,"#111");l.fillStyle=q;l.fillRect((j-r)/2,p*e/2,r,e*(1-p))},0,1,m.duration*0.3,"easeOutCubic",function(){wowAnimate(n,{scale:[0.9,0],opacity:0.5},{scale:[1,1],opacity:1},m.duration*0.3,m.duration*0.4,"easeOutBack2",function(){b.find(".ws_list").css({left:(h?-h+"00%":(/Safari/.test(navigator.userAgent)?"0%":0))});g.trigger("effectEnd");setTimeout(function(){l.fillStyle="#111";l.clearRect(0,0,j,e);n.remove()},1)})})}}};
|
||||
|
||||
/* ---------------------------------------------------------------------------
|
||||
* WOWslider Settings
|
||||
* -------------------------------------------------------------------------- */
|
||||
|
||||
jQuery("#wowslider-container1").wowSlider( {
|
||||
effect:"tv",
|
||||
duration:20*100, // change effect transition time
|
||||
delay:20*100, // change delay on each slide
|
||||
width:1600,
|
||||
height:800,
|
||||
autoPlay:true, // autoplay slides on load
|
||||
playPause:false, // show a play & pause button
|
||||
stopOnHover:false,
|
||||
loop:false,
|
||||
bullets:0,
|
||||
caption:false, // use a caption on slides
|
||||
controls:true, // use left, right arrows
|
||||
fullScreen:true, // show a fullscreen button
|
||||
|
||||
responsive:3,
|
||||
gestures:2,
|
||||
|
||||
// remove next 3 lines to remove "random" slide order
|
||||
onBeforeStep:function(i, c) {
|
||||
return (i+1 + Math.floor((c-1)*Math.random()))
|
||||
}
|
||||
}
|
||||
|
||||
);
|
||||
659
website/Boson/HTML/plugins/wow-slider/scripts/style.css
Normal file
659
website/Boson/HTML/plugins/wow-slider/scripts/style.css
Normal file
File diff suppressed because one or more lines are too long
BIN
website/Boson/HTML/plugins/wow-slider/scripts/triangle.png
Normal file
BIN
website/Boson/HTML/plugins/wow-slider/scripts/triangle.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 315 B |
89
website/Boson/HTML/plugins/wow-slider/scripts/wowslider.js
Normal file
89
website/Boson/HTML/plugins/wow-slider/scripts/wowslider.js
Normal file
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user