This issue has been resolved! If you have problems with your JavaScript, here are the troubleshooting steps that helped me (compiled from things found on the web):
1. Take the JavaScript and button and copy them into a blank Storyline file. Publish and test. In my case, the button worked.
2. Look at any JavaScript in the Storyline file that may have errors.
3. Use the Web Dev tools in your browser to identify errors.
4. Check your Slide Masters for any issues.
5. Don't edit your code in Microsoft Word. There is a difference in quotation marks that can cause an issue.
6. Check that your browser is not blocking JavaScript.
7. Change your JavaScript file to show just one command such as print.window();
8. Don't be afraid to ask for help, another set of eyes is really helpful!
My problem was that I had a hidden slide out there where I was working through sliders and dials, specifically retrieving and setting the variables. The issue was there. Once I deleted that slide, my JavaScript button started working. Hopefully, this helps others.
This issue has been resolved! If you have problems with your JavaScript, here are the troubleshooting steps that helped me (compiled from things found on the web):
1. Take the JavaScript and button and copy them into a blank Storyline file. Publish and test. In my case, the button worked.
2. Look at any JavaScript in the Storyline file that may have errors.
3. Use the Web Dev tools in your browser to identify errors.
4. Check your Slide Masters for any issues.
5. Don't edit your code in Microsoft Word. There is a difference in quotation marks that can cause an issue.
6. Check that your browser is not blocking JavaScript.
7. Change your JavaScript file to show just one command such as print.window();
8. Don't be afraid to ask for help, another set of eyes is really helpful!
My problem was that I had a hidden slide out there where I was working through sliders and dials, specifically retrieving and setting the variables. The issue was there. Once I deleted that slide, my JavaScript button started working. Hopefully, this helps others.