<script type="text/javascript"> var msgDiv; function moveMouse() { e = window.frames.myFrame.event; var ef= e.view.outerWidth; msgDiv.innerHTML = "X: "+(e.x-205) + ", Y:" + (ef-e.y)+" scroll:"+e.screenY +" offset x:"+e.offsetX+" "+e.offsetY+" outerWidth:"+ef +" win innerWidth:"; } function init() { msgDiv = document.getElementById("mPos"); window.frames.myFrame.document.body.onmouseover = moveMouse; }
<div class="op">Quote:</div><body> <div id="mPos"></div> <div class="iframeWrapper"> <iframe name="myFrame" width="100%" height="1000" src="http://localhost/DESJARDINS_APPLICATION_FOR_ENROLMENT_FORM_9147A.pdf" onload="init()"></iframe> </div> </body>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)