Forum Discussion
If anyone viewing a course in Workday clicks the Resources tab it overtakes the content window and there is no way back except to close the window and relaunch the course. This happens with hyperlinks on slides as well.
that's no big surprise - storyline opens external files with javascript* - and the parameters of window.open() ('_blank' = new tab) can easely be overwritten by the LMS
can you upload
- a small storyline project without your patch
- the same small storyline project with your patch
so I can check what is happening inside the internal storyline programming differently
(that your patch works is surprising)
Jürgen
* <a href="javascript:DS.windowOpen.open({ url: 'story_content/external_files/ ... ' })></a>
Update: here is a small example how simple overwriting works (a simple pur html/js example)
test the behavior here live:
click on the links -> every link opens in a new tab
click Button "overwrite": the links on top are opening in new tab, but the bottom links now open in the same window
by the way, it would also be possible to use this method to foist modified documents on the learners
javascript is really not a good idea for the link function, if you have don't have the FULL control over your complete webpage !!!
@articulate: please change the javascript version to a scriptless version - every browser can do it
Update 2: here is a proof of concept - how it could work (external links without javascript)
html5/lib/scripts/frame.desktop.min.js
replace
("href=\"javascript:DS.windowOpen.open({url:'"+t.url+"'})\"")+
with
'href="' + t.url + '" target="_blank"' +
Jürgen