", style:"hades", hide_onleave:true, left: { h_offset:0 }, right: { h_offset:30 } } }, fallbacks: { allowHTML5AutoPlayOnAndroid:true }, }); } });
'); owl.find('.owl-dots').after('
'); }); var owlRtl = false; if( $('body').hasClass('rtl') ) { owlRtl = true; } var owlLoop = true; owl.owlCarousel({ rtl: owlRtl, items: 3, dots: true, autoplay: false, slideBy: 3, loop: owlLoop, responsive:{ 0:{ items:1, slideBy: 1, dots: false }, 768:{ items:2, slideBy: 2, dots: true }, 992:{ items:3, slideBy: 3 } } }); owl.on('click','.stm-owl-prev', function(){ owl.trigger('prev.owl.carousel'); }); owl.on('click','.stm-owl-next', function(){ owl.trigger('next.owl.carousel'); }); owl.find('.car-title').each(function(){ var html = $(this).html(); var word = html.substr(0, html.indexOf(" ")); var rest = html.substr(html.indexOf(" ")); $(this).html(rest).prepend($("").html(word).addClass("stm-base-color")); }); }); })(jQuery);