Forum Discussion
Is there method to manage the visited state of the default menu?
Here i show a solution for this.
What you would need to get it working in your setup is some conditions ( either plain Storyline or Javascript ) that decide when the menuitems need to be restricted.
https://360.articulate.com/review/content/c6b7e48a-f204-441d-81ea-4cdd5ed6a524/review
One big plus of this approach is that you can customize the menu/listitems if you want to.
https://360.articulate.com/review/content/146cbdd5-f36c-4ce4-a5f6-94effde85c42/review
As you can see in the second review.
And here is the working Storyline.
Kind regards,
Math
- maheshthorat-ce5 months agoCommunity Member
Dear Math,
Thank you very much for your assistance. The sample file you provided is truly impressive. However, I am encountering difficulty in individually controlling each title of the menu.
For example, the JavaScript used for the "Unview" button has two CSS classes, namely "cs-restricted" and "cs-viewed,". These classes are applied universally across the entire menu.
Consequently, when these classes are removed using JavaScript, they affect the entire menu, removing the check marks from all menu items.
Is it feasible to manage the visited state of a single menu title with JavaScript?
Looking forward to your reply.
Thank you :)- MathNotermans-95 months agoCommunity Member
It for sure is. As the Storyline menu is nothing more then a simple list, you only need to know what element to select and instead of all the 'boxes' only change the one wanted.