XF 2.3 JS for dropdown

stromb0li

Well-known member
I am currently using a # symbol for parent navigation links to always force show the menu item dropdown. However, the tricky thing is when you click on the link, it tries to navigate to #, which most people would assume would trigger the dropdown instead.

Is there a quick way to extend the menu behavior to check for # at parent level to toggle the dropdown?

Previously, I was using this CSS change, but the navigation menu changed from 2.2 to 2.3:

Edit: just updated the PAGE_CONTAINER template and got it working that way instead of using CSS or JS.
 
Last edited:
Back
Top Bottom