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 | + | border:1px grey solid; |
border-bottom:none; | border-bottom:none; | ||
- | padding: | + | 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 | + | if(re[1]=="") |
{ | { | ||
- | |||
var subnav = document.getElementById('breadcrumbs'); | var subnav = document.getElementById('breadcrumbs'); | ||
- | subnav.style=" | + | //subnav.style.display="none"; |
+ | return; | ||
} | } | ||
result=re[1].split("\/"); | result=re[1].split("\/"); |
Latest revision as of 10:33, 18 October 2010