1jQuery(document).ready(function($){ 2 'use strict'; 3 4 //===== about pulse =====// 5 $(".pulse").hover(function() { 6 $(this).removeClass("pulse"); 7 }, function() { 8 $(this).addClass("pulse"); 9 }); 10 11 12 //===== Header Search =====// 13 $('.srch-btn').on('click', function () { 14 $('.header-search').addClass('active'); 15 return false; 16 }); 17 $('.srch-cls-btn').on('click', function () { 18 $('.header-search').removeClass('active'); 19 return false; 20 }); 21 22 23 //===== Audio Player =====// 24 if ($.isFunction($.fn.musicPlayer)) { 25 $(".plyr").musicPlayer({ 26 elements: ['artwork', 'information', 'controls', 'progress', 'time', 'volume'], // ==> This will display in the order it is inserted 27 }); 28 } 29 30 //===== Responsive Header =====// 31 $('.rspn-mnu-btn').on('click', function () { 32 $('.rsnp-mnu').addClass('slidein'); 33 return false; 34 }); 35 $('.rspn-mnu-cls').on('click', function () { 36 $('.rsnp-mnu').removeClass('slidein'); 37 return false; 38 }); 39 $('.rsnp-mnu li.menu-item-has-children > a').on('click', function () { 40 $(this).parent().siblings().children('ul').slideUp(); 41 $(this).parent().siblings().removeClass('active'); 42 $(this).parent().children('ul').slideToggle(); 43 $(this).parent().toggleClass('active'); 44 return false; 45 }); 46 47 //===== Scrollbar =====// 48 if ($('.rsnp-mnu').length > 0) { 49 var ps = new PerfectScrollbar('.rsnp-mnu'); 50 } 51 52 //===== LightBox =====// 53 if ($.isFunction($.fn.fancybox)) { 54 $('[data-fancybox],[data-fancybox="gallery"]').fancybox({}); 55 } 56 57 if ($.isFunction($.fn.fancybox)) { 58 $(".fancybox") 59 .attr('rel', 'gallery') 60 .fancybox({ 61 type: "iframe", 62 beforeShow: function () { 63 } 64 }); 65 } 66 67 if ($('.facts-count').length > 0) { 68 $('.facts-count').counterUp({ 69 delay: 2, 70 time: 350 71 }); 72 } 73 74 //===== Select =====// 75 if ($.isFunction($.fn.selectpicker)) { 76 if ($('select').length > 0) { 77 $('select').selectpicker(); 78 } 79 } 80 81 //===== TouchSpin =====// 82 if ($.isFunction($.fn.TouchSpin)) { 83 $('.quantity > input').TouchSpin(); 84 } 85 86 //===== Owl Carousel =====// 87 if ($.isFunction($.fn.owlCarousel)) { 88 89 //=== Donation Carousel ===// 90 $(window).load(function() { 91 $('.dnt-car').owlCarousel({ 92 //autoplay: true, 93 smartSpeed: 3000, 94 loop: true, 95 items: 1, 96 dots: false, 97 slideSpeed: 1000, 98 autoplayHoverPause: true, 99 nav: true, 100 margin: 0, 101 navText: [ 102 "<i class='fa fa-angle-left'></i>", 103 "<i class='fa fa-angle-right'></i>" 104 ], 105 }); 106 }); 107 108 //=== Testimonials Carousel ===// 109 $(window).load(function() { 110 $('.testi-car').owlCarousel({ 111 autoplay: true, 112 smartSpeed: 2000, 113 loop: true, 114 items: 1, 115 dots: false, 116 slideSpeed: 15000, 117 autoplayHoverPause: true, 118 nav: false, 119 margin: 0, 120 animateIn: 'fadeIn', 121 animateOut: 'fadeOut', 122 navText: [ 123 "<i class='fa fa-angle-up'></i>", 124 "<i class='fa fa-angle-down'></i>" 125 ] 126 }); 127 }); 128 129 //=== Featured Area Carousel ===// 130 $(window).load(function() { 131 $('.featured-area').owlCarousel({ 132 autoplay: true, 133 smartSpeed: 2000, 134 loop: true, 135 items: 1, 136 dots: false, 137 slideSpeed: 3000, 138 autoplayHoverPause: true, 139 nav: false, 140 navText : ['<i class="fa fa-angle-left" aria-hidden="true"></i>','<i class="fa fa-angle-right" aria-hidden="true"></i>'], 141 margin: 0, 142 animateIn: 'fadeIn', 143 animateOut: 'fadeOut', 144 navText: [ 145 "<i class='fa fa-angle-up'></i>", 146 "<i class='fa fa-angle-down'></i>" 147 ] 148 }); 149 }); 150 151 //=== Testimonials Carousel ===// 152 $(window).load(function() { 153 $('.testi-car').owlCarousel({ 154 autoplay: true, 155 smartSpeed: 3000, 156 loop: true, 157 items: 3, 158 dots: false, 159 slideSpeed: 2000, 160 autoplayHoverPause: true, 161 nav: true, 162 margin: 30, 163 navText: [ 164 "<i class='fa fa-angle-left'></i>", 165 "<i class='fa fa-angle-right'></i>" 166 ], 167 responsive:{ 168 0:{items: 1,nav: false}, 169 481:{items: 1,margin: 30}, 170 771:{items: 2,margin: 30}, 171 981:{items: 3,margin: 30}, 172 1025:{items: 3,margin: 30}, 173 1200:{items: 3} 174 } 175 }); 176 });
177 178 //=== Latest Carousel ===// 179 $(window).load(function() { 180 $('.ltst-car').owlCarousel({ 181 //autoplay: true, 182 smartSpeed: 3000, 183 loop: true, 184 items: 1, 185 dots: false, 186 slideSpeed: 2000, 187 autoplayHoverPause: true, 188 nav: true, 189 margin: 0, 190 animateIn: 'fadeIn', 191 animateOut: 'fadeOut', 192 navText: [ 193 "<i class='fa fa-angle-left'></i>", 194 "<i class='fa fa-angle-right'></i>" 195 ], 196 }); 197 }); 198 } 199 200});//===== Document Ready Ends =====// 201 202 203jQuery(window).on('load',function() { 204 'use strict'; 205 jQuery(".preloader").fadeOut("slow"); 206});//===== Window onLoad Ends =====//
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.