top of page
Anchor 1
Last Updated on :  
Friday 28 January, 2022

Mega Header without Dataset (Collapsed Effect) in WIX Website


 

What are Mega Menus?

Mega menus (sometimes spelled “megamenus”) are a type of expandable menu in which many choices are displayed in a two-dimensional dropdown layout. They are an excellent design choice for accommodating a large number of options or for revealing lower-level site pages at a glance.




To add Mega Menu without Datase (Collapse Effect) in WIX Website View Tutorial Video


Code Used:

export function homeButton_mouseIn(event) {
 $w('#megaMenuStrip').expand()
}

export function megaMenuStrip_mouseOut(event) {
 $w('#megaMenuStrip').collapse()
}

export function aboutButton_mouseIn(event) {
 $w('#megaMenuStrip').collapse()
}

export function brainstormButton_mouseIn(event) {
 $w('#megaMenuStrip').collapse()
}

export function donateButton_mouseIn(event) {
 $w('#megaMenuStrip').collapse()
}

export function logo_mouseIn(event) {
 $w('#megaMenuStrip').collapse()
}

In the above code;

  • homeButton- Button we're using to trigger Mega Menu strip to Expand.

  • megaMenuStrip- Mega Menu Strip (Arrange front to all strip)

  • aboutButton- About Button we're using to trigger Mega Menu strip to Collapse.

  • brainstormButton- BrainStorm Button we're using to trigger Mega Menu strip to Collapse.

  • donateButton- Donate Button we're using to trigger Mega Menu strip to Collapse.

  • logo- Image we're using to trigger Mega Menu strip to Collapse.

Logo_edited.png
Disclaimer

Our free and premium content is non-exclusive, meaning you are not the only one with access to the content. You can customize our content to fit your end product. Redistribution of our content is strictly prohibited. This means you cannot make our content available to others as-is, stand-alone products, or stock products in ANY LANGUAGE, regardless if you offer our content for free or not.

© 2025 WixCodable.com | All Rights Reserved

bottom of page