Dynamic button/link
Oct 23, 2020
Anyone know of a way for a button to pull from the current url?
I'd like to be able to parse this url and have a button linked to the course page.
For example, if a user in a lesson and the current url is www.mydomain.com/courses/my-course/lesson/my-lesson and I want a link/button to be linked to www.mydomain.com/courses/my-course.
This is essentially helps me reduce the number of courses I need to maintain and customize this button for each course.
Thank you!
1 Reply
Hi Jennifer,
It sounds like you are want to navigate to a particular slide or scene in Storyline based on the value in the URL.
If you are accessing your course from a web site, you can do what you are requesting, but it will take some work in Javascript on the first slide of your project. This probably will not work from an LMS. Assuming you are comfortable with javascript, the following steps should get you started.
Best regards,
Dave
This discussion is closed. You can start a new discussion or contact Articulate Support.