Tabbar using a link to another page

Hi I am evaluating your software library. Working my way around it.

Is there a way to have tabbar refer to links whent he tab is clicked?

Can I link to a new page. I don’t want iframes because there is an inherit problem with height of pages.

Basically, I want a tab control that is not trying to control the height of the tabbed information. Each tab when clicked goes to a new web page with different input information.

Hope that makes sense.

Thanks,

Angela

Hi,

tabbar provides onSelect event. It occurs when a tab is opened:

tabbar.attachEvent("onSelect",function(id,previousId){ /*your code here*/ return true })

Thanks Alexandra,

One ore question with playing with the tabbar samples, is there a way to not have to provide height?

Some of my pages could be dynamic in length. I know a scroll bar will appear. But I rather they not be scrolling to see the input fields unless they are doing it via the browser.

I noticed through firebug it seems to pick up the declared div height and width. And if I remove or set to 100% the declared div’s height then nothing appears. I have also tried setting min-height and that does the samething as well, wiping out the tab display all together.

Thanks for your help with my evaluation,

Angela

You may try to enable autosize:

tabbar.enableAutoSize(false,true);

Please have a look at the sample:

dhtmlxTabbar/samples/06_behaviors/02_size_by_content.html