Re: Current document location
Jochen Welle <[email protected]> Wed, 26 Jul 2006 13:30:32 +0200
| Newsgroups | gmane.comp.mozilla.jrex |
|---|---|
| Message-ID | <[email protected]> |
Hi, i have written some scrolling code with jrex, java and javascript and in javascript you can access the values window.pageXOffset and window.pageYOffset. I think if you add the current x,y screen position to this values, you will have the absolut values of the current location. Jochen winix schrieb: > Hi All, sorry if this is a newbie question, but I am not able to find any > hint from the old messages. > > Anyway, what I want to do is simple, I want to know the current location of > the web page in the currently loaded web page when the mouse click. I don't > mean the x and y on screen, but rather how far from the top and left of the > document even after scrolling. Is there any document or code sample > available? > > Thanks in advance! > >