Difference between revisions of "Template:Wageningen UR/header"

Line 135: Line 135:
 
.mobilemenu a:hover{text-decoration:none; color:white;}
 
.mobilemenu a:hover{text-decoration:none; color:white;}
 
</style>
 
</style>
<script type="text/javascript">
 
$( ".cross" ).hide();
 
$( ".menu" ).hide();
 
$( ".hamburger" ).click(function() {
 
$( ".mobilemenu" ).slideToggle( "slow", function() {
 
$( ".hamburger" ).hide();
 
$( ".cross" ).show();
 
});
 
});
 
  
$( ".cross" ).click(function() {
 
$( ".mobilemenu" ).slideToggle( "slow", function() {
 
$( ".cross" ).hide();
 
$( ".hamburger" ).show();
 
});
 
});
 
</script>
 
 
<style>
 
<style>
 
@media only screen and (min-width: 1000px) {
 
@media only screen and (min-width: 1000px) {
Line 184: Line 168:
 
                         <a href="https://2016.igem.org/Team:Wageningen_UR/team/members"><li>Team</li></a>
 
                         <a href="https://2016.igem.org/Team:Wageningen_UR/team/members"><li>Team</li></a>
 
                         <a href="https://2016.igem.org/Team:Wageningen_UR/Notebook"><li>Notebook</li></a>
 
                         <a href="https://2016.igem.org/Team:Wageningen_UR/Notebook"><li>Notebook</li></a>
                         </ul>
+
                         </ul><script type="text/javascript">
 +
$( ".cross" ).hide();
 +
$( ".menu" ).hide();
 +
$( ".hamburger" ).click(function() {
 +
$( ".mobilemenu" ).slideToggle( "slow", function() {
 +
$( ".hamburger" ).hide();
 +
$( ".cross" ).show();
 +
});
 +
});
 +
 
 +
$( ".cross" ).click(function() {
 +
$( ".mobilemenu" ).slideToggle( "slow", function() {
 +
$( ".cross" ).hide();
 +
$( ".hamburger" ).show();
 +
});
 +
});
 +
</script>
  
 
</div>
 
</div>

Revision as of 14:16, 17 October 2016

Wageningen UR iGEM 2016