I\'m trying to position a custom context menu with jQuery. The first time it appears at the right position (mouse coordinates), but then the current position is being summed
Don't use offset method, try css instead, positioning context menu absolutely:
offset
css
$("#box").css({left:e.pageX, top:e.pageY});
CSS:
#box { ... position: absolute; }
http://jsfiddle.net/smxLk/