Commit 62eb03b0 authored by Leigh B. Stoller's avatar Leigh B. Stoller

Some small fixes to template display, which uses the tooltips and had

a Z index that was causing the dropdown menus to be hidden. Also some
updates for the navbar.
parent 38fd5eb5
......@@ -23,6 +23,8 @@
background:#111;
color: #FFF;
font:normal 16px arial,Helvetica,sans-serif;
/* So that menus are higher then the tooltips from js/wz_tooltip.js */
z-index: 1030;
}
.menu img, img.droparrow {
......
......@@ -395,6 +395,11 @@ echo "<script type='text/javascript' language='javascript'>
visarea.innerHTML = html;
}
}
function Setup() {
li = getObjbyName(li_current);
li.style.backgroundColor = 'white';
li.style.borderBottom = '1px solid white';
}
function ShowVisInit() {
ADD_DHTML(\"myvisdiv\");
}
......@@ -455,20 +460,22 @@ echo "<div width=\"100%\" align=center>\n";
echo "<ul id=\"topnavbar\">\n";
echo "<li>
<a href=\"#A\" " .
($show == "vis" ? "style=\"background-color:white\"" : " ") .
"class=topnavbar onfocus=\"this.hideFocus=true;\" ".
"id=\"li_vis\" onclick=\"Show('vis');\">".
"Topology</a></li>\n";
echo "<li>
<a href=\"#B\" " .
($show == "nsfile" ? "style=\"background-color:white\"" : " ") .
"class=topnavbar onfocus=\"this.hideFocus=true;\" ".
"id=\"li_nsfile\" onclick=\"Show('nsfile');\">".
"NS File</a></li>\n";
echo "<li>
<a href=\"#C\" " .
($show == "graph" ? "style=\"background-color:white\"" : " ") .
"class=topnavbar onfocus=\"this.hideFocus=true;\" ".
"id=\"li_graph\" onclick=\"Show('graph');\">".
"History</a></li>\n";
echo "</ul>\n";
echo "</div>\n";
echo "<div align=center id=topnavbarbottom>&nbsp</div>\n";
#
# Start out with ...
......@@ -476,7 +483,6 @@ echo "</ul>\n";
echo "<div align=center width=\"100%\" id=\"showexp_visarea\">\n";
echo $init_show;
echo "</div>\n";
echo "</div>\n";
SUBPAGEEND();
......@@ -519,6 +525,13 @@ echo "</tr>\n";
echo "</table>\n";
echo "</center>\n";
#
# Get the active tab to look right.
#
echo "<script type='text/javascript' language='javascript'>
Setup();
</script>\n";
#
# Standard Testbed Footer
#
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment