User:Ostgals/global.js

$(function{   $('.map').click(function(e){ var offset = $(this).offset; alert([e.pageX - offset.left, e.pageY - offset.top]); }); });