I’m creating a Mega Menu in Editor X using Multi-State Boxes. I’ve made significant progress but am facing difficulties, so I hope you guys can help. I’ll walk you through what I’ve done. Please bear with me, I’m new to Editor X, let alone coding, so my terminology might not be spot on, but hopefully, you’ll get the gist of what I’m saying.
Summary
-
I relied on this https://youtu.be/jxiTE6vKbxw for guidance.
-
I created a menu at the top of the page using buttons.
-
I created a multistate box by turning on the developer mode
-
I used code to connect the buttons to the multistate box
-
My published site, https://www.overbrookdesign.com/ is n ot displaying the mega menu properly.
Buttons Details
-
In Dev Mode every menu button has an ID#.
-
For example
-
The Furniture Button ID# is #furniturebutton
-
The Outdoors Button ID# is #outdoorsbutton
Multistate Box Details
-
I created a section just below the menu buttons called megamenusection
-
In megamenusection I inserted a multistate box and called it megamenumultistatebox1
-
Megamenumultistatebox1’s ID# is #megamenumultistatebox1
-
This multistate box has 3 states (once the kinks are ironed out there will be additional states to access other buttons on the menu.)
-
emptystate
-
furniturestate
-
outdoorsstate
-
Each state has an ID#
-
#emptystate
-
#furniturestate
-
#outdoorsstate
-
Each state can be viewed in editor mode
- emptystate
- furniturestate
- outdoorsstate
Coding Details
The code is on the masterpage, loading on every page.
Thank you in advance for any support you can provide, it’s appreciated.
Ira