PageSourceSearch

https://www.crawfishcafe.com/wp-content/themes/crawfishcafe/theme_assets/js/app.js?v=1790753924

js crawfishcafe.com collected 2026-09-30 15:52:36 UTC 2,219 bytes, 79 lines download raw bytes

1(function ($) {
2    // ========================
3    // mobile menu
4    // ========================
5    $('.js-mob-tog').click(function (e) {
6        e.preventDefault();
7        $('body').toggleClass('modal-open');
8        $('.js-mob-tog, .bk-mob-nav, .bk-wrapper, .bk-header, .bk-notice').toggleClass(
9            'active');
10    });
11    $('.js-mob-list').on('click', 'button', function (e) {
12        e.preventDefault();
13        $(this).parent().toggleClass('active');
14        $(this).next().next().slideToggle();
15    });
16
17    $(document).ready(function () {
18        $('.js-notice-bk').parent().height($('.js-notice-bk').outerHeight());
19        $('.js-mob-list .menu-item-has-children').prepend('<button type="button"><span class="visually-hidden">Open Sub Menu</span></button>');
20    });
21
22    // ========================
23    // fixed header
24    // ========================
25
26    $(window).scroll(function () {
27        var scroll = $(window).scrollTop();
28        if (scroll > 50) {
29            $(".bk-header").addClass("fixed-top");
30        } else {
31            $(".bk-header").removeClass("fixed-top");
32        }
33    });
34
35    // ========================
36    // slider
37    // ========================
38
39    $('#banner-slider').owlCarousel({
40        loop: false,//true
41        mouseDrag: false,
42        margin: 0,
43        nav: false,
44        items: 1,
45        dots: false,
46        animateIn: 'fadeIn',
47        animateOut: 'fadeOut',
48        autoplayTimeout: 5000,
49        autoplay: false,//true
50		/*navigation: false,
51		singleItem:true,
52        autoPlay: $("#banner-slider > div").length > 1 ? 2000 : false,*/       
53    });
54
55
56    $('.owl-buttons .left-btn').click(function() {
57        $('#banner-slider').trigger('next.owl.carousel');
58    });
59
60    $('.owl-buttons .right-btn').click(function() {        
61        $('#banner-slider').trigger('prev.owl.carousel');
62    });
63
64    $(".scroll-btn").click(function() {
65        var header_h = $('.bk-header').outerHeight();
66        $('html, body').animate({
67            scrollTop: $(".our-locations").offset().top - header_h
68        });
69    });
70
71
72    // ========================
73    // datepicker
74    // ========================
75
76    $( "#datepicker" ).datepicker();
77
78})(jQuery);
79

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.