Template:Team:KIT-Kyoto/mobile
From 2014.igem.org
(Difference between revisions)
Line 32: | Line 32: | ||
}else { | }else { | ||
$("#mobilemenu").addClass('m_menu-active'); | $("#mobilemenu").addClass('m_menu-active'); | ||
+ | $(".accordion").addClass('m-active'); | ||
+ | $(".ac").eq(0).show(); | ||
} | } | ||
} | } | ||
Line 49: | Line 51: | ||
}); | }); | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
$(".m-active h2 a").click(function(){ | $(".m-active h2 a").click(function(){ | ||
var num = $(".m-active h2 a").index(this); | var num = $(".m-active h2 a").index(this); |
Revision as of 15:19, 3 October 2014