tabber div heights

Tabbed Product and Fragment Descriptions.
Post Reply
kevster
Posts: 13
Joined: Wed Jul 04, 2007 12:54 pm

tabber div heights

Post by kevster »

we need to differentiate between the two tab divs on this site if possible:

http://scoutgroup.dev.whitehatmedia.com ... rietVIJack

we are using two tabs and have found that if the 2nd tab has lots of content it is forcing the 1st one to have a scroll bar as well. the tabcontainer div has a fixed height with autoscroll but can we set different classes for each tab? tried playing with the tabs.css file as well as the plain one but no joy.

thx - Kevin
norman
Site Admin
Posts: 1245
Joined: Sat Feb 07, 2004 9:55 pm

Re: tabber div heights

Post by norman »

Tabber is designed to make the tabbed area big enough for the largest tab to fit. This is so content below the tabs doesn't "bounce" as tabs are selected.

If you want to disable this, edit tabbeddescriptions.js and look for the line

Code: Select all

    paneContainer.style.height = maxHeight + "px";
comment it out by changing it to

Code: Select all

//    paneContainer.style.height = maxHeight + "px";
It's not possible to use different classes for each tab.
kevster
Posts: 13
Joined: Wed Jul 04, 2007 12:54 pm

Re: tabber div heights

Post by kevster »

OK - thanks for the explanation..
Post Reply