1(function ($) { 2 "use strict"; 3 4 $(document).ready(function () { 5 /*--------------------------------------------------- 6 Slider Carousel 7 ----------------------------------------------------*/ 8 $('.slider-carousel').owlCarousel({ 9 loop: true, 10 navText: ['<i class="icofont icofont-simple-left"></i>', '<i class="icofont icofont-simple-right"></i>'], 11 nav: true, 12 autoplay: true, 13 autoplayTimeout: 5000, 14 animateOut: 'fadeOut', 15 animateIn: 'fadeIn', 16 smartSpeed: 450, 17 responsive: { 18 0: { 19 items: 1 20 }, 21 768: { 22 items: 1 23 }, 24 991: { 25 items: 1 26 }, 27 1200: { 28 items: 1 29 }, 30 1920: { 31 items: 1 32 } 33 } 34 }); 35 36 /*--------------------------------------------------- 37 Testimonial Carousel 38 ----------------------------------------------------*/ 39 $('.testimonial-carousel').owlCarousel({ 40 loop: true, 41 margin: 20, 42 responsive: { 43 0: { 44 items: 1 45 }, 46 768: { 47 items: 2 48 }, 49 991: { 50 items: 2 51 }, 52 1200: { 53 items: 3 54 }, 55 1920: { 56 items: 3 57 } 58 } 59 }); 60 61 /*--------------------------------------------------- 62 Magnific PopUp 63 ----------------------------------------------------*/ 64 $('.popup-video').magnificPopup({ 65 disableOn: 700, 66 type: 'iframe', 67 mainClass: 'mfp-fade', 68 removalDelay: 160, 69 preloader: false, 70 fixedContentPos: false, 71 disableOn: 300 72 }); 73 74 }); 75 76 /*--------------------------------------------------- 77 Smooth Scroll 78 ----------------------------------------------------*/ 79 $(document).on('click', 'nav.navbar.bootsnav ul.nav li a, .demo-heading-content a', function (event) { 80 event.preventDefault(); 81 $('html, body').animate({ 82 scrollTop: $($.attr(this, 'href')).offset().top 83 }, 500); 84 85 }); 86 87 /*--------------------------------------------------- 88 Site Preloader 89 ----------------------------------------------------*/ 90 $(window).on('load', function () { 91 $('.site-preloader').fadeOut(500); 92 }); 93 94}(jQuery));
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.