Copy link to clipboard
Copied
Hi everyone!
Hope, you have more Captivate experience than I do and will kindly assist me.
My issue is as follows: one of the courses I `ve recently created is to be viewed on one particular LMS and not anywhere else. First my plan was to do it via Adv. Actions (if\else conditions) when entering the 1st slide however I failed to find any LMS-related system variables to base the action on it.
Do I got it right that the only option for me now is JavaScript?
If someone gives an example how such script would look like, that would be jus great.
(Details: the script should check where a Scorm is launched - if it`s not url X, the project pop-up window is closed.
Any help is appreciated)
Sorry, if I missed similar topics.
Copy link to clipboard
Copied
Not sure what you's want to do if not the correct LMS, but this script can determine if it is true or not:
var correctLMS = window.location.toString().indexOf( 'yourIdentifier' ) !== - 1 ? true : false;
if ( !correctLMS )
{
//DO SOMETHING
}