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')){ | ||
- | $(" | + | $("this").eq(num).slideDown(); |
}else { | }else { | ||
- | $(" | + | $("this").eq(num).slideUp(); |
} | } | ||
}); | }); | ||
Line 104: | Line 104: | ||
div.ac { | div.ac { | ||
display:none; | display:none; | ||
+ | } | ||
+ | |||
+ | div.ac:first-child{ | ||
+ | display:inline; | ||
} | } | ||
} | } | ||
</style> | </style> | ||
</head> | </head> |
Revision as of 19:58, 21 September 2014