[ka-Map-users] ka-Map and scroll bars
bpederse at gmail.com
Tue Apr 25 18:30:27 EDT 2006
hi, according to prototype.js, you should use:
event.pageX || (event.clientX +
(document.documentElement.scrollLeft || document.body.scrollLeft))
so in kaQuery.js whereever you see e.clientX, replace with that snippet
above. (with e insteand of event) likewise for the corresponding clientY
On 4/25/06, Pg <pg.navone at gmail.com> wrote:
> I've loaded ka-Map in a div of an html page with a form and many other
> Everiting works until I use the scroll bars to scroll my page.
> When the bars are in a non-zero position the pixToGeo() doesn't work
> properly and semms to be affected by an offset (in pixel) similar to
> the window scroll.
> Does anybody know how (and where) to 'adjust' the window scroll?
> ka-Map-users mailing list
> ka-Map-users at lists.maptools.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the ka-Map-users