Answer the question
In order to leave comments, you need to log in
How to change the behavior of an accordion?
there are bootstrap tabs here. if one tab open its button should not be visible. This is how it is in the design:
and the tab buttons should not climb up when another tab is opened, like this:
/....................... ................................................. ................................................. ........................................./
$(document).ready(function () {
console.log("ready!");
var collapseItem = $('.panel-title>a');
if (!collapseItem.hasClass('collapsed')) {
collapseItem.css('display', 'none');
}else{
collapseItem.css('display', 'block');
}
});
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question