can I add a tabbar as the content for another tabbar?

I am new to JavaScript so forgive my ignorance…

I have a horizontal tabbar at the top of my page. There are 3 tabs. The first 2 tabs have grids on them and it works great. If the user clicks the 3rd tab, I would like a tabbar to show up on the right. Do you have an example of how I can do this?


As far as I can understand you need to have sub tabbar, right?

It can be created in next two ways.

a) create one tabbar in normal mode, and second in “only-head” mode, attach js code to onclick event so it show hide second set of tabs based on selected tab.

b) Just create a second tabbar inside third tab … ested.html