chris-ELM
2/18/2016 - 5:42 PM

Gets the number of slide for a specific scene - requires a specific structure

Gets the number of slide for a specific scene - requires a specific structure

function getNumOfSlides(xmlIn, scNum) {
    var num = (xmlIn.getElementsByTagName("links")[0].childNodes[scNum].childNodes[0].childNodes.length);
    return num
}

//use with getCourseLayout()