If you take a look at this page:
you'll see that if you drag the browser the absolutely positioned handler will stay pushed up against the right side of the browser, however if you drag the element (even in the case of it returning to the same position) it then becomes placed in a fixed manner that doesn't follow the browser.
Any thoughts on this?
- $j('#dialog').draggable({
- revert : true,
- handle : 'div#dialog'
-
- });
- #dialog {
- background:url('images/iphone_bg.png') no-repeat top right;
- padding:126px 30px 20px;
- margin:80px 30px 30px;
- position:absolute;
- top:10px;
- right:10px;
- width:240px;
- height:700px;
- }