PageSourceSearch

https://tworowtimes.com/wp-content/themes/enjoyblog-pro/assets/js/jquery.custom.js?ver=20211101

js tworowtimes.com collected 2026-10-02 08:15:40 UTC 3,079 bytes, 92 lines download raw bytes

1
2(function($){ //create closure so we can safely use $ as alias for jQuery
3
4    $(document).ready(function(){
5
6        "use strict";
7
8        /*-----------------------------------------------------------------------------------*/
9        /*  Superfish Menu
10        /*-----------------------------------------------------------------------------------*/
11        // initialise plugin
12        var example = $('.sf-menu').superfish({
13            //add options here if required
14            delay:       100,
15            speed:       'fast',
16            autoArrows:  false  
17        }); 
18
19        /*-----------------------------------------------------------------------------------*/
20        /*  bxSlider
21        /*-----------------------------------------------------------------------------------*/
22        $('.owl-carousel').owlCarousel({
23            autoplay: true,
24            autoplayHoverPause: true,
25            loop: true,
26            dots: true,
27            nav:true,
28            responsiveClass:true,
29            responsive:{
30                0:{
31                    items:1
32                },
33                600:{
34                    items:1
35                },
36                1000:{
37                    items:1
38                }
39            }                       
40        }) 
41
42        $('#featured-content .owl-carousel').show();
43
44        /*-----------------------------------------------------------------------------------*/
45        /*  Back to Top
46        /*-----------------------------------------------------------------------------------*/
47        // hide #back-top first
48        $("#back-top").hide();
49
50        $(function () {
51            // fade in #back-top
52            $(window).scroll(function () {
53                if ($(this).scrollTop() > 100) {
54                    $('#back-top').fadeIn('200');
55                } else {
56                    $('#back-top').fadeOut('200');
57                }
58            });
59
60            // scroll body to 0px on click
61            $('#back-top a').click(function () {
62                $('body,html').animate({
63                    scrollTop: 0
64                }, 400);
65                return false;
66            });
67        });     
68
69        /*-----------------------------------------------------------------------------------*/
70        /*  Mobile Menu & Search
71        /*-----------------------------------------------------------------------------------*/
72
73        /* Mobile Search */
74        $('.search-icon > .genericon-search').click(function(){
75
76            $('.header-search').slideDown('fast', function() {});
77            $('.search-icon > .genericon-search').toggleClass('active');
78            $('.search-icon > .genericon-close').toggleClass('active');
79
80        });
81
82        $('.search-icon > .genericon-close').click(function(){
83
84            $('.header-search').slideUp('fast', function() {});
85            $('.search-icon > .genericon-search').toggleClass('active');
86            $('.search-icon > .genericon-close').toggleClass('active');         
87
88        });                                 
89
90    });
91
92})(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.