PageSourceSearch

https://botscrew.com/wp-content/themes/botscrew-theme/js/dropdownmenu.js?ver=4.9.8

js botscrew.com collected 2026-09-28 08:32:17 UTC 3,767 bytes, 93 lines download raw bytes

1//dropdownMenu script
2$( document ).ready(function() {
3    if ($(window).width() >= 750) {
4        $("#ind").on('mouseover',function(){
5            $('#dropdownMenuLink').css({'display':'block'});
6        })
7        $("#navbar").on('mouseleave',function(){
8            $('#dropdownMenuLink').css({'display':'none'});
9        })
10        $(".nav.navbar-nav.navbar-right>li:not(#ind)").on('mouseover',function(){
11            $('#dropdownMenuLink').css({'display':'none'});
12        })
13
14        $("#dropdownMenuLink").on('mouseleave',function(){
15            $('#dropdownMenuLink').css({'display':'none'});
16        })
17    }
18    if ($(window).width() >= 750) {
19        $("#srvs").on('mouseover',function(){
20            console.log('works')
21            $('#dropdownMenuLink-1').css({'display':'block'});
22        })
23        $("#navbar").on('mouseleave',function(){
24            $('#dropdownMenuLink-1').css({'display':'none'});
25        })
26        $(".nav.navbar-nav.navbar-right>li:not(#srvs)").on('mouseover',function(){
27            $('#dropdownMenuLink-1').css({'display':'none'});
28        })
29
30        $("#dropdownMenuLink-1").on('mouseleave',function(){
31            $('#dropdownMenuLink-1').css({'display':'none'});
32        })
33    }
34           if ($(window).width() >= 750) {
35                  $("#about").on('mouseover',function(){
36                    console.log('works');
37            $('#dropdownMenuLink-2').css({'display':'block'});
38        })   
39            $("#navbar").on('mouseleave',function(){
40            $('#dropdownMenuLink-2').css({'display':'none'});
41        })   
42                $(".nav.navbar-nav.navbar-right>li:not(#about)").on('mouseover',function(){
43            $('#dropdownMenuLink-2').css({'display':'none'});
44        })   
45                
46            $("#dropdownMenuLink-2").on('mouseleave',function(){
47            $('#dropdownMenuLink-2').css({'display':'none'});
48        })   
49            }
50    function scrollTo1(element, to, duration) {
51            var start = element.scrollTop,
52                change = to - start,
53                currentTime = 0,
54                increment = 20;
55
56            var animateScroll = function () {
57                currentTime += increment;
58                var val = Math.ceil(Math.easeInOutQuad(currentTime, start, change, duration));
59                window.scrollTo(0, val);
60                if (currentTime < duration) {
61                    setTimeout(animateScroll, increment);
62                }
63            };
64            (function () {
65                window.requestAnimationFrame()
66            }, animateScroll())()
67        }
68
69    // var demo = document.getElementById('contact2');
70    // demo.addEventListener('click', function (e) {
71    //     var el = document.getElementById("overlay");
72    //     el.style.visibility = (el.style.visibility == "visible") ? "hidden" : "visible";
73    // })
74    // var overlay1 = document.querySelectorAll('#overlay:not(.modal)');
75    // var close = document.getElementById('close');
76    // close.addEventListener("click", function (event) {
77    //     var el = document.getElementById("overlay");
78    //     el.style.visibility = "hidden";
79    // });
80    // document.querySelectorAll('#overlay:not(.modal)')[0].addEventListener("click", function (event) {
81    //     if (screen.width > 600) {
82    //         var el = document.getElementById("overlay");
83    //         el.style.visibility = "hidden";
84    //     }
85    // });
86
87    $('.mobile-menu__close-btn').on('click', function (e) {
88        $('.main-header-menu-wrp-mobile').removeClass('show');
89    })
90    $('.mobile-open-btn').on('click', function (e) {
91        $('.main-header-menu-wrp-mobile').addClass('show');
92    })
93});

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.