PDA

View Full Version : Resizable tables and divs


oldcrazylegs
02-26-2005, 06:56 PM
I would like to know how to resize tables and divs by dragging the borders with the mouse.

codegoboom
02-26-2005, 07:33 PM
I've done this before, but it wasn't simple... basically, I created a "resize by" function, triggered by "invisible" panels positioned over the borders with css expressions (IE-only), which had events for changing the cursor, conditionally calling the function, etc.
There are other ways too, but they'd involve firing events all over the document... yuk! :p