Template:Sifuentes04
From 2014.igem.org
(Difference between revisions)
Line 378: | Line 378: | ||
if (checkIfActive == 0) { | if (checkIfActive == 0) { | ||
$('.collapseMenu').css("background-color", "red"); | $('.collapseMenu').css("background-color", "red"); | ||
- | $('.collapseMenu').html(" | + | $('.collapseMenu').html("Collapse All"); |
+ | |||
checkIfActive = 1; | checkIfActive = 1; | ||
$('.accordion-header').next().slideToggle().toggleClass('open-content'); | $('.accordion-header').next().slideToggle().toggleClass('open-content'); | ||
Line 386: | Line 387: | ||
checkIfActive = 0; | checkIfActive = 0; | ||
$('.accordion-header').next().slideToggle().toggleClass('open-content'); | $('.accordion-header').next().slideToggle().toggleClass('open-content'); | ||
- | $('.collapseMenu').html(" | + | $('.collapseMenu').html("Expand All"); |
+ | |||
} | } | ||
Revision as of 18:27, 14 January 2015