PageSourceSearch

https://tairtd.ru/local/templates/aspro_max/js/mega_menu.js

js tairtd.ru collected 2026-09-26 08:30:26 UTC 1,023 bytes, 30 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].querySelectorAll('.owl-carousel-hover');
14        if ($bannerMenu.length) {
15          $bannerMenu.forEach($el => {
16            $el.classList.remove("owl-carousel-hover");
17            $el.classList.add("owl-carousel");
18
19            setTimeout(function () {
20              InitOwlSlider();
21              $el.classList.remove("loader_circle");
22            }, 1);
23          })
24        }
25      }, {
26        once: true
27      });
28    }
29  }
30});

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.