Forum Moderators: not2easy

Message Too Old, No Replies

Moving DIV up or down depending on Size of another div

DIV, Resizing

         

SimonTuffGuy

2:58 pm on Dec 28, 2004 (gmt 0)

10+ Year Member



I have a page that has several div's on it which contain tables with pertainant information on them. At the top of the page are links which, upon being clicked, display a certain div and hide the others (It's to keep the page from being 3 miles long)

I need to have a disclaimer at the bottom at all times, and instead of having the disclaimer (It's like 8 different lines in a table x 15 tables) in the bottom of each of the tables, I want to have one set as a div, which displays and moves itself to the bottom of the displayed div.

Anyone know how I would go about this? I'm thinking if there were a script which got the height of the displayed div and positioned the disclaimer just below that, it would work... But I can't think of anything or find code as to what I'm looking for? Any help?

Thanks!
Simon

BonRouge

5:33 pm on Dec 28, 2004 (gmt 0)

10+ Year Member



If I've understood correctly, you have a lot of divs one after the other in your code and they all get hidden except for the one you want to see. Surely all you need to do is put the disclaimer below all of those and it will always show below the div that you want to see.
If I've misunderstood, let me know. If not and you need some help with this, again - let me know. I can give you a link to a page that does that (by sticky-mail I guess).

SimonTuffGuy

6:16 pm on Dec 28, 2004 (gmt 0)

10+ Year Member



That's correct... I've got 14 divs which are all hidden. When you click the link, it displays the selected div. The disclaimer does show, but it's almost like a layer and goes behind the rest of the layer that is showing.

You can shoot me the address at simon @ #*$!tiva . com :)

Thanks!
Simon

SimonTuffGuy

6:20 pm on Dec 28, 2004 (gmt 0)

10+ Year Member



You can't say #*$!?

It's P I M P T I V A . C O M

haha

Simon