Template:UCSF/subnav

From 2010.igem.org

(Difference between revisions)
 
(6 intermediate revisions not shown)
Line 8: Line 8:
height:20px;
height:20px;
width:auto;
width:auto;
-
border:1px #ede8e2 solid;
+
border:1px grey solid;
border-bottom:none;
border-bottom:none;
-
padding: 1px;
+
padding: 0px;
}
}
#breadcrumbs li {
#breadcrumbs li {
Line 104: Line 104:
var re =  reg.exec(PageURL);
var re =  reg.exec(PageURL);
var  result;
var  result;
-
if(re.length==1)
+
if(re[1]=="")
{
{
-
alert(1);
 
var subnav = document.getElementById('breadcrumbs');
var subnav = document.getElementById('breadcrumbs');
-
subnav.style="display:none;";
+
//subnav.style.display="none";
 +
return;
}
}
result=re[1].split("\/");
result=re[1].split("\/");

Latest revision as of 10:33, 18 October 2010