PageSourceSearch

https://sanmarket.ru/local/templates/specialflat/components/bitrix/menu/menu_catalog-mobile/script.js

js sanmarket.ru collected 2026-10-04 23:53:12 UTC 949 bytes, 39 lines download raw bytes

1var jsvhover = function()
2{
3
4        var menuDiv = document.getElementById("catalog-menu_mobile");
5        if (!menuDiv)
6            return;
7
8        var nodes = menuDiv.getElementsByTagName("li");
9        for (var i=0; i<nodes.length; i++)
10        {
11            nodes[i].onmouseover = function()
12            {
13                this.className += " jsvhover";
14            };
15
16            nodes[i].onmouseout = function()
17            {
18                this.className = this.className.replace(new RegExp(" jsvhover\\b"), "");
19            }
20        }
21
22
23};
24
25if (window.attachEvent)
26	window.attachEvent("onload", jsvhover);
27
28$(document).ready(function () {
29
30
31
32    var open = $('.open_list-menu');
33
34        open.on('click', function (e) {
35            e.preventDefault();
36            $(this).parent().toggleClass('opened-list_menu');
37            $(this).parent().find(".root-item-menu").slideToggle(300);
38        });
39});

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.