Template:Queens Canada/Header
From 2012.igem.org
(Difference between revisions)
Line 151: | Line 151: | ||
{ | { | ||
} | } | ||
- | #top-section { height: 20px; margin-left: | + | #top-section { height: 20px; margin-left: -487.5px; margin-bottom: 5; !important; |
border: none; font-size: 12px; background-color:#9999ff; | border: none; font-size: 12px; background-color:#9999ff; | ||
-webkit-border-radius: 10px; | -webkit-border-radius: 10px; | ||
Line 163: | Line 163: | ||
padding-top: 5px; | padding-top: 5px; | ||
padding-bottom: 5px; | padding-bottom: 5px; | ||
- | } | + | display:none; |
+ | position:fixed; | ||
+ | top:0px; | ||
+ | left:50%; | ||
+ | z-index:99;} | ||
#p-logo { height:0px; overflow:hidden; display: none;} | #p-logo { height:0px; overflow:hidden; display: none;} | ||
Line 546: | Line 550: | ||
{ | { | ||
} | } | ||
- | + | #controlbar | |
+ | { | ||
+ | left:0px; | ||
+ | width:50px; | ||
+ | height: 20px; | ||
+ | font-size: 1em; | ||
+ | position:fixed; | ||
+ | bottom:0px; | ||
+ | background-color: dodgerblue; | ||
+ | color:white; | ||
+ | text-align: center; | ||
+ | cursor:pointer; | ||
+ | } | ||
Line 617: | Line 633: | ||
}); | }); | ||
</script> | </script> | ||
+ | |||
<a href="#top-section"> | <a href="#top-section"> | ||
<div id="upbutton"> | <div id="upbutton"> | ||
Line 622: | Line 639: | ||
</div> | </div> | ||
</a> | </a> | ||
+ | <div id="controlbar"> | ||
+ | Control | ||
+ | </div> | ||
+ | <script> | ||
+ | $("#controlbar").click(function () { | ||
+ | $("#top-section").slideToggle("slow"); | ||
+ | }); | ||
+ | </script> | ||
</html> | </html> |
Revision as of 19:40, 18 June 2012
Control