Accessing cpInfoPercentage system variable value from the published code
Hello!
I am publishing a Captivate assessment as HTML5 (not SCORM packaged and no SWF) and need to be able to access the cpInfoPercentage system value (holds the quiz score as a percentage) in the published HTML/JavaScript code. Going through the published code, I am seeing where this variable is used to create the SVG image of the score number for the slide to be viewed in HTML in a browser. However, I am not sure I can grab this as a value.
Has anyone done this and can offer any guidance or code they used to make it happen / test it?
The reason I need to do this is because we are creating our e-learning courses in a way where we are either writing them in straight HTML / JavaScript or creating portions of them in Animate or Captivate and using the published code as modules inside an HTML player (basically the completed courses are a website that we package as a whole with a scorm packager). We currently are not able to use any of the assessment capability of Captivate because of the way we are creating our courses... I would like to be able to use this functionality than the what we are currently doing to create quizzes, and I could if I could capture this variable to be able to pull into our assessment results and certificate pages (which are created in HTML/JavaScript.
Thank you so much in advance for your help!
Ali
