Forum Moderators: open
var x = (navigator.appName.substring(0,3) == "Net")? e.pageX : event.x+document.body.scrollLeft;
var y = (navigator.appName.substring(0,3) == "Net")? e.pageY : event.y+document.body.scrollTop;
But many visitor telling me that the position of my info-box is not displayed at the cursor, but higher (so the scroll calculation must be incorrect.
Can some one help me to improve my code please?