PageSourceSearch

https://www.chesa.com/wp-content/themes/chesa-child-theme/js/custom.js?v=1470516902&ver=7.1.1

js chesa.com collected 2026-09-24 09:28:45 UTC 2,744 bytes, 95 lines download raw bytes

1jQuery(document).ready(function ($) {
2    var $ = jQuery;
3
4    $('body').on('click', '.header-menu-items a', function (e) {
5        e.preventDefault();
6        var redirectto = $(this).data('redirect');
7        var target_submenu = $(this).attr('href');
8		if ($(this).hasClass('redirect-new-tab')) {
9			window.open(redirectto, '_blank');
10			
11		} else if ($(this).hasClass('redirect')) {
12			 window.location.href = redirectto;
13			
14		} else
15        if (target_submenu == '#contact_us') {
16         window.location.href = '/contact/';
17        } else {
18            $("a[href='" + target_submenu + "_menu']").trigger('click');
19            $('#toogle-menu').prop('checked', true);
20        }
21      
22
23        // if ($(window).width() > 991) {
24        
25        //$('#right-menu-1 a').trigger('click');
26        // } else {
27        // $('#right-popup-hamburger').trigger('click');
28
29        // $('.rightmenubar a[data-target="#practices-content"]').parent('li').addClass('active');
30        //}
31
32    });
33    $('body').on('click', '.side-menu-left a', function (e) {
34        e.preventDefault();
35		 var redirectto = $(this).data('redirect');
36        var target_submenu = $(this).attr('href');
37		if ($(this).hasClass('redirect-new-tab')) {
38			window.open(redirectto, '_blank');
39			
40		} else if ($(this).hasClass('redirect')) {
41			 window.location.href = redirectto;
42			
43		} else if (target_submenu == '#contact_us_menu') {
44            window.location.href = '/contact/';
45           } else {
46       
47        $('.side-menu-left a').removeClass('active');
48        $('.right-sidebar-menu').removeClass('active');
49        $(target_submenu).addClass('active');
50        $(this).addClass('active');
51           }
52
53    });
54
55    $('body').on('click', '.rightmenubar a', function (e) {
56
57        if ($(this).hasClass('has-child')) {
58            e.preventDefault();
59
60            var target_submenu = $(this).attr('href');
61            $('.rightmenubar li').removeClass('active');
62            $('.right-menu-tab-content').removeClass('active');
63            $(target_submenu).addClass('active');
64            $(this).parent('li').addClass('active');
65        }
66    });
67
68    $('body').on('click', '#right-popup-hamburger', function (e) {
69        e.preventDefault();
70        $('#toogle-menu-right').prop('checked', true);
71
72
73    });
74    
75    $('body').on('click','.has-sub-menu',function(e){
76        e.preventDefault();
77        $(this).toggleClass('open');
78        $(this).next('.submenu').toggle();
79    });
80
81    if ( $('#countdown').length > 0 ) {
82        
83        $('#countdown').countdown({
84            year: 2025,
85            month: 4,
86            day: 6,
87            onFinish: function () {
88                $('#countdown').hide();
89                } 
90        });
91    }
92    
93
94
95});

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.