PDA

View Full Version : Tab Orientation



garyrgi
7 Nov 2006, 8:42 AM
Jack,

First let me just say that what you have done is just awesome!

The extensions are great, your site is great too :)

I was looking at example six and noticed the tabbed interface was exactly what I was looking for.

I would, however, like the tabs to be located at the top of the panel instead of at the bottom, but when I checked the docs on the tab and tabItem and did not find a way to change the orientation on the tabs from being on the bottom of the panel to the top.

Did I just overlook it or...did I not look in the right place?

Thanks

Gary

Animal
7 Nov 2006, 8:49 AM
Note the tabPosition property:



this.layout = new YAHOO.ext.BorderLayout(this.container,
{
north: {
split:true,
autoTabs:true,
tabPosition: 'top',
initialSize: this.listHeight,
titlebar: true,
collapsible: true,
minSize: 200,
resizeTabs: true,
autoScroll: false
},
...

garyrgi
7 Nov 2006, 9:49 AM
OMG, how the heck did I miss that?