Click here to Skip to main content
15,885,366 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
I have been searching various sites to find out how to add multiple jQuery tabs to one page simultaneously and managed to come across a solution. However, when I try to nest a different set of tabs, the nested set fails to work (http://jsfiddle.net/ntp6p90r/9/).

I've tried adding extra JavaScript and an additional tab class which seems to work (http://jsfiddle.net/ntp6p90r/10/), but is there a simpler way of doing this?
Posted
Comments
Sergey Alexandrovich Kryukov 30-Nov-15 16:40pm    
I would rather look into other design choices. I really believe nesting of the UI control not inherently designed for nesting will greatly confuse the users, first of all. Why not combining tab on-page navigation with some other navigation style?
—SA
Krunal Rohit 30-Nov-15 23:44pm    
Your code looks good so far. But still it's more of a designing issue.

-KR
Member 11640052 1-Dec-15 0:26am    
Is there a way of simplifying the JavaScript part or is that as simple as it can get?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900