Collapsible Content Heights

F

fingermark

I modified http://www.webreference.com/programming/css_content/3.html a
little so that all of the containers are within a fixed height, such
that when one of the containers collapses, the height of the remaining
opening containers grows to fill up the space that was just loss by the
collapse. What I'm having a hard time figuring out is how to change
the height for all of the .dspcont divisions. I can only change the
height for the current container by doing: foc.style.height = ht;.
There will only be three containers. Can someone help me find a
solution to changing the heights of all three containers at once?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top