1$(document).ready(function(){ 2 3 /******Sidenavbar****/ 4 $(".navbar-toggle").on("click", function() { 5 6 $(".mob_navi").toggleClass("menu_open") 7 8 }), $("li.mob_sub_link a").on("click", function() { 9 10 $(this).next().next().toggleClass("submenu_open") 11 12 }), $("li.mob_sub_link span").on("click", function() { 13 14 $(this).next().toggleClass("submenu_open") 15 16 }), $(".mob_sub_link a").on("click", function() { 17 18 $(".mob_navi").addClass("submenu_open1") 19 20 }), $(".mob_sub_link span").on("click", function() { 21 22 $(".mob_navi").addClass("submenu_open1") 23 24 }), $(".mob_sub_navigate a").on("click", function() { 25 26 $(".mob_navi").removeClass("submenu_open1") 27 28 }), $(".mob_sub_navigate span").on("click", function() { 29 30 $(".mob_navi").removeClass("submenu_open1") 31 32 }), $(".mob_sub_navigate i").on("click", function() { 33 34 $(".mob_navi").toggleClass("menu_open") 35 36 }), $(".mob_sub_navigate span").on("click", function() { 37 38 $(".mob_sub_menu").removeClass("submenu_open") 39 40 }); 41 42 /*********Banner**********/ 43 $('.bannerhme_slic').slick({ 44 infinite: true, 45 speed: 1000, 46 fade: false, 47 cssEase: 'ease-in-out', 48 slidesToShow: 1, 49 slidesToScroll: 1, 50 arrows: false, 51 dots: false, 52 autoplay: true, 53 accessibility:false, 54 autoplaySpeed: 4000, 55 responsive: [ 56 { 57 breakpoint: 1200, 58 59 settings: { 60 61 arrows:false, 62 63 64 } 65 66 }, 67 { 68 breakpoint: 768, 69 70 settings: { 71 72 dots:false, 73 arrows:false 74 75 } 76 77 } 78 ] 79 }); 80 81 $(document).ready(function () { 82 83 const $slider = $('.bannerhme_slic'); 84 85 $slider.on('beforeChange', function (event, slick, currentSlide, nextSlide) { 86 87 let $slides = $(slick.$slides); 88 89 // remove old classes 90 $slides.removeClass('is-prev is-next is-active'); 91 92 // add new classes 93 $slides.eq(currentSlide).addClass('is-prev'); 94 $slides.eq(nextSlide).addClass('is-next'); 95 96 }); 97 98 $slider.on('afterChange', function (event, slick, currentSlide) { 99 100 let $slides = $(slick.$slides); 101 102 // clean and set active 103 $slides.removeClass('is-prev is-next is-active'); 104 $slides.eq(currentSlide).addClass('is-active'); 105 106 }); 107 108}); 109 110 /*******home-Service*******/ 111 $('.hme_service_slic').slick({ 112 slidesToShow: 4, 113 slidesToScroll:1, 114 accessibility:false, 115 speed: 2000, 116 autoplay: true, 117 arrows:false, 118 dots: true, 119 responsive: [ 120 { 121 breakpoint: 992, 122 settings: { 123 slidesToShow: 3, 124 slidesToScroll: 1, 125 speed:2000, 126 infinite: true 127 128 } 129 }, 130 131 { 132 breakpoint: 767, 133 settings: { 134 slidesToShow: 2, 135 slidesToScroll: 1, 136 infinite: true 137 138 } 139 }, 140 { 141 breakpoint: 480, 142 settings: { 143 slidesToShow: 2, 144 slidesToScroll: 1, 145 infinite: true 146 147 } 148 } 149 ] 150 }); 151 152 /*******home-Coupon*******/ 153 $('.hme_coupon_slic').slick({ 154 slidesToShow: 2, 155 slidesToScroll:1, 156 accessibility:false, 157 speed: 2000, 158 autoplay: true, 159 arrows:false, 160 dots: false, 161 responsive: [ 162 { 163 breakpoint: 992, 164 settings: { 165 slidesToShow: 2, 166 slidesToScroll: 1, 167 speed:2000, 168 infinite: true 169 170 } 171 }, 172 173 { 174 breakpoint: 767, 175 settings: { 176 slidesToShow: 2, 177 slidesToScroll: 1, 178 infinite: true 179 180 } 181 }, 182 { 183 breakpoint: 480, 184 settings: { 185 slidesToShow: 1, 186 slidesToScroll: 1, 187 infinite: true 188 189 } 190 } 191 ] 192 }); 193 194 /*******home-review*******/ 195 $('.hme_review_left_blk').slick({ 196 slidesToShow: 1, 197 slidesToScroll:1, 198 accessibility:false, 199 speed: 2000, 200 autoplaySpeed:4000, 201 autoplay: true, 202 arrows:false, 203 dots: false, 204 responsive: [ 205 { 206 breakpoint: 992, 207 settings: { 208 slidesToShow: 1, 209 slidesToScroll: 1, 210 speed:2000, 211 infinite: true 212 213 } 214 }, 215 216 { 217 breakpoint: 767, 218 settings: { 219 slidesToShow: 1, 220 slidesToScroll: 1, 221 infinite: true 222 223 } 224 }, 225 { 226 breakpoint: 480, 227 settings: { 228 slidesToShow: 1, 229 slidesToScroll: 1, 230 infinite: true 231 232 } 233 } 234 ] 235 }); 236 237 /*******home-Blog*******/ 238 $('.hme_blog_slic').slick({ 239 slidesToShow: 2, 240 slidesToScroll:1, 241 accessibility:false, 242 lazyLoad: 'ondemand', 243 speed: 2000,
244 autoplaySpeed:4000, 245 autoplay: true, 246 arrows:false, 247 dots: false, 248 responsive: [ 249 { 250 breakpoint: 992, 251 settings: { 252 slidesToShow: 2, 253 slidesToScroll: 1, 254 speed:2000, 255 infinite: true 256 257 } 258 }, 259 260 { 261 breakpoint: 767, 262 settings: { 263 vertical: false, 264 verticalSwiping: false, 265 slidesToShow: 2, 266 slidesToScroll: 1, 267 infinite: true 268 } 269 }, 270 { 271 breakpoint: 480, 272 settings: { 273 vertical: false, 274 verticalSwiping: false, 275 slidesToShow: 2, 276 slidesToScroll: 1, 277 infinite: true 278 } 279 } 280 ] 281 }); 282 283 /*******Service Detail Service*******/ 284 $('.service_det_service_slic').slick({ 285 slidesToShow: 3, 286 slidesToScroll:1, 287 accessibility:false, 288 speed: 5000, 289 autoplay: true, 290 arrows:false, 291 dots: false, 292 responsive: [ 293 { 294 breakpoint: 992, 295 settings: { 296 slidesToShow: 2, 297 slidesToScroll: 1, 298 speed:2000, 299 infinite: true 300 301 } 302 }, 303 304 { 305 breakpoint: 767, 306 settings: { 307 slidesToShow: 2, 308 slidesToScroll: 1, 309 infinite: true 310 311 } 312 }, 313 { 314 breakpoint: 480, 315 settings: { 316 slidesToShow: 2, 317 slidesToScroll: 1, 318 infinite: true 319 320 } 321 } 322 ] 323 }); 324 325 326 327 /** fixed header **/ 328 $(window).scroll(function () { var e = $(".header_wrapper"); $(window).scrollTop() >= 100 ? e.addClass("fixed") : e.removeClass("fixed") }); 329 $(window).scroll(function () { var e = $(".mobile-header"); $(window).scrollTop() >= 100 ? e.addClass("fixed") : e.removeClass("fixed") }); 330 $(window).scroll(function () { var e = $(".mob_navi"); $(window).scrollTop() >= 100 ? e.addClass("fixed") : e.removeClass("fixed") }); 331 332 // coupon print 333 $(".print").click(function() { 334 335 var daid = $(this).attr('data-id'); 336 337 var content = "#content_" + daid; 338 339 var divContents = jQuery(content).html(); 340 341 var printWindow = window.open(); 342 343 printWindow.document.write("<html><head><title> Septic Blue of Columbia </title>"); 344
345 printWindow.document.write('<style type="text/css">.print{display:none!important;}.coupon_structure_overall{background-size:contain;width:100%;height:auto;}.print_cover{text-align:center;filter:drop-shadow(0px 4px 12.5px rgba(89, 124, 170, 0.3));border:2px solid #009fdb;border-radius:50px;background-color:#fff;padding:30px;width:40%;margin:0 auto;}.coupon_structure_info{padding-top:100px;}.coupon_structure_discount strong{font-size:25px;line-height:26px;text-align:center;}.coupon_structure_info h3{font-size:15px;line-height:15px;}.print_cover h4{font-size:30px;font-weight: 700;color:#009fdb; font-family:Poppins-Bold;}.print_cover strong{ color: #002b55; font-size: 22px; line-height: 32px; font-family:Poppins-SemiBold;}.print_cover p{ color: #000; font-size: 18px; line-height:30px;font-family:Poppins-Regular;} .print_cover img { object-fit: contain; height: 70px; }</style>'); 346 347 printWindow.document.write('<link rel="stylesheet" href="http://park75.com/dev/assets/css/frontend/style.css00" type="text/css" />'); 348
349 printWindow.document.write('<body class="print_full"> <div class="print_cover"> <img class="print_bg" src="../images/home/footer_logo" />'); 350 351 printWindow.document.write(divContents); 352 353 printWindow.document.write("</body>"); 354 355 printWindow.print(); 356 357 printWindow.document.close(); //i.close() 358 }); 359 360 // accordion faq 361 $(".set > a").on("click", function(e) { 362 e.preventDefault(); 363 const isActive = $(this).hasClass("active"); 364 const $parentSet = $(this).closest(".set"); 365 const isInFaqBox = $parentSet.closest(".faq_question_box").length > 0; 366 367 // Collapse all accordion items 368 $(".set > a").removeClass("active"); 369 $(".content").slideUp(500); 370 $(".set > a i").removeClass("fa-minus").addClass("fa-plus"); 371 372 // If clicked item wasn't active, open it 373 if (!isActive) { 374 $(this).addClass("active"); 375 $(this).find("i").removeClass("fa-plus").addClass("fa-minus"); 376 $(this).siblings(".content").slideDown(500); 377 } 378 379 // Handle .faq_question_box .set active class separately 380 if (isInFaqBox) { 381 $(".faq_question_box .set").removeClass("active"); 382 if (!isActive) { 383 $parentSet.addClass("active"); 384 } 385 } 386 }); 387 388}); 389 390 /************ tab************/ 391 392$(document).ready(function () { 393 $('.tab-links li').click(function () { 394 const tabId = $(this).data('tab'); 395 396 // Remove active classes 397 $('.tab-links li').removeClass('active'); 398 $('.tab-panel').removeClass('active'); 399 400 // Add active to clicked 401 $(this).addClass('active'); 402 $('#' + tabId).addClass('active'); 403 }); 404 }); 405 406 407 // tab autoplay 408 409 410document.addEventListener("DOMContentLoaded", function () { 411 412 const tabs = document.querySelectorAll(".tab-links li"); 413 const panels = document.querySelectorAll(".tab-panel"); 414 415 let currentIndex = 0; 416 let interval; 417 418 function showPanel(index) { 419
420 tabs.forEach((tab, i) => { 421 tab.classList.toggle("active", i === index); 422 }); 423 424 panels.forEach((panel, i) => { 425 panel.classList.toggle("active", i === index); 426 }); 427 428 } 429 430 function startSlider() { 431 interval = setInterval(() => { 432 currentIndex = (currentIndex + 1) % tabs.length; 433 showPanel(currentIndex); 434 }, 3000); 435 } 436 437 // OPTIONAL: click support (manual control) 438 tabs.forEach((tab, i) => { 439 tab.addEventListener("click", () => { 440 currentIndex = i; 441 showPanel(currentIndex); 442 443 clearInterval(interval); // stop auto 444 startSlider(); // restart 445 }); 446 }); 447 448 // init 449 showPanel(currentIndex); 450 startSlider(); 451 452}); 453 454 455// why choose animation 456 457const cards = document.querySelectorAll('.hme_why_choose_single'); 458 459cards.forEach((card, i) => { 460 setTimeout(() => { 461 card.classList.add('active'); 462 }, i * 200); // stagger delay 463}); 464 465const observer = new IntersectionObserver((entries) => { 466 entries.forEach((entry, i) => { 467 if (entry.isIntersecting) { 468 setTimeout(() => { 469 entry.target.classList.add('active'); 470 }, i * 200); 471 } 472 }); 473}, { threshold: 0.2 }); 474 475
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.