Team:Peking/Texttest2
From 2010.igem.org
(Difference between revisions)
(New page: <html> <head> <style type="text/css"> <!-- ul#menu { width: 200px; list-style: none; border-top: solid 5px #D8D8D8; margin: 0px0px0px; padding: 0; position: relative; float: ...) |
|||
Line 3: | Line 3: | ||
<style type="text/css"> | <style type="text/css"> | ||
<!-- | <!-- | ||
- | ul# | + | ul#menuu { |
width: 200px; | width: 200px; | ||
list-style: none; | list-style: none; | ||
Line 13: | Line 13: | ||
} | } | ||
- | ul# | + | ul#menuu ol { |
display: none; | display: none; | ||
text-align: center; | text-align: center; | ||
Line 21: | Line 21: | ||
} | } | ||
- | ul# | + | ul#menuu li, |
ul#menu a { | ul#menu a { | ||
font-family: "Comic Sans MS", Arial, Sans-serif; | font-family: "Comic Sans MS", Arial, Sans-serif; | ||
Line 29: | Line 29: | ||
} | } | ||
- | ul# | + | ul#menuu li { |
border-bottom: solid 20px #D8D8D8; | border-bottom: solid 20px #D8D8D8; | ||
line-height: 35px; | line-height: 35px; | ||
} | } | ||
- | ul# | + | ul#menuu ol li { |
border-bottom: none; | border-bottom: none; | ||
} | } | ||
- | ul# | + | ul#menuu ol li:before { |
content: ""; | content: ""; | ||
} | } | ||
- | ul# | + | ul#menuu a { |
display: block; | display: block; | ||
width: 200px; | width: 200px; | ||
Line 55: | Line 55: | ||
} | } | ||
- | ul# | + | ul#menuu a:hover { |
display: block; | display: block; | ||
width: 200px; | width: 200px; | ||
Line 66: | Line 66: | ||
} | } | ||
- | ul# | + | ul#menuu a.active { |
display: block; | display: block; | ||
margin: 0; | margin: 0; | ||
Line 167: | Line 167: | ||
function initMenu(){ | function initMenu(){ | ||
var menus, menu, text, a, i; | var menus, menu, text, a, i; | ||
- | menus = getChildrenByElement(document.getElementById(" | + | menus = getChildrenByElement(document.getElementById("menuu")); |
for(i = 0; i < menus.length; i++){ | for(i = 0; i < menus.length; i++){ | ||
Line 200: | Line 200: | ||
<table align=left cellspacing=0 cellpadding=0> | <table align=left cellspacing=0 cellpadding=0> | ||
<tr><td> | <tr><td> | ||
- | <ul id=" | + | <ul id="menuu"> |
<li> Biosensor | <li> Biosensor | ||
<ol> | <ol> | ||
Line 246: | Line 246: | ||
</html> | </html> | ||
- | |||
- | |||
- |
Latest revision as of 16:06, 29 September 2010