here is an idea:
$(function(){
$('.selector').resizable({
stop: function(event, ui){
var width = $('.selector').width();
var height = $('.selector').height();
$.ajax({
type: "GET",
url: "save_resizable_to_cookie.php",
data: {
object: $('.selector').attr('id'),
object_width: width,
object_height: height
}
});
}
});
};
and you will need a php file that does all the saving.. maybe it can
be accomplished in an easier way, but thats just how i would do it
without thinking too long about it..
hope it helps..
later,
toby
On Sep 3, 10:06 pm, Michal <[email protected]> wrote:
> i have been looking so long but just can't seem to find it. all i want
> is the resizable plugin work with cookies so it saves and recalls the
> stored height. anyone who could help me out...
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---