When hovering over a span I would like to get the offsetLeft and offsetTop values so I can make something hover near it. When I do this I get 0 for both values.
What is
I think you should be able to do this:
HTML
some username
jQuery
jQuery('.get-close-to').hover(function() { var offset = jQuery(this).css('offset'); alert( 'Left: ' + offset.left + '\nTop: ' + offset.top ); });