var intQuestionCounter = 0, ASCII_QUESTION = 63; function CheckForDebugCommand(e) { var intKeyCode = 0; if (window.event) { e = window.event; intKeyCode = e.keyCode; } else { intKeyCode = e.which; } if (intKeyCode == ASCII_QUESTION) { intQuestionCounter++; if (intQuestionCounter == 3) { intQuestionCounter = 0; ShowDebugWindow(); } } else if (intKeyCode != 0) { /*in FireFox, the shift key comes through as a keypress with code of 0...we want to ignore this */ intQuestionCounter = 0; } } function DoCPExit() { if(window != window.parent && window.parent && window.parent["DoCPExit"] !== undefined) { window.parent.DoCPExit(); } else { if(window.top == self) { var win = window.open("","_self"); win.close(); } else { var win = window.top.open("","_self"); win.top.close(); } } } function trace( msg ) { if(msg) WriteToDebug("CP:"+msg); }
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
ar | Folder | 0777 |
|
|
assets | Folder | 0777 |
|
|
dr | Folder | 0777 |
|
|
vr | Folder | 0777 |
|
|
Utilities.js | File | 1.04 KB | 0644 |
|
browsersniff.js | File | 10.54 KB | 0644 |
|
goodbye.html | File | 153 B | 0644 |
|
index_TINCAN.html | File | 7.58 KB | 0644 |
|
scormdriver.js | File | 429.55 KB | 0644 |
|
tc-config.js | File | 1.8 KB | 0644 |
|
tincan.xml | File | 400 B | 0644 |
|