Question:
How can I read the value of a menu item within a sub menu and make an action as the item is clicked?
Product:
Wix Editor & Code
What are you trying to achieve:
I am new to code, so I may be wrong on my approach. I am trying to create a variable that has the label of the menu item, and upon click of that item (it doesn’t have to be a variable, I’m just not sure the proper approach) it will do other actions. I am trying to use the “.menuItem” feature, though it does not take “.onItemClick” or “.onClick” afterwards. Is there a different approach or a solution that I am missing?
What have you already tried:
Online Forums / Documents
Additional information:
Ultimately, I am trying to make it so as someone clicks on one item on the menu, it takes them to a specific slide (on a slideshow) on another page. I am not trying to create a custom menu, as I already have a menu setup through Wix and I like the current style. Currently, the menu item goes to the section that has the slideshow, but DOES NOT actually display the specific Slide I am wanting.