Feedback on: irt.org FAQ Knowledge Base Q1152
Worth:
Worth reading
Length:
Just right
Technical:
Not technical enough
Comments:
Hi!
I have tried to search for this information on your greate pages, but haven´t had that much luck, so I hope you can solve this one for me...
When using your example-script in IE5.0 and NN4.7 I get different results. I have added a bunch of BR-tags to make it possible to scroll down the document...
In NN4.7 the example shows the actual mouseposition in the *document*.
Example: I place the mouse at the bottom of the browser and gets some x/y-coordinats, and then scroll down a bit and have the mouse at the same location but now I get a higher Y-value.
In IE5.0 the value is showing the mouseposition in the *browser-window*, ie shows the same position even after I have scrolled down...
My questions to you is:
* Is this beahviour different between different IE-versions, or is it working the same in IE4 and IE5?
* Is there a way around this? I´m actually intrested in the position in the *document*, NOT the position in the *window*.
* Couldn´t you point out this problem on your page?
Have a nice day!,
/Henrik
Worth:
Very worth reading
Length:
Just right
Technical:
Just right
Comments:
Not sure if it is my Explorer or my Netscape that does strange things...
If I insert alot of <BR>'s so that I have to scroll the page Netscape (on FreeBSD 4.1) will show the X-coordinate relative to the top of the document while Explorer (on NT) only will show the distance to the top of what is visible on the screen.
Is there a way to find out how "far away" you are from the top of the document in Explorer?
Worth:
Worth reading
Length:
Just right
Technical:
Not technical enough
Comments:
This code has problems with IE in that it shows the mouse coordinates in relation to the browser window, not the actual page. An example of how to find the mouse coordinates in relation to the actual page for IE can be found here: http://www.atl.ualberta.ca/downes/java/mouseevents.htm
Worth:
Worth reading
Length:
Just right
Comments:
It would be great if there was similar script that would onClick for image maps.
Mind you, there is nothing wrong script it's just that I want to do something else.
Cheers
Phil