1jQuery(function ($) { 2 'use strict'; 3 4 jQuery(document).on('ready', function () { 5 6 // Header Sticky 7 $(window).on('scroll',function() { 8 if ($(this).scrollTop() > 120){ 9 $('.navbar-area').addClass("is-sticky"); 10 } 11 else{ 12 $('.navbar-area').removeClass("is-sticky"); 13 } 14 }); 15 16 // Mean Menu 17 jQuery('.mean-menu').meanmenu({ 18 meanScreenWidth: "991" 19 }); 20 21 // Others Option For Responsive JS 22 $(".others-option-for-responsive .dot-menu").on("click", function(){ 23 $(".others-option-for-responsive .container .container").toggleClass("active"); 24 }); 25 26 // Search Menu JS 27 $(".navbar-nav .search-box").on("click", function(){ 28 $(".search-overlay").toggleClass("search-overlay-active"); 29 }); 30 $(".search-overlay-close").on("click", function(){ 31 $(".search-overlay").removeClass("search-overlay-active"); 32 }); 33 $(".others-options .search-box").on("click", function(){ 34 $(".search-overlay").toggleClass("search-overlay-active"); 35 }); 36 $(".search-overlay-close").on("click", function(){ 37 $(".search-overlay").removeClass("search-overlay-active"); 38 }); 39 40 // FAQ Accordion 41 $('.accordion').find('.accordion-title').on('click', function(){ 42 $(this).toggleClass('active'); 43 $(this).next().slideToggle('fast'); 44 $('.accordion-content').not($(this).next()).slideUp('fast'); 45 $('.accordion-title').not($(this)).removeClass('active'); 46 }); 47 48 // Nice Select JS 49 $('select').niceSelect(); 50 51 // Popup Video 52 $('.popup-youtube').magnificPopup({ 53 disableOn: 320, 54 type: 'iframe', 55 mainClass: 'mfp-fade', 56 removalDelay: 160, 57 preloader: false, 58 fixedContentPos: false 59 }); 60 61 $("#datepicker").datepicker({ 62 minDate: 0, 63 onSelect: function(dateText) { 64 var today = new Date( 65 new Date().getFullYear(), 66 new Date().getMonth(), 67 new Date().getDate() 68 ).getTime(); 69 } 70 }); 71 72 //Datepicker 73 $("#timepicker2").hide(); 74 $("#datepicker2").datepicker({ 75 minDate: 0, 76 onSelect: function(dateText) { 77 var today = new Date( 78 new Date().getFullYear(), 79 new Date().getMonth(), 80 new Date().getDate() 81 ).getTime(); 82 var selected = new Date(dateText).getTime(); 83 if (today < selected) { 84 $(function() { 85 $("#timepicker1") 86 .hide() 87 .val(""); 88 $("#timepicker2").show(); 89 $("#timepicker2").val("10:00am"); 90 91 $("#timepicker2").timepicker({ 92 interval: 60, 93 minTime: "10.00am", 94 maxTime: "6:00pm", 95 // startTime: '10:00', 96 scrollbar: true 97 }); 98 }); 99 } else { 100 $(function() { 101 var dt = new Date(); 102 var n = dt.getHours(); 103 var hour = n.toString(); 104 $("#timepicker2") 105 .hide() 106 .val(""); 107 $("#timepicker1").show(); 108 if (hour > 18) { 109 console.log(hour); 110 $("#timepicker1").prop("disabled", true); 111 } else { 112 $("#timepicker1").val(hour); 113 $("#timepicker1").timepicker({ 114 interval: 60, 115 minTime: hour, 116 maxTime: "6:00pm", 117 // startTime: '10:00', 118 scrollbar: true 119 }); 120 } 121 }); 122 } 123 } 124 }); 125 126 // Go to Top 127 $(window).on('scroll', function(){ 128 var scrolled = $(window).scrollTop(); 129 if (scrolled > 600) $('.go-top').addClass('active'); 130 if (scrolled < 600) $('.go-top').removeClass('active'); 131 }); 132 $('.go-top').on('click', function() { 133 $("html, body").animate({ scrollTop: "0" }, 500); 134 }); 135 136 // WOW Animation JS 137 if($('.wow').length){ 138 var wow = new WOW({ 139 mobile: false 140 }); 141 wow.init(); 142 } 143 144 // TwentyTwenty JS 145 $(function(){ 146 $(".twentytwenty-container[data-orientation!='vertical']").twentytwenty({default_offset_pct: 0.5}); 147 }); 148 149 // Disable Preloader in Elementor Edit Mode 150 if($('body').hasClass("elementor-editor-active")) { 151 $('.preloader').removeClass("preloader"); 152 }; 153 154 // Preloader 155 $(window).on('load', function () { 156 $('.preloader').fadeOut(); 157 }); 158 159 // Footer Column 160 $('.colfooter-default-column:nth-child(1)').addClass('col-xl-3
160col-md-6 col-sm-6'); 161 $('.colfooter-default-column:nth-child(2)').addClass('col-xl-2 col-md-6 col-sm-6'); 162 $('.colfooter-default-column:nth-child(3)').addClass('col-xl-2 col-md-3 col-sm-6'); 163 $('.colfooter-default-column:nth-child(4)').addClass('col-xl-2 col-md-3 col-sm-6'); 164 $('.colfooter-default-column:nth-child(5)').addClass('col-xl-3 col-md-6 col-sm-6'); 165 166 // Product +/- 167 $(".plus-btn").on('click', function() { 168 var input = $(this).prev('input.qty'); 169 var val = parseInt(input.val()); 170 var step = input.attr('step'); 171 step = 'undefined' !== typeof(step) ? parseInt(step) : 1; 172 input.val( val + step ).change(); 173 }); 174 175 $(".minus-btn").on('click', function() { 176 var input = $(this).next('input.qty'); 177 var val = parseInt(input.val()); 178 var step = input.attr('step'); 179 step = 'undefined' !== typeof(step) ? parseInt(step) : 1; 180 if (val > 0) { 181 input.val( val - step ).change(); 182 } 183 }); 184 185 186 // Products Details Image Slides 187 $('.products-details-image-slides').owlCarousel({ 188 loop: true, 189 nav: true, 190 dots: false, 191 autoplayHoverPause: true, 192 autoplay: true, 193 margin: 30, 194 navText: [ 195 "<i class='bx bx-left-arrow-alt'></i>", 196 "<i class='bx bx-right-arrow-alt'></i>", 197 ], 198 responsive: { 199 0: { 200 items: 1, 201 }, 202 576: { 203 items: 2, 204 }, 205 768: { 206 items: 2, 207 }, 208 1200: { 209 items: 3, 210 } 211 } 212 }); 213 214 // Products Details Image Slides 215 $('.products-details-thumbs-image-slides').slick({ 216 dots: true, 217 speed: 500, 218 fade: false, 219 slide: 'li', 220 slidesToShow: 1, 221 autoplay: true, 222 autoplaySpeed: 4000,
223 prevArrow: false, 224 nextArrow: false, 225 responsive: [{ 226 breakpoint: 800, 227 settings: { 228 arrows: false, 229 centerMode: false, 230 centerPadding: '30px', 231 variableWidth: false, 232 slidesToShow: 1, 233 dots: true 234 }, 235 breakpoint: 1200, 236 settings: { 237 arrows: false, 238 centerMode: false, 239 centerPadding: '30px', 240 variableWidth: false, 241 slidesToShow: 1, 242 dots: true 243 } 244 }], 245 customPaging: function (slider, i) { 246 return '<button class="tab">' + $('.slick-thumbs li:nth-child(' + (i + 1) + ')').html() + '</button>'; 247 } 248 }); 249 250 // ETC Testimonials Slides JS 251 $('.etc-testimonials-slides').owlCarousel({ 252 loop: true, 253 nav: false, 254 dots: true, 255 autoplayHoverPause: true, 256 autoplay: false, 257 margin: 25, 258 items: 1, 259 }); 260 261 // OC Testimonial JS 262 $('.oc-testimonials-slides').owlCarousel({ 263 loop: true, 264 nav: false, 265 dots: true, 266 margin: 195, 267 responsive: { 268 0: { 269 items: 1, 270 }, 271 768: { 272 items: 2, 273 }, 274 1200: { 275 items: 2, 276 } 277 } 278 }); 279 280 // OC Partner Slides 281 $('.oc-partner-slides').owlCarousel({ 282 loop: true, 283 nav: false, 284 dots: false, 285 autoplayHoverPause: true, 286 autoplay: false, 287 margin: 25, 288 289 responsive: { 290 0: { 291 items: 1, 292 }, 293 576: { 294 items: 2, 295 }, 296 768: { 297 items: 3, 298 }, 299 1200: { 300 items: 5, 301 } 302 } 303 }); 304 305 // Country Select 306 try { 307 $("#country_selector").countrySelect({ 308 preferredCountries: ['ca', 'gb', 'us'] 309 }); 310 } catch (err) {} 311 312 // Hover JS 313 try { 314 var elements = document.querySelectorAll("[id^='rc-offer-element']"); 315 elements.forEach(function(element) { 316 element.addEventListener("mouseover", function() { 317 elements.forEach(function(el) { 318 el.classList.remove("active"); 319 }); 320 element.classList.add("active"); 321 }); 322 }); 323 } catch (err) {} 324 325 }); 326 327 $( window ).on( 'elementor/frontend/init', function() { 328 elementorFrontend.hooks.addAction( 'frontend/element_ready/widget', function( $scope ) { 329 330 // Home Slides 331 $('.home-slides').owlCarousel({ 332 loop: true, 333 nav: true, 334 dots: false, 335 autoplayHoverPause: false, 336 autoplay: true, 337 autoHeight: true, 338 items: 1, 339 navText: [ 340 "<i class='bx bxs-chevron-left'></i>", 341 "<i class='bx bxs-chevron-right'></i>" 342 ] 343 }); 344 $(".home-slides").on("translate.owl.carousel", function(){ 345 $(".main-slides-content .sub-title").removeClass("animated fadeInDown").css("opacity", "0"); 346 $(".main-slides-content h1").removeClass("animated fadeInUp").css("opacity", "0"); 347 $(".main-slides-content p").removeClass("animated fadeInUp").css("opacity", "0"); 348 $(".main-slides-content .slides-btn .default-btn").removeClass("animated fadeInUp").css("opacity", "0"); 349 $(".main-slides-content .slides-btn .optional-btn").removeClass("animated fadeInUp").css("opacity", "0"); 350 $(".main-slides-content .slides-btn .checkup-content").removeClass("animated fadeInUp").css("opacity", "0"); 351 }); 352 $(".home-slides").on("translated.owl.carousel", function(){ 353 $(".main-slides-content .sub-title").addClass("animated fadeInDown").css("opacity", "1"); 354 $(".main-slides-content h1").addClass("animated fadeInUp").css("opacity", "1"); 355 $(".main-slides-content p").addClass("animated fadeInUp").css("opacity", "1"); 356 $(".main-slides-content .slides-btn .default-btn").addClass("animated fadeInUp").css("opacity", "1"); 357 $(".main-slides-content .slides-btn .optional-btn").addClass("animated fadeInUp").css("opacity", "1"); 358 $(".main-slides-content .slides-btn .checkup-content").addClass("animated fadeInUp").css("opacity", "1"); 359 }); 360 361 // Review Slides 362 $('.review-slides').owlCarousel({ 363 loop: true, 364 nav: false, 365 dots: true, 366 autoplayHoverPause: true, 367 autoplay: false, 368 margin: 25, 369 370 responsive: { 371 0: { 372 items: 1, 373 }, 374 768: { 375 items: 2, 376 }, 377 1200: { 378 items: 2, 379 } 380 } 381 }); 382 383 $('.review-slides-two').owlCarousel({ 384 loop: true, 385 nav: false, 386 dots: true, 387 autoplayHoverPause: true, 388 autoplay: false, 389 margin: 25, 390 391 responsive: { 392 0: { 393 items: 1, 394 }, 395 768: { 396 items: 2, 397 }, 398 1200: { 399 items: 3, 400 } 401 } 402 }); 403 404 // Doctor Slides 405 $('.doctor-slides').owlCarousel({ 406 loop: false, 407 nav: false, 408 dots: true, 409 autoplayHoverPause: true, 410 autoplay: false, 411 margin: 25, 412 413 responsive: { 414 0: { 415 items: 1, 416 }, 417 768: { 418 items: 2, 419 }, 420 1200: { 421 items: 4, 422 } 423 } 424 }); 425 426 427 // RTH Testimonial Slides JS 428 $('.rth-testimonial-slides').owlCarousel({ 429 loop: true, 430 nav: true, 431 dots: false, 432 autoplayHoverPause: true, 433 autoplay: false, 434 margin: 25, 435 items: 1, 436 navText: [ 437 "<i class='bx bx-left-arrow-alt'></i>", 438 "<i class='bx bx-right-arrow-alt'></i>" 439 ], 440 }); 441 442 // RTH Blog Slides 443 $('.rth-blog-slides').owlCarousel({ 444 loop: true, 445 nav: false, 446 dots: true, 447 autoplayHoverPause: true, 448 autoplay: false, 449 margin: 25, 450 responsive: { 451 0: { 452 items: 1, 453 }, 454 576: { 455 items: 1, 456 }, 457 768: { 458 items: 2, 459 }, 460 992: { 461 items: 2, 462 }, 463 1200: { 464 items: 3, 465 } 466 } 467 }); 468 469 // TVC Testimonial Slides JS 470 $('.tvc-testimonial-slides').owlCarousel({ 471 loop: true, 472 nav: true, 473 dots: false, 474 autoplayHoverPause: true, 475 autoplay: false, 476 margin: 25, 477 items: 1, 478 navText: [ 479 "<i class='bx bx-left-arrow-alt'></i>", 480 "<i class='bx bx-right-arrow-alt'></i>" 481 ], 482 }); 483 484 485 // MC Services Slider JS 486 $('.mc-services-slider').owlCarousel({ 487 loop: true, 488 margin: 25, 489 items:1, 490 nav: true, 491 dots: false, 492 autoHeight: true, 493 navText: [ 494 "<span class='button-prev'></span>", 495 "<span class='button-next'></span>", 496 ], 497 autoplay: true, 498 smartSpeed: 1000, 499 autoplayHoverPause: true, 500 responsive: { 501 0: { 502 items: 1, 503 }, 504 768: { 505 items: 2, 506 }, 507 992: { 508 items: 3, 509 }, 510 1200: { 511 items: 3, 512 }, 513 1600: { 514 items: 4, 515 } 516 } 517 }); 518 519 // Mc Blog Slider JS 520 $('.mc-blog-slider').owlCarousel({ 521 loop: true, 522 margin: 25, 523 items:1, 524 nav: true, 525 dots: false, 526 autoHeight: true, 527 navText: [ 528 "<span class='button-prev'></span>", 529 "<span class='button-next'></span>", 530 ], 531 autoplay: true, 532 smartSpeed: 1000, 533 autoplayHoverPause: true, 534 responsive: { 535 0: { 536 items: 1, 537 }, 538 768: { 539 items: 2, 540 }, 541 992: { 542 items: 2, 543 }, 544 1200: { 545 items: 3, 546 } 547 } 548 }); 549 550 // Rehabilitation Center Slider JS 551 var swiper = new Swiper(".rehabilitation-center-slider-thumb", { 552 loop: true, 553 slidesPerView: 4, 554 spaceBetween: 25, 555 watchSlidesProgress: true, 556 }); 557 var swiper2 = new Swiper(".rehabilitation-center-slider", { 558 loop: true, 559 spaceBetween: 25, 560 effect: "fade", 561 speed: 1200, 562 autoplay: { 563 delay: 3500, 564 disableOnInteraction: false, 565 }, 566 thumbs: { 567 swiper: swiper, 568 }, 569 navigation: { 570 prevEl: ".rehabilitation-center-slider-button-prev", 571 nextEl: ".rehabilitation-center-slider-button-next", 572 }, 573 }); 574 575 // Odometer JS 576 $('.odometer').appear(function(e) { 577 var odo = $(".odometer"); 578 odo.each(function() { 579 var countNumber = $(this).attr("data-count"); 580 $(this).html(countNumber); 581 }); 582 }); 583 584 // Tabs 585 $('.tab ul.tabs').addClass('active').find('> li:eq(0)').addClass('current'); 586 $('.tab ul.tabs li a').on('click', function (g) { 587 var tab = $(this).closest('.tab'), 588 index = $(this).closest('li').index(); 589 tab.find('ul.tabs > li').removeClass('current'); 590 $(this).closest('li').addClass('current'); 591 tab.find('.tab_content').find('div.tabs_item').not('div.tabs_item:eq(' + index + ')').slide
591Up(); 592 tab.find('.tab_content').find('div.tabs_item:eq(' + index + ')').slideDown(); 593 g.preventDefault(); 594 }); 595 596 // Progress Bar JS 597 $('.circlechart').circlechart(); 598 599 // Skill Bar 600 jQuery('.skill-bar').each(function() { 601 jQuery(this).find('.progress-content').animate({ 602 width:jQuery(this).attr('data-percentage') 603 },2000); 604 605 jQuery(this).find('.progress-number-mark').animate( 606 {left:jQuery(this).attr('data-percentage')}, 607 { 608 duration: 2000, 609 step: function(now, fx) { 610 var data = Math.round(now); 611 jQuery(this).find('.percent').html(data + '%'); 612 } 613 }); 614 }); 615 616 617 618 // New Three Demo JS 619 620 // Dental Tourism Services JS 621 $('.dental-tourism-services-slides').owlCarousel({ 622 loop: true, 623 nav: false, 624 dots: false, 625 autoplayHoverPause: true, 626 autoplay: false, 627 margin: 30, 628 629 responsive: { 630 0: { 631 items: 1, 632 }, 633 768: { 634 items: 2, 635 }, 636 1200: { 637 items: 4, 638 } 639 } 640 }); 641 642 // Dental Tourism Dentist JS 643 $('.dental-tourism-dentist-slides').owlCarousel({ 644 loop: true, 645 nav: false, 646 dots: true, 647 autoplayHoverPause: true, 648 autoplay: false, 649 margin: 30, 650 651 responsive: { 652 0: { 653 items: 1, 654 }, 655 768: { 656 items: 2, 657 }, 658 1200: { 659 items: 3, 660 } 661 } 662 }); 663 664 // Dental Tourism Review JS 665 $('.dental-tourism-review-slides').owlCarousel({ 666 loop: true, 667 nav: false, 668 dots: true, 669 autoplayHoverPause: true, 670 autoplay: false, 671 margin: 30, 672 673 responsive: { 674 0: { 675 items: 1, 676 }, 677 768: { 678 items: 2, 679 }, 680 1200: { 681 items: 2, 682 } 683 } 684 }); 685 686 // Skin Care Review JS 687 $('.skin-care-review-slides').owlCarousel({ 688 loop: true, 689 nav: false, 690 dots: true, 691 autoplayHoverPause: true, 692 autoplay: false, 693 margin: 30, 694 695 responsive: { 696 0: { 697 items: 1, 698 }, 699 768: { 700 items: 2, 701 }, 702 1200: { 703 items: 3, 704 } 705 } 706 }); 707 708 // Skin Care Before and After JS 709 $('.skin-care-before-after-slides').owlCarousel({ 710 stagePadding: 200, 711 loop: true, 712 margin: 10, 713 nav: true, 714 dots: false, 715 items: 1, 716 lazyLoad: true, 717 navText: [ 718 "<i class='bx bx-left-arrow-alt'></i>", 719 "<i class='bx bx-right-arrow-alt'></i>" 720 ], 721 responsive:{ 722 0:{ 723 items: 1, 724 stagePadding: 60 725 }, 726 600:{ 727 items:1, 728 stagePadding: 100 729 }, 730 1000:{ 731 items: 1, 732 stagePadding: 200 733 }, 734 1200:{ 735 items: 1, 736 stagePadding: 250 737 }, 738 1400:{ 739 items: 1, 740 stagePadding: 300 741 }, 742 1600:{ 743 items: 1, 744 stagePadding: 350 745 }, 746 1800:{ 747 items:1, 748 stagePadding: 400 749 } 750 } 751 }); 752 753 // Skin Care Partner Slides 754 $('.skin-care-partner-slides').owlCarousel({ 755 loop: true, 756 nav: false, 757 dots: false, 758 autoplayHoverPause: true, 759 autoplay: false, 760 margin: 25, 761 762 responsive: { 763 0: { 764 items: 1, 765 }, 766 768: { 767 items: 3, 768 }, 769 1200: { 770 items: 5, 771 } 772 } 773 }); 774 775 // Skin Care Services Slides 776 $('.eye-care-services-slides').owlCarousel({ 777 loop: true, 778 nav: true, 779 dots: false, 780 autoplayHoverPause: true, 781 autoplay: false, 782 margin: 25, 783 navText: [ 784 "<i class='bx bx-left-arrow-alt'></i>", 785 "<i class='bx bx-right-arrow-alt'></i>" 786 ], 787 responsive: { 788 0: { 789 items: 1, 790 }, 791 768: { 792 items: 2, 793 }, 794 1200: { 795 items: 3, 796 } 797 } 798 }); 799 800 // Eye Care Team JS 801 $('.eye-care-team-slides').owlCarousel({ 802 loop: true, 803 nav: false, 804 dots: true, 805 autoplayHoverPause: true, 806 autoplay: false, 807 margin: 30, 808 809 responsive: { 810 0: { 811 items: 1, 812 }, 813 768: { 814 items: 2, 815 }, 816 1200: { 817 items: 3, 818 } 819 } 820 }); 821 822 // Eye Care Review JS 823 $('.eye-care-review-slides').owlCarousel({ 824 loop: true, 825 nav: false, 826 dots: true, 827 autoplayHoverPause: true, 828 autoplay: false, 829 margin: 30, 830 items: 1, 831 }); 832 833 834 835 836 /* Start "Covid 19 Vaccination Center Demo JS" */ 837 838 // Covid Tracker JS 839 $('.covid-tracker-slides').owlCarousel({ 840 loop: true, 841 nav: true, 842 dots: true, 843 autoplayHoverPause: true, 844 autoplay: false, 845 margin: 25, 846 navText: [ 847 "<i class='bx bx-left-arrow-alt'></i>", 848 "<i class='bx bx-right-arrow-alt'></i>" 849 ], 850 responsive: { 851 0: { 852 items: 1, 853 }, 854 768: { 855 items: 2, 856 }, 857 1200: { 858 items: 3, 859 } 860 } 861 }); 862 863 // Covid Testimonials JS 864 $('.covid-testimonials-slides').owlCarousel({ 865 loop: true, 866 nav: false, 867 dots: true, 868 autoplayHoverPause: true, 869 autoplay: false, 870 margin: 25, 871 items: 1, 872 }); 873 $('.covid-testimonials-wrap-slides').owlCarousel({ 874 loop: true, 875 nav: false, 876 dots: true, 877 autoplayHoverPause: true, 878 autoplay: false, 879 margin: 25, 880 navText: [ 881 "<i class='bx bx-left-arrow-alt'></i>", 882 "<i class='bx bx-right-arrow-alt'></i>" 883 ], 884 responsive: { 885 0: { 886 items: 1, 887 }, 888 768: { 889 items: 2, 890 }, 891 1200: { 892 items: 3, 893 } 894 } 895 }); 896 897 // Covid Blog JS 898 $('.covid-blog-slides').owlCarousel({ 899 loop: true, 900 nav: true, 901 dots: true, 902 autoplayHoverPause: true, 903 autoplay: false, 904 margin: 25, 905 navText: [ 906 "<i class='bx bx-left-arrow-alt'></i>", 907 "<i class='bx bx-right-arrow-alt'></i>" 908 ], 909 responsive: { 910 0: { 911 items: 1, 912 }, 913 768: { 914 items: 2, 915 }, 916 1200: { 917 items: 3, 918 } 919 } 920 }); 921 922 // Covid Doctors JS 923 $('.covid-doctors-slides').owlCarousel({ 924 loop: false, 925 nav: true, 926 dots: true, 927 autoplayHoverPause: true, 928 autoplay: false, 929 margin: 25, 930 navText: [ 931 "<i class='bx bx-left-arrow-alt'></i>", 932 "<i class='bx bx-right-arrow-alt'></i>" 933 ], 934 responsive: { 935 0: { 936 items: 1, 937 }, 938 768: { 939 items: 2, 940 }, 941 1200: { 942 items: 3, 943 } 944 } 945 }); 946 947 /* End "Covid 19 Vaccination Center Demo JS" */ 948 949 950 /* Start "Hospital Website Demo JS" */ 951 952 // Hospital Services JS 953 $('.hospital-services-slides').owlCarousel({ 954 loop: true, 955 nav: true, 956 dots: false, 957 autoplayHoverPause: true, 958 autoplay: false, 959 margin: 25, 960 navText: [ 961 "<i class='bx bx-chevron-left'></i>", 962 "<i class='bx bx-chevron-right'></i>" 963 ], 964 responsive: { 965 0: { 966 items: 1, 967 }, 968 576: { 969 items: 2, 970 }, 971 768: { 972 items: 2, 973 }, 974 1200: { 975 items: 4, 976 } 977 } 978 }); 979 980 // Progress Bar 981 if($('.progress-line').length){ 982 $('.progress-line').appear(function(){ 983 var el = $(this); 984 var percent = el.data('width'); 985 $(el).css('width',percent+'%'); 986 },{accY: 0}); 987 } 988 if($('.count-box').length){ 989 $('.count-box').appear(function(){ 990 var $t = $(this), 991 n = $t.find(".count-text").attr("data-stop"), 992 r = parseInt($t.find(".count-text").attr("data-speed"), 10); 993 994 if (!$t.hasClass("counted")) { 995 $t.addClass("counted"); 996 $({ 997 countNum: $t.find(".count-text").text() 998 }).animate({ 999 countNum: n 1000 }, {
1001 duration: r, 1002 easing: "linear", 1003 step: function() { 1004 $t.find(".count-text").text(Math.floor(this.countNum)); 1005 }, 1006 complete: function() { 1007 $t.find(".count-text").text(this.countNum); 1008 } 1009 }); 1010 } 1011 1012 },{accY: 0}); 1013 } 1014 1015 // Hospital Team JS 1016 $('.hospital-team-slides').owlCarousel({ 1017 loop: false, 1018 nav: true, 1019 dots: false, 1020 autoplayHoverPause: true, 1021 autoplay: false, 1022 margin: 25, 1023 navText: [ 1024 "<i class='bx bx-chevron-left'></i>", 1025 "<i class='bx bx-chevron-right'></i>" 1026 ], 1027 responsive: { 1028 0: { 1029 items: 1, 1030 }, 1031 768: { 1032 items: 2, 1033 }, 1034 1200: { 1035 items: 3, 1036 } 1037 } 1038 }); 1039 1040 // Hospital Testimonials JS 1041 $('.hospital-testimonials-slides').owlCarousel({ 1042 loop: true, 1043 nav: true, 1044 dots: false, 1045 autoplayHoverPause: true, 1046 autoplay: false, 1047 margin: 35, 1048 navText: [ 1049 "<i class='bx bx-chevron-left'></i>", 1050 "<i class='bx bx-chevron-right'></i>" 1051 ], 1052 responsive: { 1053 0: { 1054 items: 1, 1055 }, 1056 768: { 1057 items: 2, 1058 }, 1059 1200: { 1060 items: 2, 1061 } 1062 } 1063 }); 1064 $('.hospital-testimonials-wrap-slides').owlCarousel({ 1065 loop: true, 1066 nav: true, 1067 dots: false, 1068 autoplayHoverPause: true, 1069 autoplay: false, 1070 margin: 35, 1071 navText: [ 1072 "<i class='bx bx-chevron-left'></i>", 1073 "<i class='bx bx-chevron-right'></i>" 1074 ], 1075 responsive: { 1076 0: { 1077 items: 1, 1078 }, 1079 768: { 1080 items: 2, 1081 }, 1082 1200: { 1083 items: 2, 1084 } 1085 } 1086 }); 1087 1088 /* End "Hospital Website Demo JS" */ 1089 1090 1091 1092 }); 1093 }); 1094 1095}(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.