This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// set document.domain property here, if it works for your environment/SCORM implementation | |
// document.domain=""; | |
var g_intAPIType = 0; | |
// Hook for Internet Explorer | |
if((navigator.appName && navigator.appName.indexOf("Microsoft") != -1 && navigator.userAgent.indexOf("Windows") != -1 && navigator.userAgent.indexOf("Windows 3.1") == -1) || g_intAPIType == -1){ | |
g_intAPIType = 0; | |
document.write('<script language=\"VBScript\"\>\n'); | |
document.write('On Error Resume Next\n'); | |
document.write('Sub Captivate_FSCommand(ByVal command, ByVal args)\n'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// set document.domain property here, if it works for your environment/SCORM implementation | |
// document.domain=""; | |
var g_intAPIType = 0, | |
strURLFile = "sample.swf", // Name of the flash file | |
intIntervalSecs = 1, // Number of seconds to wait for SCORM API to load | |
g_intAPIOrder = 0, // Way to search for API object (0 - starts with bottom up; 1 - starts top down) | |
strURLBase = "", | |
strURLParams = "", | |
strURLFull = document.location + "", | |
intTemp = strURLFull.indexOf("#"), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// set document.domain property here, if it works for your environment/SCORM implementation | |
// document.domain=""; | |
var g_intAPIType = 0, | |
strURLFile = "sample.swf", // Name of the flash file | |
intIntervalSecs = 1, // Number of seconds to wait for SCORM API to load | |
g_intAPIOrder = 0, // Way to search for API object (0 - starts with bottom up; 1 - starts top down) | |
strURLBase = "", | |
strURLParams = "", | |
strURLFull = document.location + "", | |
intTemp = strURLFull.indexOf("#"), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// set document.domain property here, if it works for your environment/SCORM implementation | |
// document.domain=""; | |
var g_intAPIType = 0, | |
strURLFile = "sample.swf", // Name of the flash file | |
intIntervalSecs = 1, // Number of seconds to wait for SCORM API to load | |
g_intAPIOrder = 0, // Way to search for API object (0 - starts with bottom up; 1 - starts top down) | |
strURLBase = "", | |
strURLParams = "", | |
strURLFull = document.location + "", | |
intTemp = strURLFull.indexOf("#"), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// set document.domain property here, if it works for your environment/SCORM implementation | |
// document.domain=""; | |
var flashvars = {}, | |
params = { bgcolor: "#f5f4f1", menu: "false" }, | |
attributes = { id: "Captivate", name: "Captivate" }, | |
g_intAPIType = 0, | |
strURLFile = "sample.swf", // Name of the flash file | |
intIntervalSecs = 1, // Number of seconds to wait for SCORM API to load | |
g_intAPIOrder = 0, // Way to search for API object (0 - starts with bottom up; 1 - starts top down) | |
strURLParams = ""; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// set document.domain property here, if it works for your environment/SCORM implementation | |
// document.domain=""; | |
var flashvars = {}, | |
params = { bgcolor: "#f5f4f1", menu: "false" }, | |
attributes = { id: "Captivate", name: "Captivate" }, | |
g_intAPIType = 0, | |
strURLFile = "sample.swf", // Name of the flash file | |
intIntervalSecs = 1, // Number of seconds to wait for SCORM API to load | |
g_intAPIOrder = 0, // Way to search for API object (0 - starts with bottom up; 1 - starts top down) | |
strURLParams = ""; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// set document.domain property here, if it works for your environment/SCORM implementation | |
// document.domain=""; | |
var flashvars = {}, | |
params = { bgcolor: "#f5f4f1", menu: "false" }, | |
attributes = { id: "Captivate", name: "Captivate" }, | |
g_intAPIType = 0, // Specifies SCORM 2004 | |
strURLFile = "sample.swf", // Name of the flash file | |
intIntervalSecs = 1, // Number of seconds to wait for SCORM API to load | |
g_intAPIOrder = 0, // Way to search for API object (0 - starts with bottom up; 1 - starts top down) | |
strURLParams = ""; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var g_objAPI = null, | |
g_nAPI = 0, // type of API to start searching for; allowable values: 0 - SCORM 2004; 1 - SCORM 1.2 (or 1.1) | |
g_aAPI = ["1.0", "0.2"], // Array that stores the API versions | |
g_zAPIVersion = -1, | |
g_bFinishDone = false, | |
g_intAPIType = 0, // Specifies SCORM 2004 | |
strURLFile = "sample.swf", // Name of the flash file | |
intIntervalSecs = 1, // Number of seconds to wait for SCORM API to load | |
g_intAPIOrder = 0, // Way to search for API object (0 - starts with bottom up; 1 - starts top down) | |
strURLParams = ""; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// set document.domain property here, if it works for your environment/SCORM implementation | |
// document.domain=""; | |
var flashvars = {}, | |
params = { bgcolor: "#f5f4f1", menu: "false" }, | |
attributes = { id: "Captivate", name: "Captivate" }; | |
function callbackFn(e){ | |
//e.ref is the <object> aka SWF file. No need for getElementById | |
if(e.success && e.ref){ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Captivate_DoFSCommand invoked: cpSlideLoaded sample.htm:75 | |
Captivate_DoFSCommand invoked: cpSlideChanged | |
Captivate_DoExternalInterface invoked: Initialize sample.htm:134 | |
Captivate_DoExternalInterface invoked: GetValue sample.htm:134 | |
Captivate_DoExternalInterface invoked: GetLastError sample.htm:134 | |
Captivate_DoExternalInterface invoked: SetValue sample.htm:134 | |
Captivate_DoExternalInterface invoked: GetLastError sample.htm:134 | |
Captivate_DoExternalInterface invoked: GetValue sample.htm:134 | |
Captivate_DoExternalInterface invoked: GetLastError sample.htm:134 | |
Captivate_DoExternalInterface invoked: GetErrorString sample.htm:134 |