aboutsummaryrefslogtreecommitdiff
path: root/web/javascript/tabbed_pages.js
diff options
context:
space:
mode:
authorzsloan2015-03-27 20:28:51 +0000
committerzsloan2015-03-27 20:28:51 +0000
commitd0911a04958a04042da02a334ccc528dae79cc17 (patch)
tree3c48e2e937c1dbeaf00a5697c87ed251afa5c8f1 /web/javascript/tabbed_pages.js
parenta840ad18e1fe3db98a359a159e9b9b72367a2839 (diff)
downloadgenenetwork2-d0911a04958a04042da02a334ccc528dae79cc17.tar.gz
Removed everything from 'web' directory except genofiles and renamed the directory to 'genotype_files'
Diffstat (limited to 'web/javascript/tabbed_pages.js')
-rwxr-xr-xweb/javascript/tabbed_pages.js32
1 files changed, 0 insertions, 32 deletions
diff --git a/web/javascript/tabbed_pages.js b/web/javascript/tabbed_pages.js
deleted file mode 100755
index a0a600f8..00000000
--- a/web/javascript/tabbed_pages.js
+++ /dev/null
@@ -1,32 +0,0 @@
-/* ================================================================
-This copyright notice must be untouched at all times.
-
-The original version of this script and the associated (x)html
-is available at http://www.stunicholls.com/various/tabbed_pages.html
-Copyright (c) 2005-2007 Stu Nicholls. All rights reserved.
-This script and the associated (x)html may be modified in any
-way to fit your requirements.
-=================================================================== */
-
-
-onload = function() {
- var e, i = 0;
- var ee = document.getElementById('gallery');
- if(ee==null){
- return;
- }
- while (e = document.getElementById('gallery').getElementsByTagName ('DIV') [i++]) {
- if (e.className == 'on' || e.className == 'off') {
- e.onclick = function () {
- var getEls = document.getElementsByTagName('DIV');
- for (var z=0; z<getEls.length; z++) {
- getEls[z].className=getEls[z].className.replace('show', 'hide');
- getEls[z].className=getEls[z].className.replace('on', 'off');
- }
- this.className = 'on';
- var max = this.getAttribute('title');
- document.getElementById(max).className = "show";
- }
- }
- }
-} \ No newline at end of file