Template:Sifuentes04

From 2014.igem.org

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

Revision as of 15:32, 14 January 2015