PageSourceSearch

https://www.proprofs.com/c/wp-content/themes/bateaux/proprofs_header/js/header.js?v=23

js proprofs.com collected 2026-09-24 07:02:16 UTC 3,586 bytes, 114 lines download raw bytes

1
2
3// (function(b, a, c) {
4//     var d = b();
5//     b.fn.dropdownHover = function(e) {
6//         if ("ontouchstart" in document) {
7//             return this
8//         }
9//         d = d.add(this.parent());
10//         return this.each(function() {
11//             var m = b(this),
12//                 l = m.parent(),
13//                 k = {
14//                     delay: 1000,
15//                     instantlyCloseOthers: true
16//                 },
17//                 i = {
18//                     delay: b(this).data("delay"),
19//                     instantlyCloseOthers: b(this).data("close-others")
20//                 },
21//                 f = "show.bs.dropdown",
22//                 j = "hide.bs.dropdown",
23//                 g = b.extend(true, {}, k, e, i),
24//                 h;
25//             l.hover(function(n) {
26//                 if (!l.hasClass("open") && !m.is(n.target)) {
27//                     return true
28//                 }
29//                 d.find(":focus").blur();
30//                 if (g.instantlyCloseOthers === true) {
31//                     d.removeClass("open")
32//                 }
33//                 a.clearTimeout(h);
34//                 l.addClass("open");
35//                 m.trigger(f)
36//             }, function() {
37//                 h = a.setTimeout(function() {
38//                     l.removeClass("open");
39//                     m.trigger(j)
40//                 }, g.delay)
41//             });
42//             m.hover(function() {
43//                 d.find(":focus").blur();
44//                 if (g.instantlyCloseOthers === true) {
45//                     d.removeClass("open")
46//                 }
47//                 a.clearTimeout(h);
48//                 l.addClass("open");
49//                 m.trigger(f)
50//             });
51//             l.find(".dropdown-submenu").each(function() {
52//                 var o = b(this);
53//                 var n;
54//                 o.hover(function() {
55//                     a.clearTimeout(n);
56//                     o.children(".dropdown-menu").show();
57//                     o.siblings().children(".dropdown-menu").hide()
58//                 }, function() {
59//                     var p = o.children(".dropdown-menu");
60//                     n = a.setTimeout(function() {
61//                         p.hide()
62//                     }, g.delay)
63//                 })
64//             })
65//         })
66//     };
67//     b(document).ready(function() {
68//         b('[data-hover="dropdown"]').dropdownHover()
69//     })
70// })(jQuery, this);
71
72 jQuery(function() {
73
74
75
76
77// jQuery("li.dropdown").click(function () {
78//     jQuery("li.dropdown").removeClass("active");
79//     // jQuery(".tab").addClass("active"); // instead of this do the below 
80//     jQuery(this).addClass("active");   
81// });
82// jQuery(document).ready(function(){
83//     jQuery("li.dropdown").click(function(){
84//     jQuery("li.dropdown ul").slideUp();
85//     if(!jQuery(this).next().is(":visible"))
86//     {
87//       jQuery(this).next().slideDown();
88//     }
89//   });
90// });
91
92
93
94
95  
96    jQuery('<div id="overlay" />').insertAfter('body');
97    // Navigation Slide In
98    jQuery('button.navbar-toggle').click(function() {
99        jQuery(".nav-menu").addClass("right");
100        jQuery('html').css("overflow", "hidden");
101                jQuery('#overlay').show();
102        return false;
103    });
104
105    // Navigation Slide Out
106    jQuery('#overlay, #close').click(function() {
107        jQuery('.nav-menu').removeClass('right');
108             jQuery('html').css("overflow", "auto");
109                 jQuery('#overlay').hide();
110        return false;
111    });
112});
113
114

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.