From 5cf654e0f2859c2d2a48be749fe34257615779fe Mon Sep 17 00:00:00 2001 From: Alib Date: Mon, 22 Feb 2010 17:28:09 +0100 Subject: moved all javascript functions to function.js --- edit_timer.html | 102 ------------------------------- javascript/developer-functions.js | 24 -------- javascript/functions.js | 125 +++++++++++++++++++++++++++++++++++++- new_timer.html | 101 ------------------------------ 4 files changed, 124 insertions(+), 228 deletions(-) delete mode 100755 javascript/developer-functions.js diff --git a/edit_timer.html b/edit_timer.html index 7a8efe6..c901128 100755 --- a/edit_timer.html +++ b/edit_timer.html @@ -17,108 +17,6 @@ Title of your page - diff --git a/javascript/developer-functions.js b/javascript/developer-functions.js deleted file mode 100755 index 244c900..0000000 --- a/javascript/developer-functions.js +++ /dev/null @@ -1,24 +0,0 @@ -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(); -}; - diff --git a/javascript/functions.js b/javascript/functions.js index 65d0f2f..fc9e082 100755 --- a/javascript/functions.js +++ b/javascript/functions.js @@ -1 +1,124 @@ -function fullscreen(){var a=document.getElementsByTagName("a");for(var i=0;iTitle of your page - -- cgit v1.2.3