Template:UCSF/subnav/Hello/BBB/AAA
From 2010.igem.org
(Difference between revisions)
(9 intermediate revisions not shown) | |||
Line 1: | Line 1: | ||
<html> | <html> | ||
<style> | <style> | ||
- | + | #breadcrumbs ul{margin:0;padding:0;} | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
#sub-navigation { | #sub-navigation { | ||
margin: 0; | margin: 0; | ||
Line 15: | Line 8: | ||
height:20px; | height:20px; | ||
width:auto; | width:auto; | ||
- | border | + | border:1px black solid; |
- | + | ||
padding: 1px; | padding: 1px; | ||
} | } | ||
#breadcrumbs li { | #breadcrumbs li { | ||
+ | list-style:none; | ||
+ | margin:0px; | ||
+ | padding:0px; | ||
+ | font:11px arial,helvetica,clean,sans-serif; | ||
padding: 0; | padding: 0; | ||
float: left; | float: left; | ||
Line 102: | Line 98: | ||
<script> | <script> | ||
- | |||
- | |||
- | |||
function getLadder(){ | function getLadder(){ | ||
var PageURL = document.URL; | var PageURL = document.URL; | ||
- | var reg = /http:\/\/2010\.igem\.org\/ | + | var reg = /http:\/\/2010\.igem\.org\/Team:UCSF(.*)/; |
var re = reg.exec(PageURL); | var re = reg.exec(PageURL); | ||
var result; | var result; | ||
result=re[1].split("\/"); | result=re[1].split("\/"); | ||
- | |||
var subnav=document.getElementById('sub-navigation'); | var subnav=document.getElementById('sub-navigation'); | ||
for (var i=1;i<result.length;i++){ | for (var i=1;i<result.length;i++){ | ||
Line 126: | Line 118: | ||
} | } | ||
} | } | ||
- | |||
</script> | </script> | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
</html> | </html> |
Latest revision as of 03:34, 10 October 2010