Hi - At the end of my project I have a button with a URL attached to it so that when the user clicks, they are taken to a post survey about the lesson. Right now when this is happening, the survey opens in a new browser window. I would like to know if there is any way to make the survey open up in the SAME window as the lesson.
Hi Michael - Could you please resend the code? And how do I insert this into the project? Thank you! (Need link at end of lesson to open in the same window as the lesson, not a separate window)
Check out the Execute Javascript triggers in the two different projects that I attached above. The code is contained within those triggers. You may need the code from one trigger or the other depending on whether your LMS is launching the course in a frame or a new window. Let me know if you need more help.
8 Replies
Check out the javascript trigger in the project below to see if that does what you want.
Is there a way to make it launch on the same parent window and not on the SL window? TIA
Where is the parent window originating from? LMS? Try the new project I attached here.
I am actually attaching the SL module in a Rise course. The code works Michael!
Thank you!
Happy to hear that solved the issue for you.
Hi Michael - Could you please resend the code? And how do I insert this into the project? Thank you! (Need link at end of lesson to open in the same window as the lesson, not a separate window)
Check out the Execute Javascript triggers in the two different projects that I attached above. The code is contained within those triggers. You may need the code from one trigger or the other depending on whether your LMS is launching the course in a frame or a new window. Let me know if you need more help.
Is there a similar fix for this in a RISE only course?
I don't see the output file to edit this.
Thanks