Template:Team:KIT-Kyoto/mobile
From 2014.igem.org
(Difference between revisions)
Line 41: | Line 41: | ||
}); | }); | ||
- | + | $(".m_menu").hide(); | |
$(".button-toggle").on("click", function() { | $(".button-toggle").on("click", function() { | ||
$(".m_menu").slideToggle(); | $(".m_menu").slideToggle(); | ||
Line 58: | Line 58: | ||
}else { | }else { | ||
ac.slideUp(); | ac.slideUp(); | ||
- | } | + | } |
- | }); | + | }); |
}); | }); | ||
</script> | </script> | ||
Line 155: | Line 155: | ||
background: #333; | background: #333; | ||
} | } | ||
- | + | ||
- | + | ||
- | + | ||
@media screen and (max-width: 568px) { | @media screen and (max-width: 568px) { | ||
div#mobilemenu{ | div#mobilemenu{ |
Revision as of 15:26, 3 October 2014