Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1719
  • Last Modified:

Disabling tabs in bootstrap

In Twitter Bootstrap 3 how would you disable tabs??
0
stargateatlantis
Asked:
stargateatlantis
1 Solution
 
Rainer JeschorCommented:
Hi,
can you provide a link to your page or a screenshot?
What do you mean with "disable tabs"?

Normally tabs are generated by assigning the right style sheet classes to an UL.
0
 
stargateatlantisAuthor Commented:
Here is the twitter boostrap 3 tabs

http://getbootstrap.com/javascript/#tabs
0
 
Roopesh ReddyCommented:
Hi,

You can try the following code snippet -

$('#myTab a').removeAttr("data-toggle");

Open in new window


Just remove the data-toogle attribute on the anchor tags inside the tabs!

Hope it helps u...
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now