1$(document).ready(function () { 2// custom start 3 4 5 6//loader 7 window.onload = function(){ 8 //hide the preloader 9 document.querySelector(".loader").style.display = "none"; 10 } 11//hide after few seconds 12 13setTimeout(function() { $(".loader").hide(); }, 5000); 14 15 // social fixed button 16 17// $(".share-icon").click(function(){ 18// $(".sticky-social-icon ").toggleClass("sticky-social-icon-open"); 19// }); 20 21 // wow start 22 wow = new WOW( 23 { 24 animateClass: 'animated', 25 offset: 100, 26 callback: function (box) { 27 console.log("WOW: animating <" + box.tagName.toLowerCase() + ">") 28 } 29 } 30 ); 31 wow.init(); 32 33 // wow end 34 35 36// owl carousel start 37 38 $('.owlhighlight').owlCarousel({ 39 margin: 20, 40 autoplay: true, 41 autoplayTimeout: 3000, 42 autoplayHoverPause: true, 43 loop: true, 44 responsive: { 45 0: { 46 items: 1 47 }, 48 576: { 49 items: 2 50 }, 51 52 768: { 53 items: 2 54 }, 55 992: { 56 items: 3 57 } 58 } 59 }); 60 61 $('.otherproduct').owlCarousel({ 62 margin: 10, 63 autoplay: true, 64 autoplayTimeout: 3000, 65 autoplayHoverPause: true, 66 loop: true, 67 responsive: { 68 0: { 69 items: 1 70 }, 71 576: { 72 items: 2 73 }, 74 768: { 75 items: 2 76 }, 77 992: { 78 items: 3 79 } 80 } 81 }); 82 83 $('.owlforex').owlCarousel({ 84 margin: 10, 85 autoplay: true, 86 autoplayTimeout: 3000, 87 autoplayHoverPause: true, 88 loop: true, 89 responsive: { 90 0: { 91 items: 1 92 }, 93 576: { 94 items: 2 95 }, 96 768: { 97 items: 2 98 }, 99 992: { 100 items: 3 101 } 102 } 103 }); 104 105// owl carousel end 106 107 108// hover effect start 109 110 $(".highlight-single ").hover(function () { 111 $(this).addClass("animate__animated animate__pulse"); 112 }, function () { 113 $(this).removeClass("animate__animated animate__pulse"); 114 } 115 ); 116 117 118 $('.vg-nav-main-container .dropdown').hover(function () { 119 $(this).toggleClass('show'); 120 }); 121 122 123 // search start 124 125 $('.searchicon').click(function () { 126 $(".search-wrapper").slideDown(); 127 }); 128 129 $('.search-close').click(function () { 130 $(".search-wrapper").slideUp(); 131 }); 132 133 // notification 134 135 $('.notificationicon, .top-icon ul li .badge ').click(function () { 136 $(".notification-list").slideToggle(); 137 }); 138 139 140 $('.notificationoverlay').click(function () { 141 $(".notification-list").slideUp(); 142 }); 143 144 145 // scroll top 146 $(window).scroll(function () { 147 if ($(this).scrollTop() > 1) { 148 $('.scroll-top-wrapper').addClass("show"); 149 } else { 150 $('.scroll-top-wrapper').removeClass("show"); 151 } 152 }); 153 $(".scroll-top-wrapper").on("click", function () { 154 $("html, body").animate({scrollTop: 0}, 600); 155 return false; 156 }); 157// form validation 158// Example starter JavaScript for disabling form submissions if there are invalid fields 159 (function () { 160 'use strict' 161 162 // Fetch all the forms we want to apply custom Bootstrap validation styles to 163 var forms = document.querySelectorAll('.needs-validation') 164 165 // Loop over them and prevent submission 166 Array.prototype.slice.call(forms) 167 .forEach(function (form) { 168 form.addEventListener('submit', function (event) { 169 if (!form.checkValidity()) { 170 event.preventDefault() 171 event.stopPropagation() 172 } 173 174 form.classList.add('was-validated') 175 }, false) 176 }) 177 })() 178 179 180// date picker start 181 $("#datepicker").datepicker({ 182 dateFormat: 'mm/dd/yy', 183 changeMonth: true, 184 changeYear: true, 185 yearRange: '-100y:c+nn', 186 maxDate: '-0d' 187 }); 188 189 $('#branchlist').DataTable({"pageLength": 25}); 190 $('#datatable1').DataTable({"pageLength": 25}); 191 $('#datatable2').DataTable({"pageLength": 25}); 192 $('#datatable3').DataTable({"pageLength": 25}); 193 $('#datatable4').DataTable({"pageLength": 25}); 194 $('#datatable5').DataTable({"pageLength": 25}); 195 $('#datatable6').DataTable({"pageLength": 25}); 196 $('#datatable7').DataTable({"pageLength": 25}); 197 $('#datatable8').DataTable({"pageLength": 25}); 198 $('#datatable9').DataTable({"pageLength": 25}); 199 $('#datatable10').DataTable({"pageLength": 25}); 200 $('#atmList').DataTable({"pageLength": 25}); 201});
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.