jQuery: How to position one element relative to another?

Posted by paul on Stack Overflow See other posts from Stack Overflow or by paul
Published on 2008-10-01T15:01:01Z Indexed on 2010/03/23 14:53 UTC
Read the original article Hit count: 144

Filed under:

I have a hidden DIV which contains a toolbar-like menu.

I have a number of DIVs which are enabled to show the menu DIV when the mouse hovers over them.

Is there a built-in function which will move the menu DIV to the top right of the active (mouse hover) DIV? I'm looking for something like $(menu).position("topright", targetEl);

© Stack Overflow or respective owner

Related posts about jQuery