SyntaxFix
Write A Post
Hire A Developer
Questions
You could try jQuery UI's .position method.
$("#mydiv").position({ of: $('#mydiv').parent(), my: 'left+200 top+200', at: 'left top' });
Check the working demo.