View Full Version : ajaxtabscontent scrollable?

12-21-2006, 11:23 AM
1) Script Title: ajaxtabscontent

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/ajaxtabscontent/

3) Describe problem:
I have seen this good script, I wanted to know if it is possible and as it can be made:
1. to make the content of tab scrollable
2. to put the tab under instead that over

Sorry for My English
Best regards, Ale

12-21-2006, 11:34 AM

1) To get the content to be scrollable, you can use CSS's overflow property in combination with an explicit width/height for the content divs. So inside the .css file:

border: 1px solid gray;
width: 450px;
height: 300px;
overflow-y: scroll;
margin-bottom: 1em; padding: 10px;

The two lines in red are new.

2) Well, the tabs as is aren't designed to be inverted, which is what I gather you're asking. You may want to look through the CSS Library (http://www.dynamicdrive.com/style/csslibrary/category/C1/) for an inverted tab interface you can use in place of the default one for the script.