Forum Discussion
NickRLeVan
3 years agoCommunity Member
JavaScript in Storyline and RISE
Hello! I have been researching and messing with JavaScript for use within Storyline and RISE for roughly six months, but am still unclear on many details. First off, why is the term "player" used? (...
JohanSchoeman
3 years agoCommunity Member
How do I execute the below in Rise 360
function findLMSAPI(win) {
// look in this window
if (win.hasOwnProperty("GetStudentID")) return win;
// all done if no parent
else if (win.parent == win) return null;
// climb up to parent window & look there
else return findLMSAPI(win.parent);
}
var lmsAPI = findLMSAPI(this);
lmsAPI.SetReachedEnd();