summaryrefslogtreecommitdiff
path: root/javascript/developer-functions.js
blob: 244c9005410e00364ff60711cb9413f711e3d301 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
function fullscreen() {
	var a = document.getElementsByTagName("a");
	for (var i = 0; i < a.length;i++) {
		if (a[i].className.match("noeffect")) {
		}
		else {
			a[i].onclick = function () {
				window.location = this.getAttribute("href");
				return false;
			};
		}
	}
}

function hideURLbar() {
	window.scrollTo(0, 0.9);
}


window.onload = function () {
	fullscreen();
	hideURLbar();
};