I want to make a background image (larger than the page) positioning when the mouse move over it and I did, but I would like that when moving the mouse position relative to image position doesn't change
i.e. in the example below if mouse is over a letter, when moving the background image the mouse remain on the same letter
but the percentage is not correct
var newvalueX = e.pageX / $(window).width() *100;
var newvalueY = e.pageY / $(window).height() *100;
working example here: https://codepen.io/anon/pen/pazzZG/
any idea? Thanks!