Forum Discussion
Resources open in new Tab with LMS; Course in a new window
I think I may have a solution to opening links from the Resources tab in a new browser window rather than a new tab (it works on SCORM Cloud and our LMS, Workday Learning, in Chrome and Edge).
The solution involves creating an HTML file for each resource and linking that in the Resources tab rather than the resource itself – works for both embedded resources and URLs.
HTML code
<html>
<head>
</head>
<body>
<script type="text/javascript">
window.open("Resource.pdf","myWindow", "width=800,height=600");
window.close();
</script>
</body>
</html>
In the above example, "Resource.pdf" is the document that would normally be associated with the resource in the player. You can adjust the figures in the "width=800,height=600" section to suite your needs. You can also use a URL in the first argument e.g. ”https://www.articulate.com”
This will open a new tab in the LMS window, create a new window containing the resource on top of the Storyline window then close the tab in the LMS window.
In the Resources tab in the Storyline player, attach each new HTML file NOT the original resource or link. If you are using an embedded resource, once published you will need to amend the SCORM .zip file to include each original resource file in the ‘story_content/external_files’ folder as well as the HTML file which will have automatically been added. (You can’t add them to the Resources tab for them to be automatically included as they will appear as duplicates in the list and you’re back to the initial problem of opening in new tab not window if selected.)
- MASpencer2 years agoCommunity Member
Thanks for sharing. I noticed that in Review 360, this works perfectly for the course author, but not for the reviewer.
When I tested my course in SCORM Cloud, the resource opens in a new window, but the course window still gets minimized, so I'm seeing the SCORM Cloud "we launched your course in a new window" tab in the background instead of the course. Any suggestions?
- KevinNolty2 years agoCommunity Member
Paul, I'm not getting the same results in SCORM Cloud for Storyline 360. When I tested my course in SCORM Cloud, the resource opens in a new window, but the course window still gets minimized, so I'm seeing the SCORM Cloud "we launched your course in a new window" tab in the background instead of the course. In addition, Full Screen seems to toggle off anytime I use a link or click on the Resource Tab links. Any suggestions?