PageSourceSearch

https://www.carmeq.de/js/carmeqmenu.js

js carmeq.de collected 2026-10-06 15:25:46 UTC 1,353 bytes, 35 lines download raw bytes

1function initmenu(mainitem, subitem) {
2    var thismenuitem = mainitem;
3    //var thissubmenuitem = subitem;
4    var thissubmenuitem = "sub_"+subitem;
5    var thissublimenuitem = "subli_"+subitem;
6
7    $("#navigation ul li#home").hover(function() { showsub('home'); });
8    $("#navigation ul li#leistungen").hover(function() { showsub('leistungen'); });
9    $("#navigation ul li#karriere").hover(function() { showsub('karriere'); });
10    $("#navigation ul li#aktuelles").hover(function() { showsub('aktuelles'); });
11    $("#navigation ul li#unternehmen").hover(function() { showsub('unternehmen'); });
12    $("#navigation ul li#kontakt").hover(function() { showsub('kontakt'); });
13
14    $("#mainfirst").mouseleave(function() {
15        showsub(thismenuitem);
16    });
17
18    var mainmenuclass = "#navigation ul li#"+thismenuitem+" a";
19    $(mainmenuclass).addClass("active");
20
21    var submenuitem = "#subnavigation ul#sub_"+thismenuitem+"";
22    $(submenuitem).addClass("on");
23
24    if(thissubmenuitem != "blanc") {
25        var submenuclass = "#subnavigation ul li#"+thissublimenuitem+" a";
26        $(submenuclass).addClass("active");
27    }
28
29    function showsub( it ) {
30        $('#subnavigation ul').removeClass("on");
31        var thislink = "#sub_"+it;
32        var thisreflink = "#subnavigation ul#sub_"+it+"";
33        $(thisreflink).addClass("on");
34    }
35}

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.