PageSourceSearch

https://buddyboss.com/wp-content/themes/buddyboss-website/js/redesign/common.js?ver=10.1.18.116

js buddyboss.com collected 2026-10-02 02:21:59 UTC 2,519 bytes, 57 lines download raw bytes

1(function($) {
2    $(".bb-main-menu li a")
3        .click(function(e) {
4            var link = $(this);
5
6            var item = link.parent("li");
7            
8            if (item.hasClass("active")) {
9                item.removeClass("active").children("a").removeClass("active");
10            } else {
11                item.addClass("active").children("a").addClass("active");
12            }
13
14            if (item.children("ul").length > 0) {
15                var href = link.attr("href");
16                link.attr("href", "#");
17                setTimeout(function () { 
18                    link.attr("href", href);
19                }, 300);
20                e.preventDefault();
21            }
22        })
23        .each(function() {
24            var link = $(this);
25            if (link.get(0).href === location.href) {
26                link.addClass("active").parents("li").addClass("active");
27                return false;
28            }
29    });
30    $(".bb-mobile-menu .menu-icon").click(function(){
31         $("body").toggleClass("bb-mobile-menu-active");
32    });
33    $(".bb-has-child").click(function(){
34        $(this).toggleClass("is-active");
35    });
36
37    /* Arrow bounce on Mouse-hover*/ 
38    setTimeout(function(){
39        $('.bounce').removeClass('onload-bounce');
40    }, 4500);
41
42    /* Contact Sales button animation */ 
43    setTimeout(function(){
44        $('.master-head .outer-head ul li.bb-contact-sales').addClass('active-animation');
45    }, 500);
46
47    $(".bounce, .bb-link-with-img li, .features-section .bbapp-bbweb-section .wp-block-columns .wp-block-column, .master-head .outer-head .bb-site-logo .bb-main-logo").hover(function () {
48        $(this).toggleClass("active-hover");
49    });
50    
51    // Change sub menu position to display on hover.
52    $( ".bb-main-nav-products .bb-col-sub-nav.bb-sub-nav-col-2" ).insertAfter( ".bb-main-nav-products .bb-sub-nav.bb-sub-nav-col-1 > .app-nav.bb-sub-menu-hover > .bb-menu-count-outer" );
53    $( ".bb-main-nav-products .bb-col-sub-nav.bb-sub-nav-col-3" ).insertAfter( ".bb-main-nav-products .bb-sub-nav.bb-sub-nav-col-1 > .web-nav.bb-sub-menu-hover > .bb-menu-count-outer" );
54    $( ".bb-main-nav-products .bb-col-sub-nav.bb-sub-nav-col-4" ).insertAfter( ".bb-main-nav-products .bb-sub-nav.bb-sub-nav-col-1 > .dfy-nav.bb-sub-menu-hover > .bb-menu-count-outer" );
55    $( ".bb-main-nav-products .bb-col-sub-nav.bb-sub-nav-col-5" ).insertAfter( ".bb-main-nav-products .bb-sub-nav.bb-sub-nav-col-1 > .bundle-nav.bb-sub-menu-hover > .bb-menu-count-outer" );
56
57})(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.