Template:Team:KIT-Kyoto/mobile
From 2014.igem.org
(Difference between revisions)
Line 12: | Line 12: | ||
var num = $(".m-active h2 a").index(this); | var num = $(".m-active h2 a").index(this); | ||
if($(".ac").eq(num).is(':hidden')){ | if($(".ac").eq(num).is(':hidden')){ | ||
- | $(" | + | $(".ac").eq(num).slideDown(); |
}else { | }else { | ||
- | $(" | + | $(".ac").eq(num).slideUp(); |
} | } | ||
}); | }); | ||
Line 105: | Line 105: | ||
display:none; | display:none; | ||
} | } | ||
- | + | .ac:first-child{ | |
+ | display:inline; | ||
+ | } | ||
} | } | ||
</style> | </style> | ||
</head> | </head> |
Revision as of 20:02, 21 September 2014