Template:Sifuentes04

From 2014.igem.org

(Difference between revisions)
Line 375: Line 375:
$('.collapseMenu').click(function () {
$('.collapseMenu').click(function () {
-
if (checkIfActive == 0) {
+
if ($('.accordion-header').is('.inactive-header')) {
$('.collapseMenu').css('border','0 none transparent');
$('.collapseMenu').css('border','0 none transparent');
checkIfActive = 1;
checkIfActive = 1;
}
}
-
else if (checkIfActive == 1) {
+
 
-
$('.collapseMenu').css('border','1 solid black');
+
-
checkIfActive = 0;
+
-
}
+
});
});

Revision as of 15:31, 14 January 2015