PageSourceSearch

https://www.diagonale.at/wp-content/themes/diagonale/js/menu-slide.js?ver=1697633125

js diagonale.at collected 2026-10-02 10:46:41 UTC 2,745 bytes, 48 lines download raw bytes

1/* menu.slide.js v2.1 */
2
3jQuery(window).on("load resize", function (e) {
4    jQuery(function () {
5        if (jQuery(window).width() > 760) {
6var headtop = jQuery('.headtop').outerHeight();
7var ulheight1 = jQuery('.menu-haupt-container ul').height();
8if (jQuery('.menu-haupt-container ul li.current-menu-ancestor ul').length) { var ulheight2 = jQuery('.menu-haupt-container ul li.current-menu-ancestor ul').height(); }else{var ulheight2 = 0}
9if (jQuery('.menu-haupt-container ul li.current-menu-ancestor ul li.current-menu-ancestor ul').length) { var ulheight3 = jQuery('.menu-haupt-container ul li.current-menu-ancestor ul li.current-menu-ancestor ul').height(); }else{var ulheight3 = 0}
10if (jQuery('.menu-haupt-container ul li.current-menu-ancestor ul li.current-menu-item ul').length) { var ulheight4 = jQuery('.menu-haupt-container ul li.current-menu-ancestor ul li.current-menu-item ul').height(); }else{var ulheight4 = 0}
11if (jQuery('.menu-haupt-container ul li.current-menu-item ul').length) { var ulheight5 = jQuery('.menu-haupt-container ul li.current-menu-item ul').height(); }else{var ulheight5 = 0}
12
13var _array = [ulheight1,ulheight2,ulheight3,ulheight4,ulheight5];
14var highestul = Math.max.apply(Math,_array);
15
16jQuery('.headmid').height(highestul + 30);
17jQuery('#startseite.header').height(highestul + headtop + 83);
18
19}else{
20	jQuery('#startseite.header').removeAttr('style');
21	jQuery('.headmid').removeAttr('style');
22}
23    });
24});
25
26jQuery(document).ready(function () {
27    jQuery('.headleft #menu-hauptmenue-mobile svg').on('click', function () {
28        jQuery('#startseite.header').toggleClass('open');
29		jQuery('.menu-haupt-container').toggle();
30        jQuery('.headright').toggleClass('transparent');
31        jQuery('#startseite.header').removeAttr('style');
32        jQuery('.menu-haupt-container li.current-menu-ancestor').find('a:first').removeAttr('href');
33        jQuery('.menu-haupt-container li.current-menu-item').find('a:first').removeAttr('href');
34		var menuheight1 = jQuery('.menu-haupt-container ul').height();
35        var menuheight2 = jQuery('.menu-haupt-container ul li.current-menu-ancestor ul').height();
36		if (menuheight2 == null) {
37            var menuheight2 = 0;
38        };
39		var menuheight3 = jQuery('.menu-haupt-container ul li.current-menu-item ul').height();
40		if (menuheight3 == null) {
41            var menuheight3 = 0;
42        };
43        jQuery('.menu-haupt-container ul ul').css("top", 18 + menuheight1);
44		jQuery('.menu-haupt-container ul ul').append("<span class='tl'>-</span>");
45        jQuery('.menu-haupt-container ul ul ul').css("top", 18 + menuheight2);
46		jQuery('.menu-haupt-container ul ul ul').append("<span class='tl'>-</span>");
47    });
48});

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.