Hello,
i'm using the "scale" effect on an absolute positioned div element the
following way:
$(document).ready(function(){
$('.scale').click(function() {
$(this).effect("scale", {percent:200, origin:
['middle','center']}, 1000);
});
});
the element resizes well, but after the transition (and before the
callback function executes) the element jumps back to it's original
(unresized) position. (the left and top position changed because of
the origin [middle,center] parameter).
You can see an example here:
http://neu.optiongolf.com/fileadmin/templates/test.html
Does anybody knows a way to do this effect without this position jump
in the end?
I want to use this effect just before i'll load new data via ajax into
this layer...
I'm using jquery ui 1.7, jquery 1.3.2, but also tried first with
1.6rc-6 and 1.3.1
Thanks in advance,
Adrian
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---