I imagine you would need to set an "onmousemove" event in the body of the document that is loaded in the iframe. Then you should be able to read the "event.OffsetX", "event.x", "event.screenX", or "event.clientX" (and Y, of course) values, depending on what you want the coordinates relative to.
cursor location i dont know about i know how you could handle the scroll position, if so, name the iframe, and onscroll report the value to a variable, and call it when you need it as per example :
i use a hidden form element, so if need be, after a post, the page can pre-scroll to the last position it was at :
function scrollval(arg)
{
document.theform.scrollpos.value = arg.scrollTop;
}
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.