From 5e088568864cf8ed1f5827ba470b118dc47914b5 Mon Sep 17 00:00:00 2001 From: Emil Ivov Date: Fri, 19 Oct 2007 06:59:53 +0000 Subject: [PATCH] trying to remove navigation bars --- www/project_tools.html | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/www/project_tools.html b/www/project_tools.html index ddcb1118d..0887bec95 100644 --- a/www/project_tools.html +++ b/www/project_tools.html @@ -22,6 +22,23 @@ for( n=dd; n!=null; n=n.previousSibling ) { } } +// insert the zone list into the navigation bar +var projecttools = document.getElementById("projecttools"); +projecttools.innerHTML = html.join(''); + +// insert the menubar +var curZone = document.getElementById("current-zone"); +if(curZone!=null) +projecttools.insertBefore(menubar, curZone.nextSibling); +else +projecttools.appendChild(menubar); // TODO: will come back to this later + +// kill all the boxes in front of the projecttools +while(projecttools.previousSibling!=null) { + projecttools.parentNode.removeChild(projecttools.previousSibling); +} + + // This is all you can do because the "Search" and "How do I" // boxes aren't created