1$(document).ready(function () { 2 'use strict'; 3 4 //===== Menu Active =====// 5 var pgurl = window.location.href.substr(window.location.href.lastIndexOf('/') + 1); 6 $('nav ul li a').each(function () { 7 if ($(this).attr('href') == pgurl || $(this).attr('href') == '') 8 $(this) 9 .parent('li') 10 .addClass('active') 11 .parent() 12 .parent() 13 .addClass('active') 14 .parent() 15 .parent() 16 .addClass('active'); 17 }); 18 19 //===== Menu Active =====// 20 var pgurl = window.location.href.substr(window.location.href.lastIndexOf('/') + 1); 21 $('.menu-wrap ul li a').each(function () { 22 if ($(this).attr('href') == pgurl || $(this).attr('href') == '') 23 $(this) 24 .parent('li') 25 .addClass('active') 26 .parent() 27 .parent() 28 .addClass('active-parent') 29 .parent() 30 .parent() 31 .addClass('active-parent'); 32 }); 33 34 //===== Theme Button =====// 35 $('.thm-btn') 36 .on('mouseenter', function (e) { 37 var parentOffset = $(this).offset(), 38 relX = e.pageX - parentOffset.left, 39 relY = e.pageY - parentOffset.top; 40 $(this).find('span').css({ top: relY, left: relX }); 41 }) 42 .on('mouseout', function (e) { 43 var parentOffset = $(this).offset(), 44 relX = e.pageX - parentOffset.left, 45 relY = e.pageY - parentOffset.top; 46 $(this).find('span').css({ top: relY, left: relX }); 47 }); 48 49 $('.nav-tabs > li').each(function () { 50 $('.nav-tabs > li a').on('click', function () { 51 $(this).parents().find('li').removeClass('active'); 52 $(this).parent().addClass('active'); 53 }); 54 }); 55 56 //===== Login =====// 57 $('.user-btn').on('click', function () { 58 $('.login-popup-wrap').addClass('active'); 59 return false; 60 }); 61 $('html, body').on('click', function () { 62 $('.login-popup-wrap').removeClass('active'); 63 }); 64 $('.login-popup-inner').on('click', function (event) { 65 event.stopPropagation(); 66 }); 67 68 //===== Width =====// 69 var width = window.innerWidth; 70 71 //===== Header Search =====// 72 $('.search-btn').on('click', function () { 73 $('.header-search').addClass('active'); 74 return false; 75 }); 76 $('.search-close-btn').on('click', function () { 77 $('.header-search').removeClass('active'); 78 return false; 79 }); 80 81 //===== Wow Animation Setting =====// 82 if ($('.wow').length > 0) { 83 var wow = new WOW({ 84 boxClass: 'wow', // default 85 animateClass: 'animated', // default 86 offset: 0, // default 87 mobile: true, // default 88 live: true, // default 89 }); 90 91 wow.init(); 92 } 93 94 //===== Side Menu =====// 95 $('.menu-btn, .menu-btn2').on('click', function () { 96 $('body').addClass('slidein'); 97 return false; 98 }); 99 $('html, body, .menu-close').on('click', function () { 100 $('body').removeClass('slidein'); 101 }); 102 $('.menu-wrap').on('click', function (event) { 103 event.stopPropagation(); 104 }); 105 106 $('.menu-wrap li.menu-item-has-children > a').on('click', function () { 107 $(this).parent().siblings('li').children('ul').slideUp(); 108 $(this).parent().siblings('li').removeClass('active'); 109 $(this).parent().children('ul').slideToggle(); 110 $(this).parent().toggleClass('active'); 111 return false; 112 }); 113 114 //===== Scrollbar =====// 115 if ($('.menu-wrap').length > 0) { 116 var ps = new PerfectScrollbar('.menu-wrap'); 117 } 118 119 //===== Select =====// 120 if ($('.lang-slct > select, .slc-wp > select').length > 0) { 121 $('.lang-slct > select, .slc-wp > select').selectpicker(); 122 } 123 124 //===== Touchspin =====// 125 if ($('.qty').length > 0) { 126 $('.qty').TouchSpin(); 127 } 128 129 //===== Sticky Sidebar =====// 130 if (width > 851) { 131 if ($('.page-wrap > div.row > div').length > 0) { 132 $('.page-wrap > div.row > div').theiaStickySidebar({ 133 additionalMarginTop: 60, 134 additionalMarginBottom: 60, 135 }); 136 } 137 } 138 139 //===== Accordions =====// 140 if ($('.toggle').length > 0) { 141 $(function () { 142 $('#toggle .toggle-content').hide(); 143 $('#toggle h4:first').next().slideDown(500).parent().addClass('active'); 144 $('#toggle h4').on('click', function () { 145 if ($(this).next().is(':hidden')) { 146 $('#toggle h4').next().slideUp(500).parent().removeClass('active'); 147 $(this).next().slideDown(500).parent().toggleClass('active'); 148 } 149 }); 150 }); 151 } 152 153 //===== Toggles =====// 154 if ($('#toggle2').length > 0) { 155 $(function () { 156 $('#toggle2 .toggle-content2').hide(); 157 $('#toggle2 h4:first').next().slideDown(500).parent().addClass('activate'); 158 $('#toggle2 h4').on('click', function () { 159 $(this).next().slideToggle('slow').parent().toggleClass('activate'); 160 }); 161 }); 162 } 163 164 /* ìì */ 165 166 // $('.counterA').counterUp({ 167 // delay: 10, 168 // time: 2000 169 // }); 170 171 /* ìì */ 172 173 //===== Counter Up =====// 174 // if ($.isFunction($.fn.counterUp)) { 175 // $('.counter').counterUp({ 176 // delay: 10, 177 // time: 2000 178 // }); 179 // } 180 181 //===== Count Down =====// 182 // if ($.isFunction($.fn.downCount)) { 183 // $('.countdown').downCount({ 184 // date: '12/3/2021 12:00:00', 185 // offset: +5 186 // }); 187 // } 188 189 //===== LightBox =====// 190 if ($.isFunction($.fn.fancybox)) { 191 $('[data-fancybox],[data-fancybox="gallery"]').fancybox({}); 192 } 193 194 //===== Contact Form Validation =====// 195 if ($('#email-form').length) { 196 $('#submit').click(function () { 197 var o = new Object(); 198 var form = '#email-form'; 199 200 var fname = $('#email-form .fname').val(); 201 var lname = $('#email-form .lname').val(); 202 var email = $('#email-form .email').val(); 203 var phone = $('#email-form .phone').val(); 204 205 if (fname == '' || email == '') { 206 $('#email-form .response').html( 207 '<div class="failed alert alert-warning">Please fill the required fields.</div>' 208 ); 209 return false;
210 } 211 212 $.ajax({ 213 url: 'sendemail.php', 214 method: 'POST', 215 data: $(form).serialize(), 216 beforeSend: function () { 217 $('#email-form .response').html( 218 '<div class="text-info"><img src="/2022/assets/images/preloader.gif"> Loading...</div>' 219 ); 220 }, 221 success: function (data) { 222 $('form').trigger('reset'); 223 $('#email-form .response').fadeIn().html(data); 224 setTimeout(function () { 225 $('#email-form .response').fadeOut('slow'); 226 }, 5000); 227 }, 228 error: function () { 229 $('#email-form .response').fadeIn().html(data); 230 }, 231 }); 232 }); 233 } 234 235 if (width < 851) { 236 // Responsive Carousel 237 if ($.isFunction($.fn.slick)) { 238 $('.res-caro').slick({ 239 slidesToShow: 2, 240 slidesToScroll: 1, 241 dots: true, 242 arrows: false, 243 centerPadding: '0', 244 focusOnSelect: true, 245 responsive: [ 246 { 247 breakpoint: 851, 248 settings: { 249 slidesToShow: 2, 250 slidesToScroll: 1, 251 infinite: true, 252 arrows: false, 253 }, 254 }, 255 { 256 breakpoint: 771, 257 settings: { 258 slidesToShow: 2, 259 slidesToScroll: 1, 260 infinite: true, 261 arrows: false, 262 }, 263 }, 264 { 265 breakpoint: 576, 266 settings: { 267 slidesToShow: 1, 268 slidesToScroll: 1, 269 infinite: true, 270 centerMode: true, 271 arrows: false, 272 }, 273 }, 274 ], 275 }); 276 } 277 } 278 279 //===== Slick Carousel =====// 280 if ($.isFunction($.fn.slick)) { 281 //=== Featured Area Carousel ===// 282 $('.feat-caro').slick({ 283 arrows: true, 284 initialSlide: 0, 285 infinite: true, 286 slidesToShow: 1, 287 slidesToScroll: 1, 288 fade: true, 289 autoplay: false, 290 autoplaySpeed: 6000, 291 cssEase: 'cubic-bezier(0.7, 0, 0.3, 1)', 292 speed: 1500, 293 draggable: true, 294 dots: false, 295 pauseOnDotsHover: true, 296 pauseOnFocus: false, 297 pauseOnHover: false, 298 prevArrow: 299 "<button type='button' class='slick-prev'><i class='flaticon-arrow-pointing-to-left'></i>Prev.</button>", 300 nextArrow: 301 "<button type='button' class='slick-next'>Next<i class='flaticon-trajectory'></i></button>", 302 responsive: [ 303 { 304 breakpoint: 981, 305 settings: { 306 slidesToShow: 2, 307 slidesToScroll: 1, 308 arrows: false, 309 dots: true, 310 }, 311 }, 312 { 313 breakpoint: 851, 314 settings: { 315 slidesToShow: 1, 316 slidesToScroll: 1, 317 arrows: false, 318 dots: true, 319 }, 320 }, 321 { 322 breakpoint: 576, 323 settings: { 324 slidesToShow: 1, 325 slidesToScroll: 1, 326 arrows: false, 327 dots: true, 328 }, 329 }, 330 ], 331 }); 332 333 //=== Featured Area Carousel 2 ===// 334 $('.feat-caro2').slick({ 335 arrows: true, 336 initialSlide: 0, 337 infinite: true, 338 slidesToShow: 1, 339 slidesToScroll: 1, 340 fade: true, 341 autoplay: false, 342 autoplaySpeed: 6000, 343 cssEase: 'cubic-bezier(0.7, 0, 0.3, 1)', 344 speed: 1000, 345 draggable: true, 346 dots: false, 347 pauseOnDotsHover: true, 348 pauseOnFocus: false, 349 pauseOnHover: false, 350 prevArrow: 351 "<button type='button' class='slick-prev'><i class='flaticon-arrow-pointing-to-left'></i>Prev Conference</button>", 352 nextArrow: 353 "<button type='button' class='slick-next'>Next Conference<i class='flaticon-trajectory'></i></button>", 354 }); 355 356 //=== About Image Carousel ===// 357 $('.about-img-caro').slick({
358 arrows: false, 359 initialSlide: 0, 360 infinite: true, 361 slidesToShow: 1, 362 slidesToScroll: 1, 363 fade: true, 364 autoplay: true, 365 autoplaySpeed: 5000, 366 speed: 1000, 367 draggable: true, 368 dots: true, 369 pauseOnDotsHover: true, 370 pauseOnFocus: false, 371 pauseOnHover: false, 372 }); 373 374 //====== Blog Carousel =====// 375 $('.blog-caro').slick({ 376 slidesToShow: 2, 377 slidesToScroll: 1, 378 dots: false, 379 arrows: true, 380 centerPadding: '0', 381 focusOnSelect: true, 382 vertical: false, 383 prevArrow: 384 "<button type='button' class='slick-prev'><img src='/2022/assets/images/arrow-left.png' alt='Arrow Left'></button>", 385 nextArrow: 386 "<button type='button' class='slick-next'><img src='/2022/assets/images/arrow-right.png' alt='Arrow Right'></button>", 387 responsive: [ 388 { 389 breakpoint: 981, 390 settings: { 391 slidesToShow: 2, 392 slidesToScroll: 1, 393 arrows: true, 394 }, 395 }, 396 { 397 breakpoint: 851, 398 settings: { 399 slidesToShow: 1, 400 slidesToScroll: 1, 401 }, 402 }, 403 { 404 breakpoint: 576, 405 settings: { 406 slidesToShow: 1, 407 slidesToScroll: 1, 408 }, 409 }, 410 ], 411 }); 412 413 //====== Blog Carousel ==ìì ===// 414 $('.knowledgeWrap').slick({ 415 slidesToShow: 2, 416 slidesToScroll: 1, 417 dots: false, 418 arrows: true, 419 centerPadding: '0', 420 focusOnSelect: true, 421 vertical: false, 422 prevArrow: 423 "<button type='button' class='slick-prev'><img src='/2022/assets/images/wkf/wkf_main_t4_a1_2.png' alt='Arrow Left'></button>", 424 nextArrow: 425 "<button type='button' class='slick-next'><img src='/2022/assets/images/wkf/wkf_main_t4_a2_2.png' alt='Arrow Right'></button>", 426 responsive: [ 427 { 428 breakpoint: 981, 429 settings: { 430 slidesToShow: 2, 431 slidesToScroll: 1, 432 arrows: true, 433 }, 434 }, 435 { 436 breakpoint: 851, 437 settings: { 438 slidesToShow: 2, 439 slidesToScroll: 1, 440 }, 441 }, 442 { 443 breakpoint: 576, 444 settings: { 445 slidesToShow: 1, 446 slidesToScroll: 1, 447 }, 448 }, 449 ], 450 }); 451 452 //====== Blog Carousel ==ìì ===// 453 $('.archiveWrap').slick({ 454 slidesToShow: 3, 455 slidesToScroll: 1, 456 dots: false, 457 arrows: true, 458 centerPadding: '0', 459 focusOnSelect: true, 460 vertical: false, 461 prevArrow: 462 "<button type='button' class='slick-prev'><img src='/2022/assets/images/wkf/wkf_main_t4_a1_2.png' alt='Arrow Left'></button>", 463 nextArrow: 464 "<button type='button' class='slick-next'><img src='/2022/assets/images/wkf/wkf_main_t4_a2_2.png' alt='Arrow Right'></button>", 465 responsive: [ 466 { 467 breakpoint: 981, 468 settings: { 469 slidesToShow: 2, 470 slidesToScroll: 1, 471 arrows: true, 472 }, 473 }, 474 { 475 breakpoint: 851, 476 settings: { 477 slidesToShow: 2, 478 slidesToScroll: 1, 479 }, 480 }, 481 { 482 breakpoint: 576, 483 settings: { 484 slidesToShow: 1, 485 slidesToScroll: 1, 486 }, 487 }, 488 ], 489 }); 490 491 //====== Blog Carousel ==ìì ===// 492 $('.grobalForum_slide').slick({ 493 slidesToShow: 4, 494 slidesToScroll: 1, 495 dots: false, 496 arrows: true, 497 autoplay: true, 498 autoplaySpeed: 5000, 499 centerPadding: '30', 500 focusOnSelect: true, 501 vertical: false, 502 variableWidth: true, 503 prevArrow: 504 "<button type='button' class='slick-prev'><img src='/2022/assets/images/wkf/wkf_main_t4_a1_2.png' alt='Arrow Left'></button>", 505 nextArrow: 506 "<button type='button' class='slick-next'><img src='/2022/assets/images/wkf/wkf_main_t4_a2_2.png' alt='Arrow Right'></button>", 507 responsive: [ 508 { 509 breakpoint: 981, 510 settings: { 511 slidesToShow: 2, 512 slidesToScroll: 1, 513 arrows: true, 514 }, 515 }, 516 { 517 breakpoint: 851, 518 settings: { 519 slidesToShow: 1, 520 slidesToScroll: 1, 521 }, 522 }, 523 { 524 breakpoint: 576, 525 settings: { 526 slidesToShow: 1, 527 slidesToScroll: 1, 528 }, 529 }, 530 ], 531 }); 532 533 $('.testi-nav-caro').slick({ 534 slidesToShow: 2, 535 slidesToScroll: 1, 536 asNavFor: '.testi-caro', 537 dots: false,
538 arrows: false, 539 // slide: 'li', 540 centerPadding: '0', 541 focusOnSelect: true, 542 responsive: [ 543 { 544 breakpoint: 850, 545 settings: { 546 slidesToShow: 2, 547 slidesToScroll: 1, 548 infinite: true, 549 dots: false, 550 arrows: false, 551 }, 552 }, 553 { 554 breakpoint: 481, 555 settings: { 556 slidesToShow: 2, 557 slidesToScroll: 1, 558 infinite: true, 559 dots: false, 560 arrows: false, 561 }, 562 }, 563 ], 564 }); 565 566 //=== Testimonials Carousel ===// 567 $('.testi-caro').slick({ 568 slidesToShow: 1, 569 slidesToScroll: 1, 570 dots: false, 571 arrows: true, 572 // slide: 'li', 573 fade: true, 574 asNavFor: '.testi-nav-caro', 575 prevArrow: 576 "<button type='button' class='slick-prev'><i class='flaticon-arrow-pointing-to-left'></i></button>", 577 nextArrow: 578 "<button type='button' class='slick-next'><i class='flaticon-trajectory'></i></button>", 579 responsive: [ 580 { 581 breakpoint: 850, 582 settings: { 583 slidesToShow: 1, 584 slidesToScroll: 1, 585 infinite: true, 586 dots: false, 587 }, 588 }, 589 { 590 breakpoint: 576, 591 settings: { 592 slidesToShow: 1, 593 slidesToScroll: 1, 594 infinite: true, 595 dots: true, 596 arrows: false, 597 }, 598 }, 599 ], 600 }); 601 602 $('.testi-nav-caro').slick({ 603 slidesToShow: 2, 604 slidesToScroll: 1, 605 asNavFor: '.testi-caro', 606 dots: false, 607 arrows: false, 608 // slide: 'li', 609 centerPadding: '0', 610 focusOnSelect: true, 611 responsive: [ 612 { 613 breakpoint: 850, 614 settings: { 615 slidesToShow: 2, 616 slidesToScroll: 1, 617 infinite: true, 618 dots: false, 619 arrows: false, 620 }, 621 }, 622 { 623 breakpoint: 481, 624 settings: { 625 slidesToShow: 2, 626 slidesToScroll: 1, 627 infinite: true, 628 dots: false, 629 arrows: false, 630 }, 631 }, 632 ], 633 }); 634 635 //===== Testimonials Carousel 2 =====// 636 $('.testi-caro2').slick({ 637 slidesToShow: 5, 638 slidesToScroll: 1, 639 dots: false, 640 arrows: false, 641 autoplay: true, 642 autoplaySpeed: 5000, 643 centerPadding: '0', 644 focusOnSelect: true, 645 vertical: false, 646 responsive: [ 647 { 648 breakpoint: 1201, 649 settings: { 650 slidesToShow: 4, 651 slidesToScroll: 1, 652 }, 653 }, 654 { 655 breakpoint: 1025, 656 settings: { 657 slidesToShow: 3, 658 slidesToScroll: 1, 659 }, 660 }, 661 { 662 breakpoint: 851, 663 settings: { 664 slidesToShow: 3, 665 slidesToScroll: 1, 666 }, 667 }, 668 { 669 breakpoint: 771, 670 settings: { 671 slidesToShow: 2, 672 slidesToScroll: 1, 673 }, 674 }, 675 { 676 breakpoint: 481, 677 settings: { 678 slidesToShow: 1, 679 slidesToScroll: 1, 680 }, 681 }, 682 ], 683 }); 684 685 //===== Sponsors Carousel =====// 686 $('.sponsor-caro').slick({ 687 slidesToShow: 4, 688 slidesToScroll: 1, 689 dots: false, 690 arrows: true, 691 autoplay: false, 692 autoplaySpeed: 5000, 693 centerPadding: '0', 694 focusOnSelect: true, 695 prevArrow: 696 "<button type='button' class='slick-prev'><i class='flaticon-arrow-pointing-to-left'></i></button>", 697 nextArrow: 698 "<button type='button' class='slick-next'><i class='flaticon-trajectory'></i></button>", 699 responsive: [ 700 { 701 breakpoint: 1201, 702 settings: { 703 slidesToShow: 4, 704 slidesToScroll: 1, 705 }, 706 }, 707 { 708 breakpoint: 1025, 709 settings: { 710 slidesToShow: 4, 711 slidesToScroll: 1,
712 arrows: false, 713 autoplay: true, 714 }, 715 }, 716 { 717 breakpoint: 851, 718 settings: { 719 slidesToShow: 3, 720 slidesToScroll: 1, 721 arrows: false, 722 autoplay: true, 723 }, 724 }, 725 { 726 breakpoint: 771, 727 settings: { 728 slidesToShow: 3, 729 slidesToScroll: 1, 730 arrows: false, 731 autoplay: true, 732 }, 733 }, 734 { 735 breakpoint: 481, 736 settings: { 737 slidesToShow: 2, 738 slidesToScroll: 1, 739 }, 740 }, 741 ], 742 }); 743 744 //=== Twitter Carousel ===// 745 $('.tweet-caro').slick({ 746 arrows: false, 747 initialSlide: 0, 748 infinite: true, 749 slidesToShow: 1, 750 slidesToScroll: 1, 751 fade: true, 752 autoplay: true, 753 autoplaySpeed: 5000, 754 speed: 1000, 755 draggable: true, 756 dots: true, 757 pauseOnDotsHover: true, 758 pauseOnFocus: false, 759 pauseOnHover: false, 760 }); 761 762 //=== Gallery Carousel ===// 763 $('.gallery-caro').slick({ 764 slidesToShow: 4, 765 slidesToScroll: 1, 766 dots: false, 767 arrows: true, 768 centerPadding: '0', 769 focusOnSelect: true, 770 prevArrow: 771 "<button type='button' class='slick-prev'><i class='flaticon-arrow-pointing-to-left'></i></button>", 772 nextArrow: 773 "<button type='button' class='slick-next'><i class='flaticon-trajectory'></i></button>", 774 responsive: [ 775 { 776 breakpoint: 1025, 777 settings: { 778 slidesToShow: 4, 779 slidesToScroll: 1, 780 arrows: false, 781 autoplay: true, 782 }, 783 }, 784 { 785 breakpoint: 980, 786 settings: { 787 slidesToShow: 3, 788 slidesToScroll: 1, 789 infinite: true, 790 arrows: false, 791 autoplay: true, 792 }, 793 }, 794 { 795 breakpoint: 851, 796 settings: { 797 slidesToShow: 3, 798 slidesToScroll: 1, 799 infinite: true, 800 arrows: false, 801 autoplay: true, 802 }, 803 }, 804 { 805 breakpoint: 481, 806 settings: { 807 slidesToShow: 1, 808 slidesToScroll: 1, 809 infinite: true, 810 centerMode: true, 811 }, 812 }, 813 ], 814 }); 815 816 //=== Gallery Carousel 2 ===// 817 $('.gallery-caro2').slick({ 818 slidesToShow: 1, 819 slidesToScroll: 1, 820 dots: true, 821 arrows: true, 822 autoplay: true, 823 autoplaySpeed: 3000, 824 fade: true, 825 centerPadding: '0', 826 prevArrow: 827 "<button type='button' class='slick-prev'><i class='flaticon-arrow-pointing-to-left'></i></button>", 828 nextArrow: 829 "<button type='button' class='slick-next'><i class='flaticon-trajectory'></i></button>", 830 focusOnSelect: true, 831 responsive: [ 832 { 833 breakpoint: 980, 834 settings: { 835 slidesToShow: 1, 836 slidesToScroll: 1, 837 infinite: true,
838 arrows: false, 839 autoplay: true, 840 }, 841 }, 842 { 843 breakpoint: 851, 844 settings: { 845 slidesToShow: 1, 846 slidesToScroll: 1, 847 infinite: true, 848 arrows: false, 849 autoplay: true, 850 }, 851 }, 852 { 853 breakpoint: 481, 854 settings: { 855 slidesToShow: 1, 856 slidesToScroll: 1, 857 infinite: true, 858 arrows: false, 859 centerMode: true, 860 }, 861 }, 862 ], 863 }); 864 } 865}); //===== Document Ready Ends =====// 866 867jQuery(window).on('load', function () { 868 'use strict'; 869 870 //===== Width =====// 871 var width = window.innerWidth; 872 873 if (width > 851) { 874 //===== Header =====// 875 var menu_height = $('header').innerHeight(); 876 $(window).on('scroll', function () { 877 var scroll = $(window).scrollTop(); 878 if (scroll >= menu_height) { 879 $('header.stick').addClass('sticky'); 880 } else { 881 $('.stick').removeClass('sticky'); 882 } 883 }); 884 } 885 886 //===== Isotope =====// 887 if (jQuery('.fltr-itm').length > 0) { 888 if (jQuery().isotope) { 889 var jQuerycontainer = jQuery('.masonry'); // cache container 890 jQuerycontainer.isotope({ 891 itemSelector: '.fltr-itm', 892 columnWidth: 0.1, 893 }); 894 jQuery('.filter-links a').on('click', function () { 895 var selector = jQuery(this).attr('data-filter'); 896 jQuery('.filter-links li').removeClass('active'); 897 jQuery(this).parent().addClass('active'); 898 jQuerycontainer.isotope({ filter: selector }); 899 return false; 900 }); 901 jQuerycontainer.isotope('layout'); // layout/layout 902 } 903 904 jQuery(window).resize(function () { 905 if (jQuery().isotope) { 906 jQuery('.masonry').isotope('layout'); // layout/relayout on window resize 907 } 908 }); 909 } 910}); //===== 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.