Problem is the resizable callback is called before the element is
resized, and before the position and size properties are updated. This
makes it so that any callback that wants to respond to a resize event
is always one step behind, since it gets the before value instead of
the after value.

My code below alerts the size properties as was before the element is
resized.  Ideas?


$(obj).resizable({
        stop: function(event, ui) {
            alert(ui.size.width + " : " + ui.size.height);
    },
    handles: "all",
    animate: true
});

--~--~---------~--~----~------------~-------~--~----~
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