Team:ETH Zurich/Templates/HeaderNew

From 2011.igem.org

(Difference between revisions)
 
(40 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>
-
<link rel="stylesheet" href="https://2011.igem.org/Team:ETH_Zurich/Templates/StyleSheetNew?action=raw&ctype=text/css" type="text/css" />
+
<script type="text/javascript">
<script type="text/javascript">
-
/* Mediawiki Links: Incorporate into our design on our own terms! */
+
$('head').append('<meta content="IE=edge" http-equiv="X-UA-Compatible">');
-
$(document).ready( function()
+
</script>
-
{
+
-
    $(function()
+
-
    {
+
-
$('.scrollable').scrollable({ mousewheel: true }).navigator();
+
-
if ($('#pt-logout').length)
+
-
{
+
-
$('#loginMenu').hide();
+
-
$('#editMenu').show();
+
-
+
-
$('#editLink').attr('href', $('.left-menu ul li a').get(2).href);
+
-
$('#historyLink').attr('href', $('.left-menu ul li a').get(3).href);
+
-
$('#logoutLink').attr('href', $('#pt-logout a').get(0).href);
+
-
}
+
-
else
+
-
{
+
-
$('#loginLink').attr('href', $('#pt-login a').get(0).href);
+
-
}
+
-
    });
 
-
    $('#s').focus(function() {
+
<link rel="stylesheet" href="https://2011.igem.org/Team:ETH_Zurich/Templates/StyleSheetNew?action=raw&ctype=text/css" type="text/css" />
-
        $('.searchUL').css('visibility', 'visible');
+
-
    });
+
-
    $('#submitButton').focus(function() {
+
-
        $('.searchUL').css('visibility', 'visible');
+
-
    });
+
-
 
+
-
 
+
-
    $('#s').blur(function() {
+
-
        if (!($('.searchUL').is(":hover") || $('#submitButton').is(":focus")))
+
-
        $('.searchUL').css('visibility', 'hidden');
+
-
    });
+
-
 
+
-
    $('#submitButton').blur(function() {
+
-
        if (!($('.searchUL').is(":hover") || $('#s').is(":focus")))
+
-
        $('.searchUL').css('visibility', 'hidden');
+
-
    });
+
-
 
+
-
    $('.searchUL').mouseenter(function() {
+
-
        $('.searchUL').css('visibility', 'visible');
+
-
    });
+
-
 
+
-
 
+
-
    $('.searchUL').mouseleave(function() {
+
-
        if (!($('#s').is(":focus") || $('#submitButton').is(":focus")))
+
-
        $('.searchUL').css('visibility', 'hidden');
+
-
    });
+
-
 
+
-
});
+
-
</script>
+
-
 
+
<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 74: 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 84: 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;">
+
<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;">
+
-
<div style="margin: 0px; padding: 15px;" class="boxWrap">
+
-
</html>
+
-
{{:Team:ETH Zurich/Templates/SlideShow|Items=<html>
+
-
<div><img src="/wiki/images/2/2e/ETHZ_FRONT_Slide_1.png" /></div>
+
-
<div><img src="/wiki/images/d/d6/ETHZ_FRONT_Slide_2.png" /></div>
+
-
<div><img src="/wiki/images/4/46/ETHZ_FRONT_Slide_3.png" /></div>
+
-
<div><img src="/wiki/images/d/d9/ETHZ_FRONT_Slide_4.png" /></div>
+
-
<div><img src="/wiki/images/1/1d/ETHZ_FRONT_Slide_5.png" /></div>
+
-
<div><img src="/wiki/images/0/06/ETHZ_FRONT_Slide_6.png" /></div>
+
-
<div><img src="/wiki/images/e/ed/ETHZ_FRONT_Slide_7.png" /></div>
+
-
</html> }}
+
-
<html>
+
-
 
+
-
<p></html>__NOTOC__
+
-
asdf
+
-
 
+
-
<html></p>
+
-
</div>
+
-
 
+
-
</html>
+
-
{{:Team:ETH Zurich/Templates/SectionStart|SectionName=Testsection|SectionType==}}
+
-
asdf
+
-
asdf
+
-
asd
+
-
 
+
-
asdfa
+
-
{{:Team:ETH Zurich/Templates/SectionEnd|hidden=0}}
+
-
 
+
-
 
+
-
<html></p>
+
-
 
+
-
</div>
+
-
</div>
+
-
</div>
+
-
 
+
-
<div style="position: relative; height: 149px; margin-top: -200px; margin-left: 312px; margin-right: 20px; padding: 15px; text-align: center; clear: both; min-width: 886px;" class="boxWrap">
+
-
</html>{{:Team:ETH_Zurich/Templates/HeaderNew/Footer}}<html>
+
-
</div>
+
-
<div class="visualClear">&nbsp;</div>
+
-
<p>
+
</html>
</html>

Latest revision as of 19:54, 28 October 2011

Can you feel the smoke tonight?