Template:Sifuentes04
From 2014.igem.org
(Difference between revisions)
Line 377: | Line 377: | ||
if (checkIfActive == 0) { | if (checkIfActive == 0) { | ||
$('.collapseMenu').css("background-color", "red"); | $('.collapseMenu').css("background-color", "red"); | ||
+ | $('.accordion-header').toggleClass('active-header'); | ||
checkIfActive = 1; | checkIfActive = 1; | ||
} | } | ||
- | + | ||
+ | else { | ||
+ | $('.collapseMenu').css("background-color", "blue"); | ||
+ | checkIfActive = 0; | ||
+ | } | ||
}); | }); | ||
Revision as of 15:35, 14 January 2015