loosenut
07-07-2002, 07:27 AM
Is there a way to make a hidden DIV displace text when it is made visible?
I want to make a page, a huge form really, with a several hidden sections, structured like this:
[main form]
[optional info 1]
[optional info 2]
[optional info 3]
[additional info]
[submit button]
Each of the optional info's is contained in a DIV which is initially hidden, and which can be made visible with a "MORE>>" type javascript button located just before each DIV.
I'd like to be able to hit the "MORE>>" button, and have all of the content below that button slide down the page to make room for the newly revealed DIV (rather than have a big blank spot, or have overlapping content). Is there any way to do this?
Thanks!
I want to make a page, a huge form really, with a several hidden sections, structured like this:
[main form]
[optional info 1]
[optional info 2]
[optional info 3]
[additional info]
[submit button]
Each of the optional info's is contained in a DIV which is initially hidden, and which can be made visible with a "MORE>>" type javascript button located just before each DIV.
I'd like to be able to hit the "MORE>>" button, and have all of the content below that button slide down the page to make room for the newly revealed DIV (rather than have a big blank spot, or have overlapping content). Is there any way to do this?
Thanks!