horizontal toggle panel

Bigbacon

Fully [H]
Joined
Jul 12, 2007
Messages
21,337
Anyone know how to do something like this?

I'm trying to figure out how to do a 2 column layout with this little toggle kinda thingie.

Problem is I don't see how to get the 100% height on the two columns without using resizing code.

Clipboard01111.jpg
 
In these kinds of situations you're better off using absolute positioning for the optional column. Top right of the parent should be top left of the pop-up.

Height wise these are standard CSS issues. Somewhere there will have to be a static height on a parent container so that you may use % in child divs. If all heights change, then you'll have to use javascript. Coding height setters is fairly trivial.

You might need to provide more info as to what you're trying to do here.
 
I think what you mean to call it is an expander control

Toggles are typically checkboxes or occasionally radio buttons.
 
Back
Top