Javascript Print Code won't work on LMS/SCORM
Hi,
I'm trying to figure out why this javascript, will work on my web server when published without SCORM...but when published with SCORM 2004 and 1.2 the code doesn't work.
| Script |
|---|
var header = "Title of the Slide~~" var args =( "Question 1~~" + cp.vm.getVariableValue('Text_Entry_Box_1')+ "~~Question 2~~" + cp.vm.getVariableValue('Text_Entry_Box_2')+ "~~Question 3~~" + cp.vm.getVariableValue('Text_Entry_Box_3') ) var url = ("print.html?=" + header + args); window.open(url,"_blank","width=800,height=600,menubar=no"); |
It's associate with a print button...
This is the SCORM version; SCORM Cloud
Here is a normal web version (that works); http://lcdprodesigns.com/printResults_test/index.html
There are two files that I have to add to the SCORM zip, logo.png and print.html. I have also been adding them to the imsmanifest.xml.
I also tried just SWF and no HTML5, same results of the...print button does nothing.
Thanks,
Rob
