File "blank.html"

Path: /IB OFFICIAL EE EXEMPLARS/Inspiring Extended Essays/lms/blankhtml
File size: 1.08 KB
MIME-type: text/html
Charset: utf-8

 
Open Back
<html>
	<head>
	<script>
	window.document.onkeypress = CheckForDebugCommand;

	var intQuestionCounter = 0;
	var 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;
				
				parent.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;
		}
	}		
	
	

	</script>
	</head>
	<body>
		&nbsp;
<!--
If the course does not load and is stuck on this page:
 -Click in the middle of the page
 -Press the question mark key (?) three times
 -A window should pop up containing debug information, send this information to technical support for further assistance
 -If no information appears, try again 1 or 2 more times, sometimes that just does the trick
 -->
	</body>
</html>