PageSourceSearch

https://kaliningradkipka.ru/local/templates/kipka/components/bitrix/menu/horizontal_multilevel/script.js

js kaliningradkipka.ru collected 2026-10-08 10:14:42 UTC 1,075 bytes, 43 lines download raw bytes

1var jshover = function() {
2	var horizontalMultilevelMenu = document.getElementById("horizontal-multilevel-menu");
3	if(horizontalMultilevelMenu){
4		var sfEls = horizontalMultilevelMenu.getElementsByTagName("li");
5		for (var i=0; i<sfEls.length; i++) 
6		{
7			sfEls[i].onmouseover=function()
8			{
9				this.className+=" jshover";
10			}
11			sfEls[i].onmouseout=function() 
12			{
13				this.className=this.className.replace(new RegExp(" jshover\\b"), "");
14			}
15		}
16	}
17}
18
19if (window.attachEvent) 
20	window.attachEvent("onload", jshover);
21
22document.addEventListener("DOMContentLoaded", function () {
23	document.addEventListener("click", (e) => {
24		var target = e.target
25
26		var el = target.closest('.menu--show-all')
27		if(!!el){
28			var parent = el.closest('.is--parent')
29
30			if(!!parent){
31				if(parent.classList.contains('--opened')){
32					parent.classList.remove('--opened')
33					el.textContent = 'Показать все'
34				}else{
35					parent.classList.add('--opened')
36					el.textContent = 'Скрыть лишнее'
37				}
38			}
39		}
40
41	});
42
43});

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.