1// testimonial slider 2$(function() { 3 var owl = $("#testimonial_carousel"); 4 var isRTL = $("body").attr("class") === "rtl"; 5 // Check the number of items in the carousel 6 var isNoSlide = owl.hasClass('no-slide'); 7 owl.owlCarousel({ 8 rtl: isRTL, 9 items: 2, 10 margin: 20, 11 loop: !isNoSlide, 12 nav: !isNoSlide, 13 navText: isRTL ? [ 14 "<i class='fa fa-angle-right'></i>", // Right for back in RTL 15 "<i class='fa fa-angle-left'></i>" // Left for next in RTL 16 ] : [ 17 "<i class='fa fa-angle-left'></i>", // Left for back in LTR 18 "<i class='fa fa-angle-right'></i>" // Right for next in LTR 19 ], 20 dots: false, 21 autoplay: !isNoSlide, 22 autoplayTimeout: 8000, 23 autoplaySpeed: 1000, 24 smartSpeed: 1000, 25 responsiveClass: true, 26 responsive: { 27 0: { 28 items: 1, 29 nav: false, 30 }, 31 767: { 32 items: 2, 33 nav: false, 34 }, 35 991: { 36 items: 2, 37 nav: !isNoSlide, 38 }, 39 } 40 }); 41 });
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.