PageSourceSearch

https://www.socialbusinessnews.com/wp-content/themes/revolution/assets/js/jquery.custom.js?ver=20171101

js socialbusinessnews.com collected 2026-09-30 14:32:45 UTC 3,752 bytes, 101 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        /*  Featured Content
21        /*-----------------------------------------------------------------------------------*/
22        $('#featured-content .featured-large .entry-header').fadeIn("100");
23        $('#featured-content .featured-large .gradient').fadeIn("100");       
24
25        /*-----------------------------------------------------------------------------------*/
26        /*  Slick Mobile Menu
27        /*-----------------------------------------------------------------------------------*/
28        $('#primary-menu').slicknav({
29            prependTo: '#slick-mobile-menu',
30            allowParentLinks: true,
31            label: 'Menu'            
32        });   
33
34        /*-----------------------------------------------------------------------------------*/
35        /*  Back to Top
36        /*-----------------------------------------------------------------------------------*/
37        // hide #back-top first
38        $("#back-top").hide();
39
40        $(function () {
41            // fade in #back-top
42            $(window).scroll(function () {
43                if ($(this).scrollTop() > 100) {
44                    $('#back-top').fadeIn('200');
45                } else {
46                    $('#back-top').fadeOut('200');
47                }
48            });
49
50            // scroll body to 0px on click
51            $('#back-top a').click(function () {
52                $('body,html').animate({
53                    scrollTop: 0
54                }, 400);
55                return false;
56            });
57        });                                     
58
59        /*-----------------------------------------------------------------------------------*/
60        /*  Mobile Menu & Search
61        /*-----------------------------------------------------------------------------------*/
62
63        /* Mobile Menu */
64        $('.slicknav_btn').click(function(){
65
66            $('.header-search').slideUp('fast', function() {});
67            $('.search-icon > .genericon-search').removeClass('active');
68            $('.search-icon > .genericon-close').removeClass('active');
69
70        });
71
72        /* Mobile Search */
73        $('.search-icon > .genericon-search').click(function(){
74
75            $('.header-search').slideDown('fast', function() {});
76            $('.search-icon > .genericon-search').toggleClass('active');
77            $('.search-icon > .genericon-close').toggleClass('active');
78
79            $('.slicknav_btn').removeClass('slicknav_open');
80            $('.slicknav_nav').addClass('slicknav_hidden');
81            $('.slicknav_nav').css('display','none');
82
83        });
84
85        $('.search-icon > .genericon-close').click(function(){
86
87            $('.header-search').slideUp('fast', function() {});
88            $('.search-icon > .genericon-search').toggleClass('active');
89            $('.search-icon > .genericon-close').toggleClass('active');
90
91            $('.slicknav_btn').removeClass('slicknav_open');
92            $('.slicknav_nav').addClass('slicknav_hidden');  
93            $('.slicknav_nav').css('display','none');
94
95
96        });          
97
98
99    });
100
101})(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.