User Tours in the Snap theme - Launching a user tour within a specific topic/section
Hi all. I wonder whether anyone has found a solution to this issue.
I am trying to create a user tour that is only triggered when a student is in the second topic/section of a given course. We use this topic for assessment information and wish to guide the students through the various assessment requirements.
Normally this would be OK as you would use the course URL unique to this section, ie.
/course/view.php?id=XXXX#section-2
In Snap, this does not work, however. Snap loads all sections at runtime and then selectively shows and hides the current section as the student use the LH navigation. The page itself is never refreshed and as such, the user tour is never activated.
I thought I could 'trick it' by using the selector that is only available when the section 1 is visible:
My selector, therefore, was '#section-1.state-visible'
This didn't work (or I am doing it wrong).
Anyone found a solution/workaround?
Please sign in to leave a comment.
Comments
0 comments