AbnerNoriega-82
3 months agoCommunity Member
Is it possible to use JavaScript to edit frame.js?
Hi!
I found this discussion about using some JavaScript code to change menu option from Restricted to Free as needed, but the issue is that it just put a layer over the menu so it is not practical to actually "restrict" the built-in menu to let the learner go back to previous slides from the menu.
In frame.js there is actually the option to change between menu options just updating from "free" to "restricted.
"menuOptions":{"flow":"free"
I changed it manually and it works. Thing is, I would like to change it via a JavaScript so it will be updated depending on a variable change.
Can this be done? Thank you!