PageSourceSearch

https://monttrekking.com/auxcontent/js/MenuToggleA.js

js monttrekking.com collected 2026-10-09 01:43:13 UTC 731 bytes, 47 lines download raw bytes

1// Get CSS width
2function CSSwidth()
3{
4    var e = window, a = 'inner';
5    if (!('innerWidth' in window )) {
6        a = 'client';
7        e = document.documentElement || document.body;
8    }
9    return (e[ a+'Width' ]);
10}
11
12
13// Monitor window width (CSS units)
14function MonMenu(CSSw)
15{
16	// Show/hide mini menu button
17	var MenuSH = $('.areabottom');
18	if (CSSw <= 574.9) $(MenuSH).hide();
19	else $(MenuSH).show();
20};
21
22
23// On load
24$(document).ready(function()
25{
26	CSSw = CSSwidth();
27	MonMenu(CSSw);
28	
29	// Show/hide main menu items
30	var ElementSH = $('.areabottom');
31	
32	$('.minus').click(function(e)
33	{
34		$(ElementSH).slideToggle('slow');
35	});
36});
37
38// On resize
39$(window).resize(function()
40{
41	CSSw = CSSwidth();
42	MonMenu(CSSw);
43});
44
45
46
47

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.