templates/project/lib/iasd_widgets.js in iasd-bootstrap-sass-1.7.8 vs templates/project/lib/iasd_widgets.js in iasd-bootstrap-sass-1.7.9
- old
+ new
@@ -4,10 +4,11 @@
var widthCheckerInterval = false;
$(document).ready(function (){
widgets.handleEvents();
owlPlugin.initPostCarousel();
+ owlPlugin.initServiceCarouselFull;
owlPlugin.initServiceCarouselLarge();
owlPlugin.initServiceCarouselSmall();
owlPlugin.initGalleriesCarousel();
owlPlugin.initColumnsCarousel();
owlPlugin.initMagazineCarousel();
@@ -60,9 +61,26 @@
lazyLoad : true
}).data('owlCarousel'));
}
},
+ initServiceCarouselFull : function(){
+ var element = $(".iasd-widget-slider > .services.full");
+ if(element.length > 0) {
+ owlCarousels.push(element.owlCarousel({
+ items : 7,
+ itemsDesktop : [1200,7],
+ itemsDesktopSmall : [991,7],
+ itemsTablet : [768,5],
+ itemsMobile: [479,3],
+ slideSpeed : 500,
+ paginationSpeed : 1000,
+ autoPlay: false,
+ stopOnHover: true
+ }).data('owlCarousel'));
+ }
+ },
+
initServiceCarouselLarge : function(){
var element = $(".iasd-widget-slider > .services.large");
if(element.length > 0) {
owlCarousels.push(element.owlCarousel({
items : 5,
\ No newline at end of file