Team:ETH Zurich/Templates/HeaderNew

From 2011.igem.org

(Difference between revisions)
 
(22 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>
 +
 
Line 30: 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 40: Line 46:
<!-- Nav Box -->
<!-- Nav Box -->
-
<!-- <div style="position: fixed; top: 100px; 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: 100px; left: 20px; padding: 15px;">  
+
<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: 250px; 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; position: relative; min-height:100%">
+
<div style="margin-left: 20px; margin-right: 20px; padding-top: 20px;">
-
</html>{{{PageContent|}}}<html></p>
+
-
 
+
-
<div style="position: relative; height: 149px; text-align: center; clear: both; margin: 20px 0px 20px 0px;" class="boxWrap">
+
-
</html>{{:Team:ETH_Zurich/Templates/HeaderNew/Footer}}<html>
+
-
</div>
+
-
</div>
+
-
</div>
+
-
 
+
-
<div class="visualClear">&nbsp;</div>
+
-
 
+
-
<p>
+
</html>
</html>

Latest revision as of 19:54, 28 October 2011

Can you feel the smoke tonight?