Hi Khalil,

Thanks for your reply.

Use jquery's  .on('click', function() { } ) to do two things : one , add a 
> class called for example 'inactive' to all li elements and second add a 
> class cslled for example 'active' to the one that clicked.
>

I gave this a try and then found that bootstrap provides 
data-toggle="pill". With this feature you can activate pill navigation 
without writing any JavaScript.


Kind regards,

Annet.

Reply via email to