PageSourceSearch

https://kutuzovv.ru/bitrix/templates/aspro_max/js/mega_menu.js

js kutuzovv.ru collected 2026-10-08 04:14:51 UTC 944 bytes, 28 lines download raw bytes

1window.addEventListener("DOMContentLoaded", function () {
2  const $megaMenuWrapper = document.querySelectorAll(".menu-block, .menu-only");
3  
4  if ($megaMenuWrapper.length) {
5    for (let i = 0; i < $megaMenuWrapper.length; i++) {
6      $megaMenuWrapper[i].addEventListener("mouseover", function () {
7        // calculate menu items position
8        $megaMenuWrapper[i].querySelector(".mega-menu").classList.add("visible");
9        CheckTopVisibleMenu();
10        InitMenuNavigationAim();
11
12        // init banner
13        const $bannerMenu = $megaMenuWrapper[i].querySelector('.owl-carousel-hover');
14        if ($bannerMenu) {
15          $bannerMenu.classList.remove("owl-carousel-hover");
16          $bannerMenu.classList.add("owl-carousel");
17
18          setTimeout(function () {
19            InitOwlSlider();
20            $bannerMenu.classList.remove("loader_circle");
21          }, 1);
22        }
23      }, {
24        once: true
25      });
26    }
27  }
28});

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.