Mega Menu Help

Why do you not show your code just right here in a CODE-TAG ?

It’s much more simple and has a much better overview.

//masterPage.js
 
export function testButt1_mouseIn(event,$w) {
    $w('#testBox1').show();
}
 
export function testButt1_mouseOut(event,$w) {
    $w('#testBox1').hide();
}
export function testBox1_mouseIn(event,$w) {
    $w('#testBox1').show();
}
 
export function testBox1_mouseOut(event,$w) {
    $w('#testBox1').hide();
 
}

 
 
export function button16_mouseIn(event) {
    $w("#featureBox1").show();
    $w("#coffeeBox1").hide()
    $w("#groceryBox1").hide()
    $w("#huntBox1").hide()
    $w("#campBox1").hide()
    $w("#merchBox1").hide()
    $w("#gamesBox1").hide()
    $w("#storeBox1").hide()
    $w("#clearBox1").hide()
 
}
 
export function button17_mouseIn(event) {
    $w("#coffeeBox1").show(); 
    $w("#featureBox1").hide()
    $w("#groceryBox1").hide()
    $w("#huntBox1").hide()
    $w("#campBox1").hide()
    $w("#merchBox1").hide()
    $w("#gamesBox1").hide()
    $w("#storeBox1").hide()
    $w("#clearBox1").hide()
 
}
 
export function button22_mouseIn(event) {
    $w("#groceryBox1").show();
    $w("#featureBox1").hide()
    $w("#coffeeBox1").hide()
    $w("#huntBox1").hide()
    $w("#campBox1").hide()
    $w("#merchBox1").hide()
    $w("#gamesBox1").hide()
    $w("#storeBox1").hide()
    $w("#clearBox1").hide()
}
 
export function button23_mouseIn(event) {
    $w("#huntBox1").show();
    $w("#featureBox1").hide()
    $w("#groceryBox1").hide()
    $w("#coffeeBox1").hide()
    $w("#campBox1").hide()
    $w("#merchBox1").hide()
    $w("#gamesBox1").hide()
    $w("#storeBox1").hide()
    $w("#clearBox1").hide() 
}
 
export function button24_mouseIn(event) {
    $w("#campBox1").show(); 
    $w("#featureBox1").hide()
    $w("#groceryBox1").hide()
    $w("#huntBox1").hide()
    $w("#coffeeBox1").hide()
    $w("#merchBox1").hide()
    $w("#gamesBox1").hide()
    $w("#storeBox1").hide()
    $w("#clearBox1").hide() 
}
 
export function button21_mouseIn(event) {
    $w("#merchBox1").show(); 
    $w("#featureBox1").hide()
    $w("#groceryBox1").hide()
    $w("#huntBox1").hide()
    $w("#campBox1").hide()
    $w("#coffeeBox1").hide()
    $w("#gamesBox1").hide()
    $w("#storeBox1").hide()
    $w("#clearBox1").hide() 
}
 
export function button20_mouseIn(event) {
    $w("#gamesBox1").show(); 
    $w("#featureBox1").hide()
    $w("#groceryBox1").hide()
    $w("#huntBox1").hide()
    $w("#campBox1").hide()
    $w("#merchBox1").hide()
    $w("#coffeeBox1").hide()
    $w("#storeBox1").hide()
    $w("#clearBox1").hide() 
}
 
export function button19_mouseIn(event) {
    $w("#storeBox1").show(); 
    $w("#featureBox1").hide()
    $w("#groceryBox1").hide()
    $w("#huntBox1").hide()
    $w("#campBox1").hide()
    $w("#merchBox1").hide()
    $w("#gamesBox1").hide()
    $w("#coffeeBox1").hide()
    $w("#clearBox1").hide()
}
 
export function button18_mouseIn(event) {
    $w("#clearBox1").show();
    $w("#featureBox1").hide()
    $w("#groceryBox1").hide()
    $w("#huntBox1").hide()
    $w("#campBox1").hide()
    $w("#merchBox1").hide()
    $w("#gamesBox1").hide()
    $w("#storeBox1").hide()
    $w("#coffeeBox1").hide() 
}
 
export function aboutBox1_mouseIn(event,$w) {
    $w('#aboutBox1').show(); 
}
export function aboutBox1_mouseOut(event,$w) {
    $w('#aboutBox1').hide(); 
}
export function aboutButton1_mouseIn(event,$w) {
     $w('#aboutBox1').show(); 
}
export function aboutButton1_mouseOut(event,$w) {
     $w('#aboutBox1').hide(); 
}