Template:Team:Groningen/Header

From 2010.igem.org

(Difference between revisions)
 
(186 intermediate revisions not shown)
Line 1: Line 1:
<html>
<html>
-
<head>
+
<!-- All scripting and markup for the wiki by iGEM Groningen is under MIT licence:
-
<style type="text/css">
+
 
-
h2 { color:#1aace6; font-family: 'Ariel Rounded MT Bold', sans-serif;}
+
Copyright (c) 2010 Joël Kuiper and iGEM Groningen
-
.clear {clear:both;}
+
 
-
body.mediawiki {
+
Permission is hereby granted, free of charge, to any person obtaining a copy
-
background-color:#FFFFFF;
+
of this software and associated documentation files (the "Software"), to deal
-
background-position: center center;
+
in the Software without restriction, including without limitation the rights
-
background-attachment: fixed;
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-
background-repeat: no-repeat;
+
copies of the Software, and to permit persons to whom the Software is
-
font-family: Calibri, Verdana, helvetica, sans-serif;
+
furnished to do so, subject to the following conditions:
-
}
+
 
-
groningenmenu
+
The above copyright notice and this permission notice shall be included in
-
{
+
all copies or substantial portions of the Software.
-
  width:100%;
+
 
-
  background-color:#c0d8d6;
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 +
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 +
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 +
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 +
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 +
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 +
THE SOFTWARE.
 +
 
 +
-->
 +
 
 +
<link rel="stylesheet" type="text/css" href="https://2010.igem.org/Team:Groningen/files/overall.css?action=raw&amp;ctype=text/css">
 +
 
 +
<link rel="stylesheet" type="text/css" href="https://2010.igem.org/Team:Groningen/files/slider.css?action=raw&amp;ctype=text/css">
 +
 
 +
<script type="text/javascript" src="https://2010.igem.org/Team:Groningen/files/address.js?action=raw&amp;ctype=text/javascript&crawling=1"></script>
 +
<script type="text/javascript" src="https://2010.igem.org/Team:Groningen/files/tweet.js?action=raw&amp;ctype=text/javascript"></script>
 +
 
 +
 
 +
<script type="text/javascript">
 +
function ucfirst(str) {
 +
var firstLetter = str.substr(0, 1);
 +
return firstLetter.toUpperCase() + str.substr(1);
}
}
-
ul#groningenmenu
 
-
{
 
-
float:left;
 
-
width:100%;
 
-
padding:0;
 
-
margin:0;
 
-
list-style-type:none;
 
-
}
 
-
ul#groningenmenu a
 
-
{
 
-
float:left;
 
-
width:15em;
 
-
text-decoration:none;
 
-
color:white;
 
-
background-color:#c0d8d6;
 
-
padding:0.2em 0.6em;
 
-
border-right:1px solid white;
 
-
}
 
-
ul#groningenmenu a:hover {background-color:#1accff;}
 
-
li {display:inline;}
 
-
</style>
 
-
</head>
 
-
<body>
+
$(document).ready(function() {
-
<table rowspacing="0" cellspacing="0" border=0>
+
$("#contentWrapper").css('height', $("#otherContent").outerHeight() + "px");
-
<tr><td colspan=3 width="100%">
+
$("ul#topnav li").hover(function() {
-
  <img src="https://static.igem.org/mediawiki/2010/3/3d/RUG_HDR.JPG" width="970px">
+
$(this).css({ 'background' : '#1376c9 url(https://static.igem.org/mediawiki/2010/2/29/Groningen_topnav_active.gif) repeat-x'});
-
</td></tr>
+
$(this).find("span").show();
-
<tr><td colspan=3 width="100%" class=groningenmenu">
+
} , function() {
-
<ul id="groningenmenu">
+
$(this).css({ 'background' : 'none'}); //on hover out...
-
<li><a href="https://2010.igem.org/Team:Groningen">Home</a></li>
+
$(this).find("span").hide();
-
<li><a href="https://2010.igem.org/Team:Groningen/Project">The Project</a></li>
+
});
-
<li><a href="https://2010.igem.org/Team:Groningen/Team">Team</a></li>
+
 
-
<li><a href="https://2010.igem.org/Team:Groningen/Calender">Calender</a></li>
+
});
 +
 
 +
$.address.change(function (event) {
 +
 
 +
var page = event.path.substring(1);
 +
if(page == "") { page = 'home'; }
 +
 
 +
$(".ajaxWrapper").html("");
 +
var url = wgServer + "/Team:Groningen/" + ucfirst(page) + "?action=render";
 +
$.get(url, function(data) {
 +
$(".ajaxWrapper").html(data);
 +
$("#contentWrapper").css('height', $("#otherContent").outerHeight() + "px");
 +
});
 +
});
 +
</script>
 +
 
 +
<div id="overallMask">
 +
<div id="headerWrapper">
 +
<a href="https://2010.igem.org/Main_Page"><img src="https://static.igem.org/mediawiki/2010/f/f6/LogoGroningen.png" alt="iGEM Groningen 2010" title="Back to iGEM Main Page"></a>
 +
<p style="float: right; margin-right: 30px">
 +
Hydrophobofilm<br>
 +
<span style="margin-left: 2em">pushing coatings into a greener future</span>
 +
</p>
 +
</div>
 +
<div id="contentWrapper">
 +
<div class='tabbed_content'>
 +
<div id="tab_nav">
 +
    <ul id="topnav">
 +
        <li><a href="https://2010.igem.org/Team:Groningen#/home">Home</a></li>
 +
        <li>
 +
 
 +
            <a href="https://2010.igem.org/Team:Groningen#/project">Project</a>
 +
            <span>
 +
                <a href="https://2010.igem.org/Team:Groningen#/project">Overview</a> |
 +
                <a href="https://2010.igem.org/Team:Groningen#/biofilm">Biofilm</a> |
 +
                <a href="https://2010.igem.org/Team:Groningen#/hydrophobins">Chaplins</a> |
 +
                <a href="https://2010.igem.org/Team:Groningen#/expression">Expression</a> |
 +
                <a href="https://2010.igem.org/Team:Groningen#/applications">Applications</a> |
 +
                <a href="https://2010.igem.org/Team:Groningen#/biobricks">Biobricks</a>
 +
            </span>
 +
        </li>
 +
        <li>
 +
            <a href="https://2010.igem.org/Team:Groningen#/modeling">Modeling</a>
 +
            <span>
 +
                <a href="https://2010.igem.org/Team:Groningen#/modeling">Overview</a> |
 +
                <a href="https://2010.igem.org/Team:Groningen#/biofilm_model">Biofilm dynamics</a> |
 +
                <a href="https://2010.igem.org/Team:Groningen#/expression_model">Expression</a> |
 +
                <a href="https://2010.igem.org/Team:Groningen#/killswitch_model">Kill Switch</a> |
 +
                <a href="https://2010.igem.org/Team:Groningen#/info_standard">Information standard</a>
 +
            </span>
 +
        </li>
 +
        <li>
 +
            <a href="https://2010.igem.org/Team:Groningen#/human">Human Practices</a>
 +
            <span>
 +
                <a href="https://2010.igem.org/Team:Groningen#/human">Overview</a> |
 +
                <a href="https://2010.igem.org/Team:Groningen#/practices">Education</a> |
 +
                <a href="https://2010.igem.org/Team:Groningen#/safety">Safety</a> |
 +
                <a href="https://2010.igem.org/Team:Groningen#/survey">Survey</a> |
 +
                <a href="https://2010.igem.org/Team:Groningen#/ethics">Ethics</a> |
 +
                <a href="https://2010.igem.org/Team:Groningen#/for_the_parents"> For Parents </a>
 +
            </span>
 +
 
 +
        </li>
 +
        <li><a href="https://2010.igem.org/Team:Groningen#/organization">Organization</a>
 +
            <span>
 +
                <a href="https://2010.igem.org/Team:Groningen#/organization">Overview</a> |
 +
                <a href="https://2010.igem.org/Team:Groningen#/brainstorm">Brainstorm</a> |
 +
                <a href="https://2010.igem.org/Team:Groningen#/flowchart">Flow Chart</a> |
 +
                <a href="https://2010.igem.org/Team:Groningen#/protocols">Protocols</a> |
 +
                <a href="https://2010.igem.org/Team:Groningen#/notebook">Notebook</a>
 +
            </span> 
 +
        </li>
 +
        <li><a href="https://2010.igem.org/Team:Groningen#/team">Team</a>
 +
            <span>
 +
                <a href="https://2010.igem.org/Team:Groningen#/team">Overview</a> |
 +
                <a href="https://2010.igem.org/Team:Groningen#/members">Members</a> |
 +
                <a href="https://2010.igem.org/Team:Groningen#/collaboration">Collaboration</a> |
 +
                <a href="https://2010.igem.org/Team:Groningen#/images">Image of Science</a> |
 +
                <a href="https://2010.igem.org/Team:Groningen#/contact">Contact</a>
 +
            </span>
 +
        </li>
 +
        <li><a href="https://2010.igem.org/Team:Groningen#/judging">Judging</a>
 +
        </li>
-
</ul>
+
    </ul>
-
</td></tr>
+
</div>
-
<tr><td width="100%">
+
<div id="otherContent">
-
</html>
+

Latest revision as of 22:54, 27 October 2010