1$(document).ready(function () { 2 if ($(".listdownload .left:hidden").length < 6) { 3 $("#loadMore").hide(); 4 } 5 6 $(".listdownload .left").slice(0, 6).show(); 7 $("#loadMore").on("click", function (e) { 8 e.preventDefault(); 9 $(".listdownload .left:hidden").slice(0, 6).slideDown(); 10 if ($(".listdownload .left:hidden").length == 0) { 11 $("#loadMore").text("load less").addClass("noblog"); 12 } 13 }); 14}) 15 16 17 18$(document).ready(function() { 19 /* When user clicks the Icon */ 20 // new WOW().init(); 21 $(".nav-toggle").click(function() { 22 $(this).toggleClass("active"); 23 // $(".nav_main").toggleClass("open"); 24 $("body").toggleClass("nav_open"); 25 }); 26}); 27 28if ((navigator.userAgent.match(/iPhone/i)) || (navigator.userAgent.match(/iPod/i)) || (navigator.userAgent.match(/iPad/i))) { 29 $(".intervent_list ul li").click(function() { 30 //we just need to attach a click event listener to provoke iPhone/iPod/iPad's hover event 31 //strange 32 }); 33 $(".partenaires_con ul li").click(function() { 34 //we just need to attach a click event listener to provoke iPhone/iPod/iPad's hover event 35 //strange 36 }); 37} 38 39 40/* When user clicks the Icon */ 41 42 43if ($(window).width() < 1120) { 44 $('.nav-toggle').click(function() { 45 $(".nav-main").slideToggle('.nav-main'); 46 }); 47 48 $(".nav-main ul li a").click(function() { 49 $(".nav-toggle").removeClass("active"); 50 $(".nav-main").removeClass("open"); 51 $("body").removeClass("nav_open"); 52 $("html").removeClass("scroll");
53 $(".nav-main").slideUp('.nav-main'); 54 }); 55} 56$(".phoneno input").attr("type", "number"); 57 58// ----------add class in gform------------- 59jQuery('.gform_wrapper input[type=text]').addClass('form-control'); 60jQuery('.gform_wrapper textarea').addClass('form-control'); 61jQuery('#gform_submit_button_1').addClass('btn-main'); 62jQuery('.gform_validation_error , input, select, textarea').addClass('form-control'); 63jQuery('.gform_validation_error, .gform_validation_error input, .gform_validation_error select, .gform_validation_error textarea').addClass('form-control'); 64 65$(".nav-main #menu-main-menu a").each(function() { 66 var item = $(this).html(); 67 $(this).append('<span class="hover">' + item + '</span>'); 68}); 69// ----------end------------- 70 71 72if (document.documentElement.clientWidth < 1120) { 73 (function($) { 74 $(document).ready(function() { 75 $('.nav-main ul li.menu-item-has-children > a').after('<span></span>'); 76 77 $('.nav-main ul li').children('ul').toggle(); 78 $('.nav-main ul li span').on('click', function() { 79 $(this).removeAttr('href'); 80 var element = $(this).parent('li'); 81 if (element.hasClass('open')) { 82 element.removeClass('open'); 83 element.find('li').removeClass('open'); 84 element.find('ul').slideUp(200); 85 } else { 86 element.addClass('open'); 87 element.children('ul').slideDown(200); 88 element.siblings('li').children('ul').slideUp(200); 89 element.siblings('li').removeClass('open'); 90 element.siblings('li').find('li').removeClass('open'); 91 element.siblings('li').find('ul').slideUp(200); 92 } 93 }); 94 95 }); 96 })(jQuery); 97} 98 99$(window).scroll(function() { 100 var scroll = $(window).scrollTop(); 101 102 if (scroll >= 50) { 103 $("#header").addClass("fixed"); 104 } else { 105 $("#header").removeClass("fixed"); 106 } 107}); 108$('.teslist').slick({ 109 dots: true, 110 infinite: true, 111 speed: 300, 112 slidesToShow: 2, 113 slidesToScroll: 2, 114 responsive: [{ 115 breakpoint: 1024, 116 settings: { 117 slidesToShow: 2, 118 slidesToScroll: 2, 119 infinite: true, 120 dots: true 121 } 122 }, 123 { 124 breakpoint: 767, 125 settings: { 126 slidesToShow: 1, 127 slidesToScroll: 1 128 } 129 }, 130 { 131 breakpoint: 480, 132 settings: { 133 slidesToShow: 1, 134 slidesToScroll: 1 135 } 136 } 137 // You can unslick at a given breakpoint now by adding: 138 // settings: "unslick" 139 // instead of a settings object 140 ] 141}); 142 143 144 145$('.workimage').slick({ 146 dots: false, 147 infinite: true, 148 speed: 300, 149 slidesToShow: 5, 150 slidesToScroll: 3, 151 autoplay: true, 152 autoplaySpeed: 2000, 153 responsive: [{ 154 breakpoint: 1024, 155 settings: { 156 slidesToShow: 4, 157 slidesToScroll: 2, 158 infinite: true, 159 dots: false 160 } 161 }, 162 { 163 breakpoint: 767, 164 settings: { 165 slidesToShow: 3, 166 slidesToScroll: 1 167 } 168 }, 169 { 170 breakpoint: 480, 171 settings: { 172 slidesToShow: 1, 173 slidesToScroll: 1 174 } 175 } 176 // You can unslick at a given breakpoint now by adding: 177 // settings: "unslick" 178 // instead of a settings object 179 ] 180}); 181$('.speaking_topics').slick({ 182 dots: true, 183 infinite: false, 184 speed: 300, 185 slidesToShow: 3, 186 slidesToScroll: 1, 187 autoplay: true, 188 autoplaySpeed: 2000, 189 arrows: false, 190 responsive: [{ 191 breakpoint: 1024, 192 settings: { 193 slidesToShow: 2, 194 slidesToScroll: 1, 195 infinite: true, 196 dots: true 197 } 198 }, 199 { 200 breakpoint: 1121, 201 settings: { 202 slidesToShow: 2, 203 slidesToScroll: 1 204 } 205 }, 206 { 207 breakpoint: 768, 208 settings: { 209 slidesToShow: 1, 210 slidesToScroll: 1 211 } 212 } 213 // You can unslick at a given breakpoint now by adding: 214 // settings: "unslick" 215 // instead of a settings object 216 ] 217}); 218if (document.documentElement.clientWidth < 693) { 219 $('.offerings').slick({ 220 dots: true, 221 infinite: true, 222 speed: 300, 223 slidesToShow: 1, 224 slidesToScroll: 1, 225 autoplay: true, 226 autoplaySpeed: 2000,
227 }); 228}; 229 230 231const counters = document.querySelectorAll('.value'); 232const speed = 200; 233 234counters.forEach(counter => { 235 const animate = () => { 236 const value = +counter.getAttribute('akhi'); 237 const data = +counter.innerText; 238 239 const time = value / speed; 240 if (data < value) { 241 counter.innerText = Math.ceil(data + time); 242 setTimeout(animate, 1); 243 } else { 244 counter.innerText = value; 245 } 246 247 } 248 249 animate(); 250}); 251 252 253$(document).ready(function() { 254 $(".product-bundle__products article.product-bundle__product:first-child").addClass("first-bundle"); 255 $(".product-bundle__products article.product-bundle__product:last-child").addClass("second-bundle"); 256 257 $('.first-bundle .product-bundle__product-title,.first-bundle .product-bundle__product-price').wrapAll('<div class="containerwrap"></div>'); 258 $('.second-bundle .product-bundle__product-title,.second-bundle .product-bundle__product-price').wrapAll('<div class="containerwrap"></div>'); 259});
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.