Team:ETH Zurich/Templates/HeaderNew

From 2011.igem.org

(Difference between revisions)
 
(30 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/JQueryHashchange?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 type="text/javascript" src="https://2011.igem.org/Team:ETH_Zurich/Templates/HeaderNew/SearchJS?action=raw&ctype=text/javascript"></script>
+
</script>
 +
<script type="text/javascript">
 +
$('head').append('<meta content="IE=edge" http-equiv="X-UA-Compatible">');
 +
</script>
 +
 
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 41: Line 46:
<!-- Nav Box -->
<!-- Nav Box -->
-
<!-- <div style="position: fixed; top: 100px; left: 20px; 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="height: 100%; height: auto !important; min-height: 100%;">
+
<div style="bottom: 0; left: 235px; overflow: auto; position: fixed; right: 0px; top: 32px;">
-
<div style="overflow: auto; padding-bottom: 240px; min-width: 1250px;" id="pageScroller">
+
<div style="margin-left: 20px; margin-right: 20px; padding-top: 20px;">
-
<div id="naviPlaceholder">&nbsp;</div>
+
-
<div style="margin-top: 68px; margin-left: 312px; margin-right: 20px;">
+
-
</html>{{{PageContent|}}}<html></p>
+
-
</div>
+
-
</div>
+
-
</div>
+
-
 
+
-
<div style="position: relative; height: 149px; margin-top: -200px; margin-left: 312px; margin-right: 20px; text-align: center; clear: both; min-width: 886px;" class="boxWrap">
+
-
</html>{{:Team:ETH_Zurich/Templates/HeaderNew/Footer}}<html>
+
-
</div>
+
-
<div class="visualClear">&nbsp;</div>
+
-
<script>
+
-
        if (location.hash.length > 1)
+
-
$('#bodyContent').scrollTop($('#bodyContent').scrollTop() - 100);
+
-
</script>
+
-
<p>
+
</html>
</html>

Latest revision as of 19:54, 28 October 2011

Can you feel the smoke tonight?