PDA

View Full Version : Javascript...hiding content


halo242
03-08-2006, 08:16 PM
Hello all
I am developing a new page for my companys Ecommerce site.
It looks generaly like this
http://www.casesbysource.com/cssjstabs/cbsVersion.htm
I needed a tabbed interface on the bottom that hides and switches content for each product. The code I came across seemed to work pretty well
However...
When you rollover a tab with content that is longer than the height of the initial content box it generates scroll bars. which is not good for what we are trying to do.
Is there a way this can be corrected and it not use a scrollbar but just stretch down to the height of the content? Im not a coder so it was a bit difficult getting this far.

Any insight would be greatly appreciated.
-Paul

vwphillips
03-08-2006, 08:55 PM
Note that the credits say MUST NOT BE MODIFIED

but a line in the code change Page.style.overflow from hidden to auto

halo242
03-08-2006, 09:09 PM
I tired that but it hides the scroll bar...and cuts off the content

vwphillips
03-08-2006, 09:52 PM
prefer to make you one than mess with the posted script
see if you get any other takers first

halo242
03-09-2006, 08:02 PM
Ive still had no luck whatsoever trying to get this to work properly