PageSourceSearch

https://kclassicnews.com/js/menu.js

js kclassicnews.com collected 2026-10-08 05:55:32 UTC 584 bytes, 41 lines download raw bytes

1function NaviMenu(menuitems)
2{
3	this.menuitems = menuitems;
4}
5
6NaviMenu.prototype.reset = function()
7{
8	for (var i = 1; i <= this.menuitems.length; i++)
9	{
10		try
11		{
12			$("menu"+i).src = this.menuitems[(i - 1) * 2];
13			if ($("submenu"+i) != null)
14			{
15				$("submenu"+i).style.display = "none";
16			}
17		}
18		catch (e)
19		{
20		}
21	}
22}
23
24NaviMenu.prototype.over = function(no)
25{
26	this.reset();
27	
28	try
29	{
30		var img = this.menuitems[(no - 1) * 2 + 1];
31		if (img) $("menu"+no).src = img;
32		if ($("submenu"+no) != null)
33		{
34
35			$("submenu"+no).style.display = "inline";
36		}
37	}
38	catch (e)
39	{
40	}
41}

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.