javascript - JQuery resizeable and dragable divs positioning problems -



javascript - JQuery resizeable and dragable divs positioning problems -

i'm having problem positioning divs within larger div , having them behave want.

the source , preview here: http://jsbin.com/usuniw/6/edit

problem 1

when hidden div unhidden appears under div want appear inside. 1 time dive within resized (using handle on left hand side) pops place

problem 2

when resizing hidden div moves outside boundry of it's parent rather aligning right-hand side of it.

thanks help can give.

at moment, have #selectedresult element set float right causing appear underneath #ipad element.

if rid of float:right on #selectedresult , instead set to:

position: absolute; right:0; top:0;

and set #ipad element to:

position:relative;

then element fixed top , right sides of parent.

you can see updated version of illustration here: http://jsbin.com/uxavov/edit#preview

javascript jquery-ui html draggable resizable

Comments

Popular posts from this blog

iphone - Dismissing a UIAlertView -

c# - Can ProtoBuf-Net deserialize to a flat class? -

javascript - Change element in each JQuery tab to dynamically generated colors -