These tabs are made up of local and external content. Tab 1 and Tab 2 are loading files tab1.html and tab2.html. Tab 3 and Another Tab are using content that is already part of this page. Tab2 is initially selected.

Tab 1
Tab 2
Tab 3
Handler tab
Another Tab
Sub TabContainer

Tab 2

I am tab 2. I was loaded externally as well.

The next example is with closable tabs. Tab 1 and Tab 3 can be closed; Tab 3 has a confirm box.

Tab 1
Tab 2
Tab 3

Tab 1

I am tab 1. I was loaded externally.

blah

Tabs with labels on the bottom:

Tab 1
Tab 2

Tab 1

I am tab 1. I was loaded externally.

blah

Tabs with labels on the left:

Tab 1
Tab 2

Tab 1

I am tab 1. I was loaded externally.

blah

Tabs with labels on the right:

Tab 1
Tab 2

Tab 1

I am tab 1. I was loaded externally.

blah
DEBUG: Tab2 onLoad