Hi, James!
In fact, it can be made, but we cannot guarantee, that it will work in future versions.
CourseLab variables are stored in arrays. The syntax for calling CourseLab variables from JavaScript:
g_arVars["var_name"] - for global variable
g_arSlideVars["var_name"] - for slide variable
Both arrays are global, var_name is real variable name in this case.
But again - we will not guarantee compatibility with future versions...
Hi, James!
In fact, it can be made, but we cannot guarantee, that it will work in future versions.
CourseLab variables are stored in arrays. The syntax for calling CourseLab variables from JavaScript:
g_arVars["var_name"] - for global variable
g_arSlideVars["var_name"] - for slide variable
Both arrays are global, var_name is real variable name in this case.
But again - we will not guarantee compatibility with future versions...