Hello,
I am trying to trigger an event at the same time the “x-active” class is added or removed to a navigation item that has a submenu, is there is a hook I could use for this or what would be the best way to do this?
Thanks!
Hello,
I am trying to trigger an event at the same time the “x-active” class is added or removed to a navigation item that has a submenu, is there is a hook I could use for this or what would be the best way to do this?
Thanks!
Hi John,
Thank you for reaching out to us. Regretfully there is no hook for that, what you’re trying can be achieved with custom JavaScript but custom development is outside the scope of support we can offer.
You can refer to the following threads https://stackoverflow.com/questions/14632230/triggering-an-event-when-a-class-is-removed-from-a-element-via-jquery or https://stackoverflow.com/questions/10599017/jquery-on-class-removing-event
If you’re not comfortable making code changes, I’d suggest you to consult with a third party developer.
Thank you for understanding!
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.