Seems the resizable should only be changing the width, not the left and the
width, when float: right. Could you file a bug ticket for this here:

http://dev.jqueryui.com/newticket (note: requires registration)

In the meantime, here's a work-around:

$(".meter").resizable({
  handles: 'w',
  resize: function() {
    $(this).css("left", 0);
  }
});

Thanks.

- Richard

On Sat, Mar 7, 2009 at 11:51 PM, JT <[email protected]> wrote:

>
> Hey there, I'm stuck on trying to accomplish the following:
>
> I have a div, and in it is another div. Parent div is 800px wide,
> child is 100px wide.
> The child is floated to the right, with a resizable handle on the west
> side. When I try to resize the container to drag it left, the
> container grows, but also moves to the left, beyond the point of the
> resizable handle. the right margin also moves left, instead of staying
> against the side (it is floated right).
>
> You can see the most basic case of it at this address:
> http://173.10.67.185/columns.html. Can anyone tell me what needs to
> happen in order for the right column to resize within its parent
> without actually moving?
>
> It seems that as the left coordinates move, the ui object is using the
> updated coords each time, instead of remembering it's origin, which it
> should be doing position calculations on?
>
> JT
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery UI" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to