Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

absolute mouse position when moving the mouse in an Iframe

Status
Not open for further replies.

rylle2000

Programmer
May 23, 2002
4
SE
I have positioned an Iframe on a page by putting it in a table. When catching the mouseMove event in the Iframe it gives the coordinates relative to the top, left corner of the Iframe. I, however, want the absolute coordinates relative to the parent page, NOT the Iframe or the screen. Does anyone know how to solve this?

I tried the approach to just add the 'left' and 'top' style attributes for the Iframe to the coordinates but there doesn´t seem to be any style attributes at all. Maybe because I positioned the Iframe with tables?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top