PageSourceSearch

https://www.golwalkarguruji.org/js/verticalmenu3.js

js golwalkarguruji.org collected 2026-10-02 13:35:31 UTC 2,280 bytes, 63 lines download raw bytes

1$['fn']['verticalnav'] = function(_0xe4a7x1) {
2    var _0xe4a7x2 = {
3        speed: 300,
4        align: 'left'
5    };
6    $['extend'](_0xe4a7x2, _0xe4a7x1);
7    $('.vertical-nav')['prepend']('<li class=\'showhide\'><span class=\'title\'>MENU</span><span class=\'icon\'><em></em><em></em><em></em><em></em></span></li>');
8    if (_0xe4a7x2['align'] == 'right') {
9        $('.vertical-nav')['addClass']('right');
10    };
11    _0xe4a7x3();
12    $(window)['resize'](function() {
13        _0xe4a7x3();
14    });
15
16    function _0xe4a7x3() {
17        $('.vertical-nav')['find']('li')['unbind']();
18        $('.vertical-nav')['find']('ul')['hide'](0);
19        if (window['innerWidth'] <= 768) {
20            _0xe4a7x6();
21            _0xe4a7x5();
22        } else {
23            _0xe4a7x7();
24            _0xe4a7x4();
25        };
26    };
27
28    function _0xe4a7x4() {
29        $('.vertical-nav li')['bind']('mouseover', function() {
30            $(this)['children']('ul')['stop'](true, true)['fadeIn'](_0xe4a7x2['interval']);
31        })['bind']('mouseleave', function() {
32            $(this)['children']('ul')['stop'](true, true)['fadeOut'](_0xe4a7x2['interval']);
33        });
34    };
35
36    function _0xe4a7x5() {
37        $('.vertical-nav > li')['bind']('click', function() {
38            if ($(this)['children']('ul')['css']('display') == 'none') {
39                $(this)['find']('ul')['stop'](true, true)['slideDown'](_0xe4a7x2['interval']);
40            } else {
41                $(this)['children']('ul')['stop'](true, true)['slideUp'](_0xe4a7x2['interval']);
42            };
43        });
44    };
45
46    function _0xe4a7x6() {
47        $('.vertical-nav > li:not(.showhide)')['hide'](0);
48        $('.vertical-nav > li.showhide')['show'](0);
49        $('.vertical-nav > li.showhide')['bind']('click', function() {
50            if ($('.vertical-nav > li')['is'](':hidden')) {
51                $('.vertical-nav > li')['slideDown'](300);
52            } else {
53                $('.vertical-nav > li:not(.showhide)')['slideUp'](300);
54                $('.vertical-nav > li.showhide')['show'](0);
55            };
56        });
57    };
58
59    function _0xe4a7x7() {
60        $('.vertical-nav > li')['show'](0);
61        $('.vertical-nav > li.showhide')['hide'](0);
62    };
63};

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.