[thelist] expand / collapse divs

Christian Heilmann lists at onlinetools.org
Wed Apr 6 16:45:38 CDT 2005


>
>All of my INNER DIVs contain a expand/collapse functionality (toggle
>display: block and display: none). The caveat is that when one DIV is
>collapsed, I want the other two to fill the available height. And if two of
>the three are collapsed, I want the third to take up all available height.
>
>Is this possible - my Google searches are coming up with menu systems that
>do not fill the height available? This is not a tree view type of
>application - it is more like expanding/collapsing components - each DIV is
>its own component.
>
>Any help would be appreciated.
>  
>
How do you define "available height" is the question. If that is a fixed 
size, then it is easy, if not, good luck.




More information about the thelist mailing list