Team:UCLondon/Templates/Navigation
From 2012e.igem.org
(Difference between revisions)
Line 118: | Line 118: | ||
.icons li:hover > .hidden-menu { display: block; } | .icons li:hover > .hidden-menu { display: block; } | ||
.hidden-menu a { text-decoration: none; } | .hidden-menu a { text-decoration: none; } | ||
- | .hidden-menu li:not(a) { display: none; } | + | //.hidden-menu li:not(a) { display: none; } |
.hidden-menu li { padding: 0 !important; padding-left:0 !important; padding-right:0; width: 100px; text-align:left; } | .hidden-menu li { padding: 0 !important; padding-left:0 !important; padding-right:0; width: 100px; text-align:left; } | ||
Line 164: | Line 164: | ||
<script type="text/javascript"> | <script type="text/javascript"> | ||
$("#action").html($(".left-menu > ul:has(a)").html() + $(".right-menu > ul:has(a)").html() ); | $("#action").html($(".left-menu > ul:has(a)").html() + $(".right-menu > ul:has(a)").html() ); | ||
+ | $(".hidden-menu li:not(a)").css("display: none;"); | ||
</script> | </script> | ||
</html> | </html> |
Revision as of 19:27, 12 September 2012