“).append(r(“”).css({width:this.parameters.thumbnailWidth,peak:this.parameters.thumbnailHeight,backgroundImage:’url(“‘+t.getThumbnail()+'”)’}).addClass(“n2-ss-bullet-thumbnail”)).addClass(this.parameters.thumbnailStyle).addClass(“n2-ss-bullet-thumbnail-container”).appendTo(this.slider.sliderElement);swap(this.parameters.thumbnailPosition){case”proper”:t.css({left:s.left-i.left+o,prime:s.top-i.prime+a/2-t.outerHeight(!0)/2});break;case”left”:t.css({left:s.left-i.left-t.outerWidth(!0),prime:s.top-i.prime+a/2-t.outerHeight(!0)/2});break;case”prime”:t.css({left:s.left-i.left+o/2-t.outerWidth(!0)/2,prime:s.top-i.top-t.outerHeight(!0)});break;case”backside”:t.css({left:s.left-i.left+o/2-t.outerWidth(!0)/2,prime:s.top-i.prime+a})}return e.knowledge(“thumbnail”,t),t},t.prototype.onVisibleSlidesChanged=operate(){if(this.$dotsOuter!==s&&(this.$dotsOuter.take away(),delete this.$dotsOuter),this.$bar.html(“”),this.slider.visibleSlides.size

‘).attr(“position”,”button”).attr(“aria-label”,e.getTitle()).appendTo(this.$bar);swap(this.$dotsOuter=this.$dotsOuter.add(i.wrap(r(‘

‘).on(this.occasion,this.onDotClick.bind(this,e))).on(“n2Activate”,this.onDotClick.bind(this,e))),e.$dot=i,this.$dots=this.$dots.add(i),this.parameters.mode){case”numeric”:i.html(t+1);break;case”title”:i.html(e.getTitle())}1===this.parameters.thumbnail&&e.getThumbnail()&&i.on({universalenter:this.showThumbnail.bind(this,e)},{leaveOnSecond:!0})}this.onSlideSwitch(null,this.slider.currentSlide)}},t.prototype.onDotClick=operate(t,e){this.slider.directionalChangeTo(t.index)},t.prototype.calculateDimensions=operate(t){this.isVisible()?(this.$widget.addClass(“n2-ss-control-bullet–calculate-size”),t[this.key+”width”]=this.$bar.outerWidth(),t[this.key+”height”]=this.$bar.outerHeight(),this.$widget.removeClass(“n2-ss-control-bullet–calculate-size”)):(t[this.key+”width”]=0,t[this.key+”height”]=0)},t});new N2Classes.SmartSliderWidgetBulletTransition(this, {“space”:10,”dotClasses”:”n2-style-c0fe1c7a37b7b7c3cb83a8d1cde6e7ce-dot “,”mode”:””,”motion”:”click on”});}});});

Source

Leave a Reply