Collapsible Content Heights

Discussion in 'Javascript' started by fingermark@gmail.com, Feb 2, 2005.

  1. Guest

    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?
     
    , Feb 2, 2005
    #1
    1. Advertisements

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. tshad

    TextBox heights

    tshad, Jun 24, 2005, in forum: ASP .Net
    Replies:
    1
    Views:
    599
    =?Utf-8?B?V2FyYW4=?=
    Jun 24, 2005
  2. Sandip Chitale
    Replies:
    0
    Views:
    770
    Sandip Chitale
    Aug 7, 2003
  3. Lot-o-fun
    Replies:
    13
    Views:
    667
    Karl Groves
    Apr 29, 2004
  4. Nik Coughin

    % heights with CSS, min-height

    Nik Coughin, Apr 15, 2004, in forum: HTML
    Replies:
    4
    Views:
    644
    Barry Pearson
    Apr 16, 2004
  5. clintonG

    Collapsible Content?

    clintonG, Jan 31, 2005, in forum: Javascript
    Replies:
    10
    Views:
    229
    clintonG
    Feb 2, 2005
Loading...

Share This Page