jQuery-EasyTabs
jQuery-EasyTabs copied to clipboard
Remove class="active" from child li´s by default
Hello
My tab schema was done with the below code:
***
- Parent Li
- Child Li
- Child Li
- Child Li
- Parent Li
- Parent Li
My question is, is it possible to remove the class active from the Child Li´s by default? I just want this class after clicking on the tab. I was searching and by default you plugin adds this class not only on the selected Parent LI but also on all Child Li´s
That's true, it does that as a convenience to make it easier to style active tab links, so that you don't need to create the less performant li.active a
rule, you can just do a.active
which is more efficient. That being said, I would be open to refactoring it to be configurable.