Open navigation menu with custom button? Aug 15, 2023 By Developer Ignition 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.
Jose Tansengco Staff 9 months ago08/15/23 at 8:31 pm (UTC) 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!
Developer Ignition Author 9 months ago08/23/23 at 9:34 am (UTC) 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();
2 Replies
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:
Hope this helps!
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();