jQuery-EasyTabs icon indicating copy to clipboard operation
jQuery-EasyTabs copied to clipboard

Remove class="active" from child li´s by default

Open NunoBentes opened this issue 11 years ago • 1 comments

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

NunoBentes avatar Jul 31 '13 11:07 NunoBentes

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.

JangoSteve avatar Sep 05 '13 17:09 JangoSteve