PDA

View Full Version : Problem with DynamicDrive Tab Content script



mr_cb7
06-19-2012, 08:57 PM
I went onto Google looking for a simple to setup tabs system to be used in the content area of my webpage to divide information and decrease the height of the webpage. I downloaded the Tab Content Script (v 2.2) (http://www.dynamicdrive.com/dynamicindex17/tabcontent.htm) from here on DD, setup it up to only have two tabs instead of the standard 5 it came with because thats all I need. Everything worked fine except when I place more content in the div for the second tab that is hidden it extends beyond my bottom footer when selected. The main of the site container doesn't expand along with the second div. I did a test and switched the content between the tabs and gave the first (main) tab the larger amount of content and when opening the page the main container expands to the height of the main tab div perfectly. If I then switch over to the second tab the smaller content comes up as well only there is a large white space at the bottom and the div doesn't adjust to the new height.

Works in first tab:http://www.thoughttechnology.com/sciencedivision/webv3/page.html

Second tab:http://www.thoughttechnology.com/sciencedivision/webv3/page2.html

Any ideas?