I want to place an element (elemA) relative to another element (elemB). Therefore, I use jQuery ui position utility for this:
$(elemA).position({my:'right top', at:'left top', of:elemB});
But I want this positioning to be done with an animation effect.
How can I use .animate() to accomplish my task?
You can see what I have done so far in this fiddle . I want elemA to move to a new position with an animation effect using jQuery and jQuery ui.
source share