Forum Discussion
DeveloperIgniti
2 years agoCommunity Member
Open navigation menu with custom button?
Hi,
Is there any way to open / close the navigation menu from a button that I have added to a course using the standard button tool?
I am not averse to using JavaScript if necessary.
Many thanks in advance.
Hello Developer Ignition,
Happy to help!
There isn't a way to control the visibility of the player menu without using Javascript. If you're open to exploring Javascript solutions, you can check out the following community post for alternative solutions:
- JavaScript Tricks for Articulate Storyline 3/360 show/hide menu
- Manipulating the Player Menu with Javascript
Hope this helps!
- DeveloperIgnitiCommunity Member
Hi,
Thank you for the link.
To help those who come here directly, my solution is to simply trigger the JavaScript:
document.querySelector(".menu-icon-wrapper").click();