You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been trying to use relative values for the animate function and it doesn't work at all. It just uses the values I give without adding or subtracting from the objects set value first.
I've been trying to use relative values for the animate function and it doesn't work at all. It just uses the values I give without adding or subtracting from the objects set value first.
$("#sys_" + system).animate({svgWidth: '+=20', svgHeight: '+=20'},500);
Sets the rect to a width and height of 20 not its current size + 20;
NOTE: I am trying to animate a SVG files I'm loading by svg.load('region_name.svg') The SVG files has id's for the elements.
Calling the animation like this $('#rect1').animate({svgWidth: '+=20', svgHeight: '+=20'},500);
The text was updated successfully, but these errors were encountered: