Sha256: f1695638c96403f05afc0d852e9aa61e995eec856278ae426c0d33d92d697969

Contents?: true

Size: 1.26 KB

Versions: 8

Compression:

Stored size: 1.26 KB

Contents

startList = function() {
	if (document.all&&document.getElementById) {
		navRoot = document.getElementById("navlist");
		for (i=0; i<navRoot.childNodes.length; i++) {
			node = navRoot.childNodes[i];
			if (node.nodeName=="LI") {
				node.onmouseover=function() {
					this.className+=" over";
				}
				node.onmouseout=function() {
					this.className=this.className.replace(" over", "");
				}
			}
		}
	}
}
window.onload=startList;


var cX = 0; var cY = 0;
function UpdateCursorPosition(e){ cX = e.pageX; cY = e.pageY;}
function UpdateCursorPositionDocAll(e){ cX = event.clientX; cY = event.clientY;}
if(document.all) { document.onmousemove = UpdateCursorPositionDocAll; }
else { document.onmousemove = UpdateCursorPosition; }
function AssignPosition(d) {
d.style.left = (cX+10) + "px";
d.style.top = (cY+10) + "px";
}
function HideContent(d) {
if(d.length < 1) { return; }
document.getElementById(d).style.display = "none";
}
function ShowContent(d) {
if(d.length < 1) { return; }
var dd = document.getElementById(d);
AssignPosition(dd);
dd.style.display = "block";
}
function ReverseContentDisplay(d) {
if(d.length < 1) { return; }
var dd = document.getElementById(d);
AssignPosition(dd);
if(dd.style.display == "none") { dd.style.display = "block"; }
else { dd.style.display = "none"; }
}

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
head_start-0.1.7 vendor/assets/javascripts/scorpion/webglobal.js
head_start-0.1.6 vendor/assets/javascripts/scorpion/webglobal.js
head_start-0.1.5 vendor/assets/javascripts/scorpion/webglobal.js
head_start-0.1.4 vendor/assets/javascripts/scorpion/webglobal.js
head_start-0.1.3 vendor/assets/javascripts/scorpion/webglobal.js
head_start-0.1.2 vendor/assets/javascripts/scorpion/webglobal.js
head_start-0.1.1 vendor/assets/javascripts/scorpion/webglobal.js
head_start-0.1.0 vendor/assets/javascripts/scorpion/webglobal.js