Forum Discussion
MrY
8 years agoCommunity Member
JavaScript Tricks for Articulate Storyline 3/360 show/hide menu
Has anyone got the show/hide menu to work here on the Elearning Brothers website?
I've tried attaching the code to a button but nothing seems to happen
Thanks
ColinLynas
4 years agoCommunity Member
Just excellent, a truly elegant solution.
document.querySelector("#hamburger > div"); hamburger.style.display = 'none';
I have it attached to a timeline start action so the end user doesn't see it and they can use the custom button to show/hide the sidebar menu.
----------------------
My final challenge should be simple CSS, I would like to have the sidebar overlay the content rather than resize it. Just working on some CSS swaps.
Thank you again for the help.