Team:ETH Zurich/Templates/HeaderNew
From 2011.igem.org
(Difference between revisions)
(37 intermediate revisions not shown) | |||
Line 4: | Line 4: | ||
<script type="text/javascript" src="/wiki/images/c/c4/Jquery.swfobject.1-1-1.min.txt"></script> | <script type="text/javascript" src="/wiki/images/c/c4/Jquery.swfobject.1-1-1.min.txt"></script> | ||
<script type="text/javascript" src="http://cdn.jquerytools.org/1.2.6/all/jquery.tools.min.js"></script> | <script type="text/javascript" src="http://cdn.jquerytools.org/1.2.6/all/jquery.tools.min.js"></script> | ||
- | <script type="text/javascript" src="https://2011.igem.org/Team:ETH_Zurich/Templates/HeaderNew/SearchJS?action=raw&ctype=text/javascript"></script> | + | <script type="text/javascript" src="https://2011.igem.org/Team:ETH_Zurich/Templates/HeaderNew/SearchJS?action=raw&ctype=text/javascript"> |
+ | </script> | ||
+ | <script type="text/javascript"> | ||
+ | $('head').append('<meta content="IE=edge" http-equiv="X-UA-Compatible">'); | ||
+ | </script> | ||
+ | |||
+ | |||
<link rel="stylesheet" href="https://2011.igem.org/Team:ETH_Zurich/Templates/StyleSheetNew?action=raw&ctype=text/css" type="text/css" /> | <link rel="stylesheet" href="https://2011.igem.org/Team:ETH_Zurich/Templates/StyleSheetNew?action=raw&ctype=text/css" type="text/css" /> | ||
Line 10: | Line 16: | ||
<style type="text/css"> | <style type="text/css"> | ||
</html> {{{css|}}} <html> | </html> {{{css|}}} <html> | ||
+ | |||
+ | .toc | ||
+ | { | ||
+ | width: 100%; | ||
+ | padding: 10px; | ||
+ | } | ||
+ | .toc .tocnumber | ||
+ | { | ||
+ | display: none; | ||
+ | } | ||
</style> | </style> | ||
Line 19: | Line 35: | ||
<!-- Dropdown Menu --> | <!-- Dropdown Menu --> | ||
- | <div id="naviBox" | + | <div class="stickToTop" id="naviBox" style="text-align:center; line-height: 0px; font-size: 0px; z-index: 500;"> |
- | <div style=" | + | <div style="width:210px; display: inline-block; position: relative; height:0px;"></div> |
- | <div id="naviMenu" style=""> | + | <div style="position: relative; margin: 0 auto; display:inline-block; left: 0px; right: 0px;"> |
+ | <div align="center" id="naviMenu" style="left: 0px; right: 0px; margin: 0pt auto; text-align: left;"> | ||
</html>{{:Team:ETH_Zurich/Templates/HeaderNew/MenuItems}}<html> | </html>{{:Team:ETH_Zurich/Templates/HeaderNew/MenuItems}}<html> | ||
</div> | </div> | ||
Line 29: | Line 46: | ||
<!-- Nav Box --> | <!-- Nav Box --> | ||
- | <!-- <div style="position: fixed; top: | + | <!-- <div style="position: fixed; top: 37px; left: 10px; border-radius: 15px; padding: 15px; border: #172322 1px solid; background-color: white; box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); /* Safari/Chrome */"> --> |
- | <div style="position: fixed; top: | + | <div style="position: fixed; top: 37px; left: 0px; padding: 15px; width:220px; bottom: 0px; z-index: 600; overflow: auto;"> |
</html>{{:Team:ETH_Zurich/Templates/HeaderNew/SideBar}}<html> | </html>{{:Team:ETH_Zurich/Templates/HeaderNew/SideBar}}<html> | ||
</div> | </div> | ||
<!-- Page --> | <!-- Page --> | ||
- | <div style=" | + | <div style="bottom: 0; left: 235px; overflow: auto; position: fixed; right: 0px; top: 32px;"> |
- | + | <div style="margin-left: 20px; margin-right: 20px; padding-top: 20px;"> | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | <div style=" | + | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
</html> | </html> |