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

Line 157: Line 157:
 
$( ".menu" ).hide();
 
$( ".menu" ).hide();
 
$( ".hamburger" ).click(function() {
 
$( ".hamburger" ).click(function() {
$( ".menu" ).slideToggle( "slow", function() {
+
$( ".mobilemenu" ).slideToggle( "slow", function() {
 
$( ".hamburger" ).hide();
 
$( ".hamburger" ).hide();
 
$( ".cross" ).show();
 
$( ".cross" ).show();
Line 164: Line 164:
  
 
$( ".cross" ).click(function() {
 
$( ".cross" ).click(function() {
$( ".menu" ).slideToggle( "slow", function() {
+
$( ".mobilemenu" ).slideToggle( "slow", function() {
 
$( ".cross" ).hide();
 
$( ".cross" ).hide();
 
$( ".hamburger" ).show();
 
$( ".hamburger" ).show();

Revision as of 13:49, 17 October 2016

Wageningen UR iGEM 2016