Select Page
<script><!-- [et_pb_line_break_holder] -->/* Copyright (c) 2009 Brandon Aaron (http://brandonaaron.net)<!-- [et_pb_line_break_holder] --> * Dual licensed under the MIT (http://www.opensource.org/licenses/mit-license.php)<!-- [et_pb_line_break_holder] --> * and GPL (http://www.opensource.org/licenses/gpl-license.php) licenses.<!-- [et_pb_line_break_holder] --> * Thanks to: http://adomas.org/javascript-mouse-wheel/ for some pointers.<!-- [et_pb_line_break_holder] --> * Thanks to: Mathias Bank(http://www.mathias-bank.de) for a scope bug fix.<!-- [et_pb_line_break_holder] --> *<!-- [et_pb_line_break_holder] --> * Version: 3.0.2<!-- [et_pb_line_break_holder] --> * <!-- [et_pb_line_break_holder] --> * Requires: 1.2.2+<!-- [et_pb_line_break_holder] --> */<!-- [et_pb_line_break_holder] -->(function(c){var a=["DOMMouseScroll","mousewheel"];c.event.special.mousewheel={setup:function(){if(this.addEventListener){for(var d=a.length;d;){this.addEventListener(a[--d],b,false)}}else{this.onmousewheel=b}},teardown:function(){if(this.removeEventListener){for(var d=a.length;d;){this.removeEventListener(a[--d],b,false)}}else{this.onmousewheel=null}}};c.fn.extend({mousewheel:function(d){return d?this.bind("mousewheel",d):this.trigger("mousewheel")},unmousewheel:function(d){return this.unbind("mousewheel",d)}});function b(f){var d=[].slice.call(arguments,1),g=0,e=true;f=c.event.fix(f||window.event);f.type="mousewheel";if(f.wheelDelta){g=f.wheelDelta/120}if(f.detail){g=-f.detail/3}d.unshift(f,g);return c.event.handle.apply(this,d)}})(jQuery);<!-- [et_pb_line_break_holder] --></script><!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --><script><!-- [et_pb_line_break_holder] -->/*<!-- [et_pb_line_break_holder] -->Item Name: jQuery Carousel Evolution<!-- [et_pb_line_break_holder] -->Author: Mapalla<!-- [et_pb_line_break_holder] -->Author URI: http://codecanyon.net/user/Mapalla<!-- [et_pb_line_break_holder] -->Version: 1.1<!-- [et_pb_line_break_holder] -->*/<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] -->(function($){<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> var CarouselEvo = function(element, options){<!-- [et_pb_line_break_holder] --> var settings = $.extend({}, $.fn.carousel.defaults, options),<!-- [et_pb_line_break_holder] --> self = this,<!-- [et_pb_line_break_holder] --> element = $(element),<!-- [et_pb_line_break_holder] --> carousel = element.children('.slides');<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> carousel.children('div').addClass('slideItem');<!-- [et_pb_line_break_holder] --> var slideItems = carousel.children('.slideItem'),<!-- [et_pb_line_break_holder] --> slideImage = slideItems.find('img'),<!-- [et_pb_line_break_holder] --> currentSlide = 0,<!-- [et_pb_line_break_holder] --> targetSlide = 0,<!-- [et_pb_line_break_holder] --> numberSlides = slideItems.length,<!-- [et_pb_line_break_holder] --> isAnimationRunning = false, <!-- [et_pb_line_break_holder] --> pause = true ;<!-- [et_pb_line_break_holder] --> videos = {<!-- [et_pb_line_break_holder] --> youtube: {<!-- [et_pb_line_break_holder] --> reg: /youtube\.com\/watch/i, <!-- [et_pb_line_break_holder] --> split: '=', <!-- [et_pb_line_break_holder] --> index: 1, <!-- [et_pb_line_break_holder] --> url:'http://www.youtube.com/embed/%id%?autoplay=1&fs=1&rel=0'},<!-- [et_pb_line_break_holder] --> vimeo: {<!-- [et_pb_line_break_holder] --> reg: /vimeo\.com/i, <!-- [et_pb_line_break_holder] --> split: '/', <!-- [et_pb_line_break_holder] --> index: 3, <!-- [et_pb_line_break_holder] --> url: 'http://player.vimeo.com/video/%id%?portrait=0&autoplay=1'}<!-- [et_pb_line_break_holder] --> };<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> this.current = currentSlide;<!-- [et_pb_line_break_holder] --> this.length = numberSlides;<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> this.init = function(){<!-- [et_pb_line_break_holder] --> var o = settings ;<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> initSlides();<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> if (o.directionNav == true){<!-- [et_pb_line_break_holder] --> initDirectionButton();<!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> if (o.buttonNav != 'none'){<!-- [et_pb_line_break_holder] --> initButtonNav();<!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> if (o.reflection == true){<!-- [et_pb_line_break_holder] --> initReflection();<!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> if (o.shadow == true){<!-- [et_pb_line_break_holder] --> initShadow();<!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> if (o.description == true){<!-- [et_pb_line_break_holder] --> initDesc();<!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> if (o.autoplay == true){<!-- [et_pb_line_break_holder] --> runAutoplay();<!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> initVideo();<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> };<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> /* _________________________________ */<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> /* IMAGE */<!-- [et_pb_line_break_holder] --> /* _________________________________ */<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> var setImageSize = function(p){<!-- [et_pb_line_break_holder] --> var o = settings,<!-- [et_pb_line_break_holder] --> n = numberSlides ,<!-- [et_pb_line_break_holder] --> w = o.frontWidth, <!-- [et_pb_line_break_holder] --> h = o.frontHeight, <!-- [et_pb_line_break_holder] --> ret;<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> if (p != 0){<!-- [et_pb_line_break_holder] --> if (o.hAlign == 'center') {<!-- [et_pb_line_break_holder] --> if (p > 0 && p <= Math.ceil((n-1)/2)){<!-- [et_pb_line_break_holder] --> var front = setImageSize(p-1);<!-- [et_pb_line_break_holder] --> w = o.backZoom * front.width ;<!-- [et_pb_line_break_holder] --> h = o.backZoom * front.height ;<!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --> else {<!-- [et_pb_line_break_holder] --> var sz = setImageSize(n-p);<!-- [et_pb_line_break_holder] --> w = sz.width;<!-- [et_pb_line_break_holder] --> h = sz.height;<!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --> } <!-- [et_pb_line_break_holder] --> else {<!-- [et_pb_line_break_holder] --> //left & right<!-- [et_pb_line_break_holder] --> if (p == (n -1)){<!-- [et_pb_line_break_holder] --> w = o.frontWidth / o.backZoom;<!-- [et_pb_line_break_holder] --> h = o.frontHeight / o.backZoom;<!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --> else{<!-- [et_pb_line_break_holder] --> var front = setImageSize(p-1);<!-- [et_pb_line_break_holder] --> w = o.backZoom * front.width ;<!-- [et_pb_line_break_holder] --> h = o.backZoom * front.height ;<!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --> } <!-- [et_pb_line_break_holder] --> } <!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> return ret = {width:w, height:h};<!-- [et_pb_line_break_holder] --> };<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> /* _______________________________ */<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> /* SLIDE */<!-- [et_pb_line_break_holder] --> /* _______________________________ */<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> var setSlideSize = function(p){<!-- [et_pb_line_break_holder] --> var o = settings,<!-- [et_pb_line_break_holder] --> n = numberSlides ,<!-- [et_pb_line_break_holder] --> w = o.frontWidth, <!-- [et_pb_line_break_holder] --> h = o.frontHeight + reflectionHeight(p) + shadowHeight(p),<!-- [et_pb_line_break_holder] --> ret;<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> if (p != 0){ <!-- [et_pb_line_break_holder] --> if (o.hAlign == 'center'){<!-- [et_pb_line_break_holder] --> if (p > 0 && p <= Math.ceil((n-1)/2)){<!-- [et_pb_line_break_holder] --> var front = setImageSize(p-1);<!-- [et_pb_line_break_holder] --> w = o.backZoom * front.width ;<!-- [et_pb_line_break_holder] --> h = (o.backZoom * front.height) + reflectionHeight(p) + shadowHeight(p);<!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --> else {<!-- [et_pb_line_break_holder] --> var sz = setSlideSize(n - p);<!-- [et_pb_line_break_holder] --> w = sz.width;<!-- [et_pb_line_break_holder] --> h = sz.height;<!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --> } <!-- [et_pb_line_break_holder] --> else {<!-- [et_pb_line_break_holder] --> //left & right<!-- [et_pb_line_break_holder] --> if (p == (n -1)){<!-- [et_pb_line_break_holder] --> w = o.frontWidth / o.backZoom;<!-- [et_pb_line_break_holder] --> h = (o.frontHeight/o.backZoom) + reflectionHeight(p) + shadowHeight(p);<!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --> else{<!-- [et_pb_line_break_holder] --> var front = setImageSize(p-1);<!-- [et_pb_line_break_holder] --> w = o.backZoom * front.width ;<!-- [et_pb_line_break_holder] --> h = (o.backZoom * front.height) + reflectionHeight(p) + shadowHeight(p);<!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --> } <!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> return ret = {width:w, height:h};<!-- [et_pb_line_break_holder] --> }; <!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> var getMargin = function(p){ <!-- [et_pb_line_break_holder] --> var o = settings,<!-- [et_pb_line_break_holder] --> vm, hm, ret, <!-- [et_pb_line_break_holder] --> iz = setImageSize(p);<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> vm = iz.height * o.vMargin;<!-- [et_pb_line_break_holder] --> hm = iz.width * o.hMargin;<!-- [et_pb_line_break_holder] --> return ret = {vMargin:vm, hMargin:hm};<!-- [et_pb_line_break_holder] --> };<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> var centerPos = function(p){<!-- [et_pb_line_break_holder] --> var o = settings,<!-- [et_pb_line_break_holder] --> c = topPos(p-1) + (setImageSize(p-1).height - setImageSize(p).height)/2;<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> if (o.hAlign != 'center'){<!-- [et_pb_line_break_holder] --> if (p == (numberSlides -1)){<!-- [et_pb_line_break_holder] --> c = o.top - ((setImageSize(p).height - setImageSize(0).height)/2);<!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --> return c; <!-- [et_pb_line_break_holder] --> };<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> var topPos = function(p){<!-- [et_pb_line_break_holder] --> var o = settings,<!-- [et_pb_line_break_holder] --> t = o.top,<!-- [et_pb_line_break_holder] --> vm = getMargin(p).vMargin ;<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> if (o.vAlign == 'bottom'){<!-- [et_pb_line_break_holder] --> t = o.bottom;<!-- [et_pb_line_break_holder] --> } <!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> if (p != 0){ <!-- [et_pb_line_break_holder] --> if (o.hAlign == 'center'){<!-- [et_pb_line_break_holder] --> if (p > 0 && p <= Math.ceil((numberSlides-1)/2)){<!-- [et_pb_line_break_holder] --> if (o.vAlign == 'center'){<!-- [et_pb_line_break_holder] --> t = centerPos(p);<!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --> else {<!-- [et_pb_line_break_holder] --> t = centerPos(p) + vm;<!-- [et_pb_line_break_holder] --> } <!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --> else{<!-- [et_pb_line_break_holder] --> t = topPos(numberSlides -p);<!-- [et_pb_line_break_holder] --> } <!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --> else {<!-- [et_pb_line_break_holder] --> if (p == (numberSlides -1)){<!-- [et_pb_line_break_holder] --> if (o.vAlign == 'center'){<!-- [et_pb_line_break_holder] --> t = centerPos(p);<!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --> else {<!-- [et_pb_line_break_holder] --> t = centerPos(p) - vm;<!-- [et_pb_line_break_holder] --> } <!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --> else{<!-- [et_pb_line_break_holder] --> if (o.vAlign == 'center'){<!-- [et_pb_line_break_holder] --> t = centerPos(p);<!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --> else {<!-- [et_pb_line_break_holder] --> t = centerPos(p) + vm ;<!-- [et_pb_line_break_holder] --> } <!-- [et_pb_line_break_holder] --> } <!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> return t; <!-- [et_pb_line_break_holder] --> };<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> var horizonPos = function(p){<!-- [et_pb_line_break_holder] --> var o = settings,<!-- [et_pb_line_break_holder] --> n = numberSlides ,<!-- [et_pb_line_break_holder] --> hPos,<!-- [et_pb_line_break_holder] --> mod = n % 2,<!-- [et_pb_line_break_holder] --> endSlide = n / 2,<!-- [et_pb_line_break_holder] --> hm = getMargin(p).hMargin; <!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> if (p == 0){<!-- [et_pb_line_break_holder] --> if (o.hAlign == 'center'){<!-- [et_pb_line_break_holder] --> hPos = (o.carouselWidth - o.frontWidth)/2;<!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --> else {<!-- [et_pb_line_break_holder] --> hPos = o.left ;<!-- [et_pb_line_break_holder] --> if (o.hAlign == 'right'){<!-- [et_pb_line_break_holder] --> hPos = o.right;<!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --> else { <!-- [et_pb_line_break_holder] --> if (o.hAlign == 'center'){<!-- [et_pb_line_break_holder] --> if (p > 0 && p <= Math.ceil((n-1)/2)){<!-- [et_pb_line_break_holder] --> hPos = horizonPos(p-1) - hm;<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> if (mod == 0){<!-- [et_pb_line_break_holder] --> if (p == endSlide){<!-- [et_pb_line_break_holder] --> hPos = (o.carouselWidth - setSlideSize(p).width)/2 ;<!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --> } <!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --> else{<!-- [et_pb_line_break_holder] --> hPos = o.carouselWidth - horizonPos(n-p) - setSlideSize(p).width;<!-- [et_pb_line_break_holder] --> } <!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --> else {<!-- [et_pb_line_break_holder] --> if (p == (n -1)){<!-- [et_pb_line_break_holder] --> hPos = horizonPos(0) - (setSlideSize(p).width - setSlideSize(0).width)/2 - hm;<!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --> else{<!-- [et_pb_line_break_holder] --> hPos = horizonPos(p-1) + (setSlideSize(p-1).width - setSlideSize(p).width)/2 + hm;<!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> return hPos; <!-- [et_pb_line_break_holder] --> };<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> var setOpacity = function(p){<!-- [et_pb_line_break_holder] --> var o = settings,<!-- [et_pb_line_break_holder] --> n = numberSlides ,<!-- [et_pb_line_break_holder] --> opc = 1, <!-- [et_pb_line_break_holder] --> hiddenSlide = n - o.slidesPerScroll; <!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> if (hiddenSlide < 2){<!-- [et_pb_line_break_holder] --> hiddenSlide = 2;<!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> if (o.hAlign == 'center'){<!-- [et_pb_line_break_holder] --> var s1 = (n-1)/2,<!-- [et_pb_line_break_holder] --> hs2 = hiddenSlide / 2,<!-- [et_pb_line_break_holder] --> lastSlide1 = (s1+1) - hs2,<!-- [et_pb_line_break_holder] --> lastSlide2 = s1 + hs2;<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> if (p == 0){<!-- [et_pb_line_break_holder] --> opc = 1;<!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --> else {<!-- [et_pb_line_break_holder] --> opc = o.backOpacity;<!-- [et_pb_line_break_holder] --> if (p >= lastSlide1 && p <= lastSlide2){ <!-- [et_pb_line_break_holder] --> opc = 0;<!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --> } <!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --> else { //left & right<!-- [et_pb_line_break_holder] --> if (p == 0){<!-- [et_pb_line_break_holder] --> opc = 1;<!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --> else {<!-- [et_pb_line_break_holder] --> opc = o.backOpacity;<!-- [et_pb_line_break_holder] --> if (!(p < (n - hiddenSlide))){<!-- [et_pb_line_break_holder] --> opc = 0 ;<!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --> } <!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> return opc; <!-- [et_pb_line_break_holder] --> };<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> var setSlidePosition = function(p) {<!-- [et_pb_line_break_holder] --> var pos = new Array(),<!-- [et_pb_line_break_holder] --> o = settings,<!-- [et_pb_line_break_holder] --> n = numberSlides ;<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> for (var i = 0; i < n; i++){<!-- [et_pb_line_break_holder] --> var sz = setSlideSize(i);<!-- [et_pb_line_break_holder] --> if (o.hAlign == 'left'){<!-- [et_pb_line_break_holder] --> pos[i] = {width:sz.width, height:sz.height, top:topPos(i), left:horizonPos(i), opacity:setOpacity(i)};<!-- [et_pb_line_break_holder] --> if (o.vAlign == 'bottom'){<!-- [et_pb_line_break_holder] --> pos[i] = {width:sz.width, height:sz.height, bottom:topPos(i), left:horizonPos(i), opacity:setOpacity(i)} ;<!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --> else {<!-- [et_pb_line_break_holder] --> pos[i] = {width:sz.width, height:sz.height, top:topPos(i), right:horizonPos(i), opacity:setOpacity(i)} ;<!-- [et_pb_line_break_holder] --> if (o.vAlign == 'bottom'){<!-- [et_pb_line_break_holder] --> pos[i] = {width:sz.width, height:sz.height, bottom:topPos(i), right:horizonPos(i), opacity:setOpacity(i)} ;<!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --> } <!-- [et_pb_line_break_holder] --> return pos[p]; <!-- [et_pb_line_break_holder] --> };<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> // returns the slide # at location i of the ith image<!-- [et_pb_line_break_holder] --> var slidePos = function(i) {<!-- [et_pb_line_break_holder] --> var cs = currentSlide, <!-- [et_pb_line_break_holder] --> pos = i - cs;<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> if (i < cs){<!-- [et_pb_line_break_holder] --> pos += numberSlides ; <!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> return pos; <!-- [et_pb_line_break_holder] --> };<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> //returns z-index<!-- [et_pb_line_break_holder] --> var zIndex = function(i){ <!-- [et_pb_line_break_holder] --> var z,<!-- [et_pb_line_break_holder] --> n = numberSlides ,<!-- [et_pb_line_break_holder] --> hAlign = settings.hAlign;<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> if (hAlign == 'left' || hAlign == 'right'){<!-- [et_pb_line_break_holder] --> if (i == (n - 1)){<!-- [et_pb_line_break_holder] --> z = n - 1;<!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --> else {<!-- [et_pb_line_break_holder] --> z = n - (2+i);<!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --> else {<!-- [et_pb_line_break_holder] --> if (i >= 0 && i <= ((n - 1)/2)){<!-- [et_pb_line_break_holder] --> z = (n - 1) - i;<!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --> else {<!-- [et_pb_line_break_holder] --> z = i - 1 ;<!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --> } <!-- [et_pb_line_break_holder] --> return z;<!-- [et_pb_line_break_holder] --> };<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> var slidesMouseOver = function(event){<!-- [et_pb_line_break_holder] --> var o = settings ;<!-- [et_pb_line_break_holder] --> if (o.autoplay == true && o.pauseOnHover == true){<!-- [et_pb_line_break_holder] --> stopAutoplay();<!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --> };<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> var slidesMouseOut = function(event){<!-- [et_pb_line_break_holder] --> var o = settings ;<!-- [et_pb_line_break_holder] --> if (o.autoplay == true && o.pauseOnHover == true){<!-- [et_pb_line_break_holder] --> if (pause == true){<!-- [et_pb_line_break_holder] --> runAutoplay();<!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --> }; <!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> var initSlides = function(){<!-- [et_pb_line_break_holder] --> var o = settings,<!-- [et_pb_line_break_holder] --> n = numberSlides,<!-- [et_pb_line_break_holder] --> images = slideImage ;<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> carousel<!-- [et_pb_line_break_holder] --> .css({'width':o.carouselWidth+'px', 'height':o.carouselHeight+'px'})<!-- [et_pb_line_break_holder] --> .bind('mouseover', slidesMouseOver)<!-- [et_pb_line_break_holder] --> .bind('mouseout', slidesMouseOut);<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> for (var i = 0; i < n; i++){<!-- [et_pb_line_break_holder] --> var item = slideItems.eq(i);<!-- [et_pb_line_break_holder] --> item<!-- [et_pb_line_break_holder] --> .css(setSlidePosition(slidePos(i)))<!-- [et_pb_line_break_holder] --> .bind('click', slideClick);<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> slideItems.eq(slidePos(i)).css({'z-index':zIndex(i)});<!-- [et_pb_line_break_holder] --> images.eq(i).css(setImageSize(slidePos(i)));<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> var op = item.css('opacity');<!-- [et_pb_line_break_holder] --> if (op == 0){<!-- [et_pb_line_break_holder] --> item.hide();<!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --> else {<!-- [et_pb_line_break_holder] --> item.show();<!-- [et_pb_line_break_holder] --> } <!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> // mouse wheel navigation<!-- [et_pb_line_break_holder] --> if (o.mouse == true){<!-- [et_pb_line_break_holder] --> carousel.mousewheel(function(event, delta){<!-- [et_pb_line_break_holder] --> if (delta > 0){<!-- [et_pb_line_break_holder] --> goTo(currentSlide-1, true, false);<!-- [et_pb_line_break_holder] --> return false ;<!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --> else if (delta < 0){<!-- [et_pb_line_break_holder] --> goTo(currentSlide+1, true, false);<!-- [et_pb_line_break_holder] --> return false ;<!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --> });<!-- [et_pb_line_break_holder] --> } <!-- [et_pb_line_break_holder] --> };<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> var hideItem = function(slide){<!-- [et_pb_line_break_holder] --> var op = slide.css('opacity');<!-- [et_pb_line_break_holder] --> if (op == 0){ slide.hide();} <!-- [et_pb_line_break_holder] --> };<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> var goTo = function(index, isStopAutoplay, isPause){<!-- [et_pb_line_break_holder] --> if (isAnimationRunning == true){return;}<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> var o = settings,<!-- [et_pb_line_break_holder] --> n = numberSlides ;<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> if (isStopAutoplay == true){ <!-- [et_pb_line_break_holder] --> stopAutoplay(); <!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> targetSlide = index;<!-- [et_pb_line_break_holder] --> if (targetSlide == n){ targetSlide = 0; }<!-- [et_pb_line_break_holder] --> if (targetSlide == -1){ targetSlide = n - 1; }<!-- [et_pb_line_break_holder] --> o.before(self);<!-- [et_pb_line_break_holder] --> animateSlide(); <!-- [et_pb_line_break_holder] --> pause = isPause ;<!-- [et_pb_line_break_holder] --> };<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> var animateSlide = function(){<!-- [et_pb_line_break_holder] --> var o = settings,<!-- [et_pb_line_break_holder] --> n = numberSlides;<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> if (isAnimationRunning == true ){ return ; }<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> if (currentSlide == targetSlide){<!-- [et_pb_line_break_holder] --> isAnimationRunning = false ;<!-- [et_pb_line_break_holder] --> return ;<!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> isAnimationRunning = true ;<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> hideDesc(currentSlide); <!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> // direction<!-- [et_pb_line_break_holder] --> if (currentSlide > targetSlide) {<!-- [et_pb_line_break_holder] --> var forward = n - currentSlide + targetSlide,<!-- [et_pb_line_break_holder] --> backward = currentSlide - targetSlide;<!-- [et_pb_line_break_holder] --> } <!-- [et_pb_line_break_holder] --> else {<!-- [et_pb_line_break_holder] --> var forward = targetSlide - currentSlide,<!-- [et_pb_line_break_holder] --> backward = currentSlide + n - targetSlide ;<!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> if (forward > backward) {<!-- [et_pb_line_break_holder] --> dir = -1;<!-- [et_pb_line_break_holder] --> } <!-- [et_pb_line_break_holder] --> else {<!-- [et_pb_line_break_holder] --> dir = 1;<!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> currentSlide += dir;<!-- [et_pb_line_break_holder] --> if (currentSlide == n) { currentSlide = 0; }<!-- [et_pb_line_break_holder] --> if (currentSlide == -1) { currentSlide = n - 1; }<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> hideVideoOverlay();<!-- [et_pb_line_break_holder] --> buttonNavState();<!-- [et_pb_line_break_holder] --> showDesc(currentSlide);<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> //animation <!-- [et_pb_line_break_holder] --> for (var i = 0; i < n; i++){<!-- [et_pb_line_break_holder] --> animateImage(i); <!-- [et_pb_line_break_holder] --> } <!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> }; <!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> var animateImage = function(i){<!-- [et_pb_line_break_holder] --> var o = settings,<!-- [et_pb_line_break_holder] --> item = slideItems.eq(i),<!-- [et_pb_line_break_holder] --> pos = slidePos(i);<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> item.show();<!-- [et_pb_line_break_holder] --> item.animate(setSlidePosition(pos), o.speed, 'linear', function(){<!-- [et_pb_line_break_holder] --> hideItem($(this)); <!-- [et_pb_line_break_holder] --> if (i == numberSlides - 1){<!-- [et_pb_line_break_holder] --> isAnimationRunning = false ;<!-- [et_pb_line_break_holder] --> if (currentSlide != targetSlide){ <!-- [et_pb_line_break_holder] --> animateSlide();<!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --> else {<!-- [et_pb_line_break_holder] --> self.current = currentSlide ;<!-- [et_pb_line_break_holder] --> showVideoOverlay(currentSlide);<!-- [et_pb_line_break_holder] --> o.after(self); <!-- [et_pb_line_break_holder] --> } <!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --> });<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> item.css({'z-index':zIndex(pos)});<!-- [et_pb_line_break_holder] --> slideImage.eq(i).animate(setImageSize(pos), o.speed, 'linear');<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> if (o.reflection == true){<!-- [et_pb_line_break_holder] --> animateReflection(o, item, i);<!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> if (o.shadow == true){<!-- [et_pb_line_break_holder] --> animateShadow(o, item, i);<!-- [et_pb_line_break_holder] --> } <!-- [et_pb_line_break_holder] --> };<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> var slideClick = function(event){<!-- [et_pb_line_break_holder] --> var $this = $(this);<!-- [et_pb_line_break_holder] --> if ($this.index() != currentSlide){<!-- [et_pb_line_break_holder] --> goTo($this.index(), true, false);<!-- [et_pb_line_break_holder] --> return false;<!-- [et_pb_line_break_holder] --> } <!-- [et_pb_line_break_holder] --> };<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> /* ________________________________ */<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> /* REFLECTION */<!-- [et_pb_line_break_holder] --> /* ________________________________ */<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> var reflectionHeight = function(p){<!-- [et_pb_line_break_holder] --> var h = 0,<!-- [et_pb_line_break_holder] --> o = settings ;<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> if (o.reflection == true){<!-- [et_pb_line_break_holder] --> h = o.reflectionHeight * setImageSize(p).height;<!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> return h ;<!-- [et_pb_line_break_holder] --> };<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> var initReflection = function(){<!-- [et_pb_line_break_holder] --> var o = settings ,<!-- [et_pb_line_break_holder] --> items = slideItems ,<!-- [et_pb_line_break_holder] --> images = slideImage ,<!-- [et_pb_line_break_holder] --> n = numberSlides,<!-- [et_pb_line_break_holder] --> opc = o.reflectionOpacity,<!-- [et_pb_line_break_holder] --> start = 'rgba('+o.reflectionColor+','+ opc +')',<!-- [et_pb_line_break_holder] --> end = 'rgba('+o.reflectionColor+',1)';<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> var style = '</p><!-- [et_pb_line_break_holder] --><style type="text/css">';<!-- [et_pb_line_break_holder] --> style += '.slideItem .gradient {';<!-- [et_pb_line_break_holder] --> style += 'position:absolute; left:0; top:0; margin:0; padding:0; border:none; width:100%; height:100%; ';<!-- [et_pb_line_break_holder] --> style += 'background: -moz-linear-gradient('+start+','+end+'); ';<!-- [et_pb_line_break_holder] --> style += 'background: -o-linear-gradient('+start+','+end+'); ';<!-- [et_pb_line_break_holder] --> style += 'background: -webkit-linear-gradient('+start+','+end+'); ';<!-- [et_pb_line_break_holder] --> style += 'background: -webkit-gradient(linear, 0% 0%, 0% 100%, from('+start+'), to('+end+')); ';<!-- [et_pb_line_break_holder] --> style += 'background: linear-gradient('+start+','+end+'); ';<!-- [et_pb_line_break_holder] --> style += '} ';<!-- [et_pb_line_break_holder] --> style += '.slideItem .reflection {';<!-- [et_pb_line_break_holder] --> style += 'filter: progid:DXImageTransform.Microsoft.Alpha(style=1,opacity='+(opc*100)+',finishOpacity=0,startX=0,finishX=0,startY=0,finishY=100)';<!-- [et_pb_line_break_holder] --> style += '-ms-filter: progid:DXImageTransform.Microsoft.Alpha(style=1,opacity='+(opc*100)+',finishOpacity=0,startX=0,finishX=0,startY=0,finishY=100)';<!-- [et_pb_line_break_holder] --> style += '}';<!-- [et_pb_line_break_holder] --> style += '</style><!-- [et_pb_line_break_holder] --><p>';<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> $(style).appendTo('head');<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> for (var i=0; i < n; i++){<!-- [et_pb_line_break_holder] --> var src = images.eq(i).attr('src'),<!-- [et_pb_line_break_holder] --> sz = setImageSize(i);<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> $('</p><!-- [et_pb_line_break_holder] --><div class="reflection"></div><!-- [et_pb_line_break_holder] --><p>')<!-- [et_pb_line_break_holder] --> .css({'position':'absolute', 'margin':'0', 'padding':'0', 'border':'none', 'overflow':'hidden', 'left':'0', <!-- [et_pb_line_break_holder] --> 'top':setImageSize(i).height+'px', 'width':'100%', 'height':reflectionHeight(i)})<!-- [et_pb_line_break_holder] --> .appendTo(items.eq(i))<!-- [et_pb_line_break_holder] --> .append($('<img src="'+src+'" />').css({'width':sz.width+'px', 'height':sz.height+'px', 'left':'0','margin':'0', <!-- [et_pb_line_break_holder] --> 'padding':'0', 'border':'none', '-moz-transform':'rotate(180deg) scale(-1,1)', <!-- [et_pb_line_break_holder] --> '-webkit-transform':'rotate(180deg) scale(-1,1)', '-o-transform':'rotate(180deg) scale(-1,1)', <!-- [et_pb_line_break_holder] --> 'transform':'rotate(180deg) scale(-1,1)', 'filter': 'progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)', <!-- [et_pb_line_break_holder] --> '-ms-filter': 'progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)'}))<!-- [et_pb_line_break_holder] --> .append('</p><!-- [et_pb_line_break_holder] --><div class="gradient"></div><!-- [et_pb_line_break_holder] --><p>');<!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --> }; <!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> var animateReflection = function(option, item, i){<!-- [et_pb_line_break_holder] --> var ref = item.children('.reflection'),<!-- [et_pb_line_break_holder] --> speed = option.speed,<!-- [et_pb_line_break_holder] --> sz = setImageSize(slidePos(i));<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> ref.animate({'top':sz.height+'px', 'height':reflectionHeight(slidePos(i))}, speed, 'linear');<!-- [et_pb_line_break_holder] --> ref.children('img').animate(sz, speed, 'linear'); <!-- [et_pb_line_break_holder] --> };<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> /* ________________________________ */<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> /* SHADOW */<!-- [et_pb_line_break_holder] --> /* ________________________________ */<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> var shadowHeight = function(p){<!-- [et_pb_line_break_holder] --> var sh = 0;<!-- [et_pb_line_break_holder] --> if (settings.shadow == true){<!-- [et_pb_line_break_holder] --> sh = 0.1 * setImageSize(p).height;<!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --> return sh ;<!-- [et_pb_line_break_holder] --> };<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> var shadowMiddleWidth = function(p){<!-- [et_pb_line_break_holder] --> var w,<!-- [et_pb_line_break_holder] --> s = slideItems.eq(p).find('.shadow'),<!-- [et_pb_line_break_holder] --> sL = s.children('.shadowLeft'),<!-- [et_pb_line_break_holder] --> sR = s.children('.shadowRight'),<!-- [et_pb_line_break_holder] --> sM = s.children('.shadowMiddle');<!-- [et_pb_line_break_holder] --> return w = setImageSize(p).width - (sL.width() + sR.width());<!-- [et_pb_line_break_holder] --> };<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> var initShadow = function(){<!-- [et_pb_line_break_holder] --> var items = slideItems, <!-- [et_pb_line_break_holder] --> n = numberSlides,<!-- [et_pb_line_break_holder] --> sWidth = setImageSize(0).width,<!-- [et_pb_line_break_holder] --> sInner = '</p><!-- [et_pb_line_break_holder] --><div class="shadowLeft"></div><!-- [et_pb_line_break_holder] --><div class="shadowMiddle"></div><!-- [et_pb_line_break_holder] --><div class="shadowRight"></div><!-- [et_pb_line_break_holder] --><p>';<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> if (settings.hAlign != 'center'){<!-- [et_pb_line_break_holder] --> sWidth = setImageSize(n-1).width;<!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> for (var i = 0; i < n; i++){<!-- [et_pb_line_break_holder] --> var item = items.eq(i);<!-- [et_pb_line_break_holder] --> $('</p><!-- [et_pb_line_break_holder] --><div class="shadow"></div><!-- [et_pb_line_break_holder] --><p>')<!-- [et_pb_line_break_holder] --> .css({'width':sWidth+'px', 'z-index':'-1', 'position':'absolute', 'margin':'0', 'padding':'0', 'border':'none', <!-- [et_pb_line_break_holder] --> 'overflow':'hidden', 'left':'0', 'bottom':'0'})<!-- [et_pb_line_break_holder] --> .append(sInner)<!-- [et_pb_line_break_holder] --> .appendTo(item)<!-- [et_pb_line_break_holder] --> .children('div').css({'position':'relative', 'float':'left'});<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> item.find('.shadow').children('.shadowMiddle').width(shadowMiddleWidth(i)); <!-- [et_pb_line_break_holder] --> } <!-- [et_pb_line_break_holder] --> };<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> var animateShadow = function(option, item, i){<!-- [et_pb_line_break_holder] --> item.find('.shadow').children('.shadowMiddle').animate({'width':shadowMiddleWidth(slidePos(i))+'px'}, option.speed, 'linear');<!-- [et_pb_line_break_holder] --> };<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> /* ________________________________ */<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> /* DIRECTION BUTTONS */<!-- [et_pb_line_break_holder] --> /* ________________________________ */<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> var initDirectionButton = function(){<!-- [et_pb_line_break_holder] --> var el = element ;<!-- [et_pb_line_break_holder] --> el.append('</p><!-- [et_pb_line_break_holder] --><div class="nextButton"></div><!-- [et_pb_line_break_holder] --><div class="prevButton"></div><!-- [et_pb_line_break_holder] --><p>');<!-- [et_pb_line_break_holder] --> el.children('.nextButton').bind('click', function(event){<!-- [et_pb_line_break_holder] --> goTo(currentSlide+1, true, false);<!-- [et_pb_line_break_holder] --> });<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> el.children('.prevButton').bind('click', function(event){<!-- [et_pb_line_break_holder] --> goTo(currentSlide-1, true, false); <!-- [et_pb_line_break_holder] --> }); <!-- [et_pb_line_break_holder] --> };<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> /* ________________________________ */<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> /* BUTTON NAV */<!-- [et_pb_line_break_holder] --> /* ________________________________ */ <!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> var initButtonNav = function(){<!-- [et_pb_line_break_holder] --> var el = element,<!-- [et_pb_line_break_holder] --> n = numberSlides,<!-- [et_pb_line_break_holder] --> buttonName = 'bullet',<!-- [et_pb_line_break_holder] --> activeClass = 'bulletActive';<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> if (settings.buttonNav == 'numbers'){<!-- [et_pb_line_break_holder] --> buttonName = 'numbers';<!-- [et_pb_line_break_holder] --> activeClass = 'numberActive';<!-- [et_pb_line_break_holder] --> } <!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> el.append('</p><!-- [et_pb_line_break_holder] --><div class="buttonNav"></div><!-- [et_pb_line_break_holder] --><p>');<!-- [et_pb_line_break_holder] --> var buttonNav = el.children('.buttonNav') ;<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> for (var i = 0; i < n; i++){<!-- [et_pb_line_break_holder] --> var number = '';<!-- [et_pb_line_break_holder] --> if (buttonName == 'numbers'){ number = i+1 ; }<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> $('</p><!-- [et_pb_line_break_holder] --><div class="'+buttonName+'">'+number+'</div><!-- [et_pb_line_break_holder] --><p>')<!-- [et_pb_line_break_holder] --> .css({'text-align':'center'})<!-- [et_pb_line_break_holder] --> .bind('click', function(event){<!-- [et_pb_line_break_holder] --> goTo($(this).index(), true, false);<!-- [et_pb_line_break_holder] --> })<!-- [et_pb_line_break_holder] --> .appendTo(buttonNav); <!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> var b = buttonNav.children('.'+buttonName);<!-- [et_pb_line_break_holder] --> b.eq(0).addClass(activeClass) <!-- [et_pb_line_break_holder] --> buttonNav.css({'width':numberSlides * b.outerWidth(true), 'height':b.outerHeight(true)});<!-- [et_pb_line_break_holder] --> };<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> var buttonNavState = function(){<!-- [et_pb_line_break_holder] --> var o = settings,<!-- [et_pb_line_break_holder] --> buttonNav = element.children('.buttonNav');<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> if (o.buttonNav == 'numbers'){ <!-- [et_pb_line_break_holder] --> //numbers<!-- [et_pb_line_break_holder] --> var numbers = buttonNav.children('.numbers') ;<!-- [et_pb_line_break_holder] --> numbers.removeClass('numberActive');<!-- [et_pb_line_break_holder] --> numbers.eq(currentSlide).addClass('numberActive');<!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --> else { <!-- [et_pb_line_break_holder] --> //bullets<!-- [et_pb_line_break_holder] --> var bullet = buttonNav.children('.bullet') ;<!-- [et_pb_line_break_holder] --> bullet.removeClass('bulletActive');<!-- [et_pb_line_break_holder] --> bullet.eq(currentSlide).addClass('bulletActive'); <!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --> };<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> /* ________________________________ */<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> /* DESCRIPTION */<!-- [et_pb_line_break_holder] --> /* ________________________________ */<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> var initDesc = function(){<!-- [et_pb_line_break_holder] --> var desc = $(settings.descriptionContainer),<!-- [et_pb_line_break_holder] --> w = desc.width(), <!-- [et_pb_line_break_holder] --> h = desc.height(),<!-- [et_pb_line_break_holder] --> descItems = desc.children('div'),<!-- [et_pb_line_break_holder] --> n = descItems.length;<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> for (var i = 0; i < n; i++){<!-- [et_pb_line_break_holder] --> descItems.eq(i)<!-- [et_pb_line_break_holder] --> .hide()<!-- [et_pb_line_break_holder] --> .css({'position':'absolute', 'top':'0', 'left':'0'});<!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> descItems.eq(0).show();<!-- [et_pb_line_break_holder] --> };<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> var hideDesc = function(index){<!-- [et_pb_line_break_holder] --> var o = settings ;<!-- [et_pb_line_break_holder] --> if (o.description == true){<!-- [et_pb_line_break_holder] --> var desc = $(o.descriptionContainer);<!-- [et_pb_line_break_holder] --> desc.children('div').eq(index).hide();<!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --> };<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> var showDesc = function(index){<!-- [et_pb_line_break_holder] --> var o = settings ;<!-- [et_pb_line_break_holder] --> if (o.description == true){<!-- [et_pb_line_break_holder] --> var desc = $(o.descriptionContainer);<!-- [et_pb_line_break_holder] --> desc.children('div').eq(index).show();<!-- [et_pb_line_break_holder] --> } <!-- [et_pb_line_break_holder] --> };<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> /* ___________________________________ */<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> /* VIDEO */<!-- [et_pb_line_break_holder] --> /* ___________________________________ */<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> var initSpinner = function(){<!-- [et_pb_line_break_holder] --> var sz = setImageSize(0);<!-- [et_pb_line_break_holder] --> $('</p><!-- [et_pb_line_break_holder] --><div class="spinner"></div><!-- [et_pb_line_break_holder] --><p>')<!-- [et_pb_line_break_holder] --> .hide()<!-- [et_pb_line_break_holder] --> .css(setSlidePosition(0))<!-- [et_pb_line_break_holder] --> .css({'width':sz.width+'px', 'height':sz.height+'px', 'z-index':numberSlides+3, 'position':'absolute', 'cursor':'pointer', <!-- [et_pb_line_break_holder] --> 'overflow':'hidden', 'padding':'0', 'margin':'0', 'border':'none'}) <!-- [et_pb_line_break_holder] --> .appendTo(carousel);<!-- [et_pb_line_break_holder] --> };<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> var initVideo = function(){<!-- [et_pb_line_break_holder] --> initSpinner();<!-- [et_pb_line_break_holder] --> var sz = setImageSize(0);<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> $('</p><!-- [et_pb_line_break_holder] --><div class="videoOverlay"></div><!-- [et_pb_line_break_holder] --><p>')<!-- [et_pb_line_break_holder] --> .hide()<!-- [et_pb_line_break_holder] --> .css(setSlidePosition(0))<!-- [et_pb_line_break_holder] --> .css({'width':sz.width+'px', 'height':sz.height+'px', 'z-index':numberSlides+2, 'position':'absolute', <!-- [et_pb_line_break_holder] --> 'cursor':'pointer', 'overflow':'hidden', 'padding':'0', 'margin':'0', 'border':'none'}) <!-- [et_pb_line_break_holder] --> .bind('click', videoOverlayClick)<!-- [et_pb_line_break_holder] --> .appendTo(carousel);<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> showVideoOverlay(currentSlide); <!-- [et_pb_line_break_holder] --> };<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> var showVideoOverlay = function(index){<!-- [et_pb_line_break_holder] --> if (slideItems.eq(index).children('a').hasClass('video')){<!-- [et_pb_line_break_holder] --> carousel.children('.videoOverlay').show();<!-- [et_pb_line_break_holder] --> } <!-- [et_pb_line_break_holder] --> };<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> var hideVideoOverlay = function(){<!-- [et_pb_line_break_holder] --> var car = carousel;<!-- [et_pb_line_break_holder] --> car.children('.videoOverlay')<!-- [et_pb_line_break_holder] --> .hide()<!-- [et_pb_line_break_holder] --> .children().remove();<!-- [et_pb_line_break_holder] --> car.children('.spinner').hide();<!-- [et_pb_line_break_holder] --> };<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> var getVideo = function(url){<!-- [et_pb_line_break_holder] --> var types = videos,<!-- [et_pb_line_break_holder] --> src;<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> $.each(types, function(i, e){<!-- [et_pb_line_break_holder] --> if (url.match(e.reg)){<!-- [et_pb_line_break_holder] --> var id = url.split(e.split)[e.index].split('?')[0].split('&')[0];<!-- [et_pb_line_break_holder] --> src = e.url.replace("%id%", id);<!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --> });<!-- [et_pb_line_break_holder] --> return src ;<!-- [et_pb_line_break_holder] --> };<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> var addVideoContent = function(){<!-- [et_pb_line_break_holder] --> var vo = carousel.children('.videoOverlay'),<!-- [et_pb_line_break_holder] --> url = slideItems.eq(currentSlide).children('a').attr('href'),<!-- [et_pb_line_break_holder] --> src = getVideo(url);<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> $('<iframe></iframe>')<!-- [et_pb_line_break_holder] --> .attr({'width':vo.width()+'px', 'height':vo.height()+'px', 'src':src, 'frameborder':'0'})<!-- [et_pb_line_break_holder] --> .bind('load', videoLoad)<!-- [et_pb_line_break_holder] --> .appendTo(vo);<!-- [et_pb_line_break_holder] --> };<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> var videoOverlayClick = function(event){<!-- [et_pb_line_break_holder] --> addVideoContent();<!-- [et_pb_line_break_holder] --> carousel.children('.spinner').show();<!-- [et_pb_line_break_holder] --> $(this).hide();<!-- [et_pb_line_break_holder] --> if (settings.autoplay == true){ <!-- [et_pb_line_break_holder] --> stopAutoplay();<!-- [et_pb_line_break_holder] --> pause = false ;<!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --> };<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> var videoLoad = function(event){<!-- [et_pb_line_break_holder] --> var car = carousel;<!-- [et_pb_line_break_holder] --> car.children('.videoOverlay').show();<!-- [et_pb_line_break_holder] --> car.children('.spinner').hide();<!-- [et_pb_line_break_holder] --> }; <!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> /* ________________________________ */<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> /* AUTOPLAY */<!-- [et_pb_line_break_holder] --> /* ________________________________ */<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> var runAutoplay = function(){<!-- [et_pb_line_break_holder] --> intervalProcess = setInterval(function(){<!-- [et_pb_line_break_holder] --> goTo(currentSlide+1, false, true);<!-- [et_pb_line_break_holder] --> }, settings.autoplayInterval); <!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> }; <!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> var stopAutoplay = function(){<!-- [et_pb_line_break_holder] --> if (settings.autoplay == true){<!-- [et_pb_line_break_holder] --> clearInterval(intervalProcess);<!-- [et_pb_line_break_holder] --> return ;<!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --> }; <!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> //public api<!-- [et_pb_line_break_holder] --> this.prev = function(){<!-- [et_pb_line_break_holder] --> goTo(currentSlide-1, true, false);<!-- [et_pb_line_break_holder] --> };<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> this.next = function(){<!-- [et_pb_line_break_holder] --> goTo(currentSlide+1, true, false);<!-- [et_pb_line_break_holder] --> };<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> this.goTo = function(index){<!-- [et_pb_line_break_holder] --> goTo(index, true, false);<!-- [et_pb_line_break_holder] --> };<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> this.pause = function(){<!-- [et_pb_line_break_holder] --> stopAutoplay();<!-- [et_pb_line_break_holder] --> pause = false ;<!-- [et_pb_line_break_holder] --> }; <!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> this.resume = function(){<!-- [et_pb_line_break_holder] --> if (settings.autoplay == true){<!-- [et_pb_line_break_holder] --> runAutoplay();<!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --> }; <!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> };<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> //plugin<!-- [et_pb_line_break_holder] --> $.fn.carousel = function(options){<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> var returnArr = [];<!-- [et_pb_line_break_holder] --> for(var i=0; i < this.length; i++){<!-- [et_pb_line_break_holder] --> if(!this[i].carousel){<!-- [et_pb_line_break_holder] --> this[i].carousel = new CarouselEvo(this[i], options);<!-- [et_pb_line_break_holder] --> this[i].carousel.init();<!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --> returnArr.push(this[i].carousel);<!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --> return returnArr.length > 1 ? returnArr : returnArr[0]; <!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> };<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> //default settings<!-- [et_pb_line_break_holder] --> $.fn.carousel.defaults = {<!-- [et_pb_line_break_holder] --> hAlign:'center', <!-- [et_pb_line_break_holder] --> vAlign:'center', <!-- [et_pb_line_break_holder] --> hMargin:0.4, <!-- [et_pb_line_break_holder] --> vMargin:0.2, <!-- [et_pb_line_break_holder] --> frontWidth:400, <!-- [et_pb_line_break_holder] --> frontHeight:300, <!-- [et_pb_line_break_holder] --> carouselWidth:1000, <!-- [et_pb_line_break_holder] --> carouselHeight:360, <!-- [et_pb_line_break_holder] --> left:0, <!-- [et_pb_line_break_holder] --> right:0, <!-- [et_pb_line_break_holder] --> top:0, <!-- [et_pb_line_break_holder] --> bottom:0, <!-- [et_pb_line_break_holder] --> backZoom:0.8, <!-- [et_pb_line_break_holder] --> slidesPerScroll:5, <!-- [et_pb_line_break_holder] --> speed:500, <!-- [et_pb_line_break_holder] --> buttonNav:'none', <!-- [et_pb_line_break_holder] --> directionNav:false,<!-- [et_pb_line_break_holder] --> autoplay:true, <!-- [et_pb_line_break_holder] --> autoplayInterval:5000, <!-- [et_pb_line_break_holder] --> pauseOnHover:true, <!-- [et_pb_line_break_holder] --> mouse:true, <!-- [et_pb_line_break_holder] --> shadow:false, <!-- [et_pb_line_break_holder] --> reflection:false, <!-- [et_pb_line_break_holder] --> reflectionHeight:0.2, <!-- [et_pb_line_break_holder] --> reflectionOpacity:0.5, <!-- [et_pb_line_break_holder] --> reflectionColor:'255,255,255',<!-- [et_pb_line_break_holder] --> description:false, descriptionContainer:'.description',<!-- [et_pb_line_break_holder] --> backOpacity:1,<!-- [et_pb_line_break_holder] --> before: function(carousel){}, <!-- [et_pb_line_break_holder] --> after: function(carousel){}<!-- [et_pb_line_break_holder] --> };<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] -->})(jQuery);<!-- [et_pb_line_break_holder] --></script><!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --></p><div class="carousel"><p><!-- BEGIN CAROUSEL --><!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --></p><div class="slides"><p><!-- BEGIN SLIDES --><!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --></p><div><!-- SLIDE ITEM --><a href="http://www.sealdesignllc.com/catalog/<!-- [et_pb_line_break_holder] -->"><img src="/wp-content/uploads/2019/01/slide-1.jpg" /></a></div><p><!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --></p><div><!-- SLIDE ITEM --><!-- [et_pb_line_break_holder] --> <a href="https://catalog.sealdesignllc.com/product/touch-n-seal-poly-clean/<!-- [et_pb_line_break_holder] -->"> <!-- [et_pb_line_break_holder] --> <img src="/wp-content/uploads/2019/01/slide-2.jpg" /><!-- [et_pb_line_break_holder] --> </a> <!-- [et_pb_line_break_holder] --></div><p><!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --></p><div><!-- SLIDE ITEM --><a href="https://catalog.sealdesignllc.com/product-category/touch-n-seal-adhesives-and-high-bond-tapes/high-bond-types/<!-- [et_pb_line_break_holder] -->"><img src="/wp-content/uploads/2019/01/slide-3.jpg" /></a></div><p><!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --></p><div><!-- SLIDE ITEM --><!-- [et_pb_line_break_holder] --> <a href="https://catalog.sealdesignllc.com/product-category/extruded-seals-and-tapes/<!-- [et_pb_line_break_holder] -->"> <!-- [et_pb_line_break_holder] --> <img src="/wp-content/uploads/2019/01/slide-4.jpg" /><!-- [et_pb_line_break_holder] --> </a> <!-- [et_pb_line_break_holder] --></div><p><!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --></p><div><!-- SLIDE ITEM --><!-- [et_pb_line_break_holder] --> <a href="https://catalog.sealdesignllc.com/product-category/touch-n-seal-products/<!-- [et_pb_line_break_holder] -->"> <!-- [et_pb_line_break_holder] --> <img src="/wp-content/uploads/2019/01/slide-5.jpg" /><!-- [et_pb_line_break_holder] --> </a> <!-- [et_pb_line_break_holder] --></div><p><!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --></p><div><!-- SLIDE ITEM --><!-- [et_pb_line_break_holder] --> <a href="https://catalog.sealdesignllc.com/product-category/gasket-seals/<!-- [et_pb_line_break_holder] -->"> <!-- [et_pb_line_break_holder] --> <img src="/wp-content/uploads/2019/01/slide-6.jpg" /><!-- [et_pb_line_break_holder] --> </a> <!-- [et_pb_line_break_holder] --></div><p><!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --></p><div><!-- SLIDE ITEM --><!-- [et_pb_line_break_holder] --> <a href="https://catalog.sealdesignllc.com/product-category/extruded-seals-and-tapes/<!-- [et_pb_line_break_holder] -->"> <!-- [et_pb_line_break_holder] --> <img src="/wp-content/uploads/2019/01/slide-7.jpg" /><!-- [et_pb_line_break_holder] --> </a> <!-- [et_pb_line_break_holder] --></div><p><!-- [et_pb_line_break_holder] --></p><div><!-- SLIDE ITEM --><!-- [et_pb_line_break_holder] --> <a href="https://catalog.sealdesignllc.com/product-category/seal-tite-window-door-and-molding-sealant/<!-- [et_pb_line_break_holder] -->"> <!-- [et_pb_line_break_holder] --> <img src="/wp-content/uploads/2019/01/slide-8.jpg" /><!-- [et_pb_line_break_holder] --> </a> <!-- [et_pb_line_break_holder] --></div><p><!-- [et_pb_line_break_holder] --></p><div><!-- SLIDE ITEM --><!-- [et_pb_line_break_holder] --> <a href="https://catalog.sealdesignllc.com/product-category/seal-tite-corner-seal/<!-- [et_pb_line_break_holder] -->"> <!-- [et_pb_line_break_holder] --> <img src="/wp-content/uploads/2019/01/slide-9.jpg" /><!-- [et_pb_line_break_holder] --> </a> <!-- [et_pb_line_break_holder] --></div><p><!-- [et_pb_line_break_holder] --></p><div><!-- SLIDE ITEM --><!-- [et_pb_line_break_holder] --> <a href="https://catalog.sealdesignllc.com/product-category/seal-tite-window-door-and-molding-sealant/<!-- [et_pb_line_break_holder] -->"> <!-- [et_pb_line_break_holder] --> <img src="/wp-content/uploads/2019/01/slide-10.jpg" /><!-- [et_pb_line_break_holder] --> </a> <!-- [et_pb_line_break_holder] --></div><p><!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --></p></div><p><!-- END SLIDES --><!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --></p></div><p><!-- END CAROUSEL --><!-- [et_pb_line_break_holder] --></p><div style="“clear: both”;"> </div>

THE SEALING TECHNOLOGY LEADER

Seal Design provides advanced technology sealing products/systems that can be used alone, or combined to form our Water-Shield system. Seal Design works hard to improve sealant application systems and provide expert product and installation advice/support. We seek out the best sealing technologies in other industries that can apply to RVs to help prevent leaks. For complete protection, get the Water-Shield from Seal Design.

Seal Design LLc

Seal Design LLc