JavaScript know its Lectora

approg
approg Community Member Posts: 258 ♪ Opening Act ♪
We're getting a HTML5 interaction build for us that I intend to incorporate into a Lectora title. One of my colleagues also wants to use the interaction in their non-Lectora course.

I've written some JavaScript that allows for communication with the Lectora title but it mustn't run in the non-Lectora course. Is there an robust, accurate way for JavaScript to know if the course is a Lectora course?

Comments