Team:ETH Zurich/Templates/HeaderNew

From 2011.igem.org

(Difference between revisions)
 
(14 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>
 +
 
-
<meta http-equiv="X-UA-Compatible" content="IE=edge" >
 
<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 31: Line 35:
<!-- Dropdown Menu -->
<!-- Dropdown Menu -->
-
<div id="naviBox" class="stickToTop">
+
<div class="stickToTop" id="naviBox" style="text-align:center; line-height: 0px; font-size: 0px; z-index: 500;">
-
<div style="float: left; position: relative; left: 50%;">
+
<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 42: Line 47:
<!-- Nav Box -->
<!-- Nav Box -->
<!-- <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: 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: 37px; left: 20px; padding: 15px; width:220px;">  
+
<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="bottom: 0; left: 275px; overflow: auto; position: fixed; right: 0px; top: 32px;">
+
<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="margin-left: 20px; margin-right: 20px; padding-top: 20px;">
</html>
</html>

Latest revision as of 19:54, 28 October 2011

Can you feel the smoke tonight?