Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
December 30, 2008, 12:58 am
rate this thread
Re: Iframe resize by dragging the bottom right corner doable?
If what yes?
Oh, you mean the statement in your subject line.
Yes. Easily doable. It's a variation of standard drag/drop.
Contrive to capture a mousedown event occurring in the bottom right corner.
You might be better off wrapping the iframe in a containing element with a
nice pretty drag corner to do this. At mousedown start capturing mousemove
events and resize the element according to the delta between the currrent
mouse position and the position at mousedown. On mouseup stop capturing