Forum Moderators: open

Message Too Old, No Replies

Hidden DIV

         

tonynoriega

7:00 pm on Nov 6, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



i have a script that hides and shows a DIV tag, using onclick.

i have 4 tables that i want to show/hide.

What happens is that the tables are stacked one on top of another so if you click "show 1" then click "show 2" the 2nd table shows up below the 1st table..

what i want to do is have the 2nd table just replace the area of the 1st table....

anyone got a pointer on how to accomplish this?

Fotiman

7:24 pm on Nov 6, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



When you 'show' one table, make sure you 'hide' all of the other tables.

Dabrowski

6:52 pm on Nov 7, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Use your CSS to make only 1 table shown to start with.