Forum Discussion

ColleenFahy-b81's avatar
ColleenFahy-b81
Community Member
4 years ago

Storyline 360 Modern Player Hide Menu After Selection

Hi - I was trying to use some variety of this javascript to close the menu after a user clicks an item. (Modern Player)

$( ".menu-icon-wrapper" ).click();

This toggle code works, but I only want to close the menu when it is open - not really toggle open/close... 

Can anyone help or point me in the right direction?