PageSourceSearch

https://cbj.gov.jo/App_Themes/ThemeAr/CSS/mobile-menu/jquery.meanmenu.min.js

js cbj.gov.jo collected 2026-10-02 05:42:13 UTC 5,208 bytes, 42 lines download raw bytes

1/*!
2 * jQuery meanMenu v2.0.6
3 * @Copyright (C) 2012-2013 Chris Wharton (https://github.com/weare2ndfloor/meanMenu)
4 *
5 */
6! function(e) { "use strict";
7    e.fn.meanmenu = function (n) {
8        var a = { meanMenuTarget: jQuery(this), meanMenuContainer: ".mobile-menu", meanMenuClose: "<img src=\"/App_Themes/ThemeAr/images/close.png\">", meanMenuCloseSize: "18px", meanMenuOpen: " <span /><span /><span /> <div class='mname'>Menu</div>", meanRevealPosition: "right", meanRevealPositionDistance: "0", meanRevealColour: "", meanRevealHoverColour: "", meanScreenWidth: "991", meanNavPush: "", meanShowChildren: !0, meanExpandableChildren: !0, meanExpand: "<i class='fas fa-plus'></i>", meanContract: "<i class='fas fa-times'></i>", meanRemoveAttrs: !1, onePage: !1, removeElements: "" },
9            n = e.extend(a, n),
10            t = window.innerWidth || document.documentElement.clientWidth; return this.each(function() {
11            function e() { if ("center" == c) { var e = window.innerWidth || document.documentElement.clientWidth,
12                        n = e / 2 - 22 + "px";
13                    P = "left:" + n + ";right:auto;", A ? jQuery(".meanmenu-reveal").animate({ left: n }) : jQuery(".meanmenu-reveal").css("left", n) } }
14
15            function a() { jQuery(W).is(".meanmenu-reveal.meanclose") ? W.html(o) : W.html(s) }
16
17            function r() { jQuery(".mean-bar,.mean-push").remove(), jQuery(m).removeClass("mean-container"), jQuery(u).show(), E = !1, M = !1, jQuery(x).removeClass("mean-remove") }
18
19            function i() { if (d >= t) { jQuery(x).addClass("mean-remove"), M = !0, jQuery(m).addClass("mean-container"), jQuery(".mean-container").prepend('<div class="mean-bar"><a href="#nav" class="meanmenu-reveal" style="' + R + '">Show Navigation</a><nav class="mean-nav"></nav></div>'); var e = jQuery(u).html();
20                    jQuery(".mean-nav").html(e), C && jQuery("nav.mean-nav ul, nav.mean-nav ul *").each(function() { jQuery(this).removeAttr("class"), jQuery(this).removeAttr("id") }), jQuery(u).before('<div class="mean-push" />'), jQuery(".mean-push").css("margin-top", y), jQuery(u).hide(), jQuery(".meanmenu-reveal").show(), jQuery(j).html(s), W = jQuery(j), jQuery(".mean-nav > ul").show(), jQuery(".mean-nav ul ul").hide(), Q ? f ? (jQuery(".mean-nav ul ul").each(function() { jQuery(this).children().length && jQuery(this, "li:first").parent().append('<a class="mean-expand" href="#" style="font-size: ' + l + '">' + g + "</a>") }), jQuery(".mean-expand").on("click", function(e) { e.preventDefault(), jQuery(this).hasClass("mean-clicked") ? (jQuery(this).html(g), jQuery(this).prev("ul").slideUp(300, function() {})) : (jQuery(this).html(p), jQuery(this).prev("ul").slideDown(300, function() {})), jQuery(this).toggleClass("mean-clicked") })) : jQuery(".mean-nav ul ul").show() : jQuery(".mean-nav ul ul").hide(), jQuery(".mean-nav ul li").last().addClass("mean-last"), W.removeClass("meanclose"), jQuery(W).click(function(e) { e.preventDefault(), 0 == E ? (W.css("text-align", "center"), W.css("text-indent", "0"), W.css("font-size", l), jQuery(".mean-nav").show().addClass("slide-right"), E = !0) : (jQuery(".mean-nav").show().removeClass("slide-right"), E = !1), W.toggleClass("meanclose"), a(), jQuery(x).addClass("mean-remove") }), w && jQuery(".mean-nav ul > li > a:first-child").on("click", function() { jQuery(".mean-nav ul:first").slideUp(), E = !1, jQuery(W).toggleClass("meanclose").html(s) }) } else r() } var u = n.meanMenuTarget,
21                m = n.meanMenuContainer;
22            n.meanReveal; var o = n.meanMenuClose,
23                l = n.meanMenuCloseSize,
24                s = n.meanMenuOpen,
25                c = n.meanRevealPosition,
26                v = n.meanRevealPositionDistance,
27                h = n.meanRevealColour;
28            n.meanRevealHoverColour; var d = n.meanScreenWidth,
29                y = n.meanNavPush,
30                j = ".meanmenu-reveal",
31                Q = n.meanShowChildren,
32                f = n.meanExpandableChildren,
33                g = n.meanExpand,
34                p = n.meanContract,
35                C = n.meanRemoveAttrs,
36                w = n.onePage,
37                x = n.removeElements; if (navigator.userAgent.match(/iPhone/i) || navigator.userAgent.match(/iPod/i) || navigator.userAgent.match(/iPad/i) || navigator.userAgent.match(/Android/i) || navigator.userAgent.match(/Blackberry/i) || navigator.userAgent.match(/Windows Phone/i)) var A = !0;
38            (navigator.userAgent.match(/MSIE 8/i) || navigator.userAgent.match(/MSIE 7/i)) && jQuery("html").css("overflow-x", "scroll"); var E = !1,
39                M = !1; if ("right" == c && (P = "right:" + v + ";left:auto;"), "left" == c) var P = "left:" + v + ";right:auto;";
40            e(); var R = "background:" + h + ";color:" + h + ";" + P,
41                W = "";
42            A || jQuery(window).resize(function() { t = window.innerWidth || document.documentElement.clientWidth, t > d ? r() : r(), d >= t ? (i(), e()) : r() }), window.onorientationchange = function() { e(), t = window.innerWidth || document.documentElement.clientWidth, t >= d && r(), d >= t && 0 == M && i() }, i() }) } }(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.