Hi All,
I have a slider that proportionately scales a div on slide event eg:
$("#my_slider").slider({
min: 100,
max:2900,
value: 780,
slide: function(event, ui){
$("#mydiv").css("width", ui.value);
$("#mydiv").css("height", ui.value);
},
});
I want the object Im scaling to also move the div so that it looks
like its being scaled from the center (and not the top left)
Is there an easy way to do this?
Thanks :)
--
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.