focalpoint jquery.focalpoint.js calculates x and y coordinates as percentages for an image onclick, and also the reverse. Check out the demo http://jsfiddle.net/tamarasaurus/g8NzE/3/