hi, according to prototype.js, you should use:<br><br><pre>event.pageX || (event.clientX +<br>      (document.documentElement.scrollLeft || document.body.scrollLeft))</pre><br>so in kaQuery.js whereever you see e.clientX, replace with that snippet above. (with e insteand of event) likewise for the corresponding clientY values. 
<br><br><br><br><div><span class="gmail_quote">On 4/25/06, <b class="gmail_sendername">Pg</b> &lt;<a href="mailto:pg.navone@gmail.com">pg.navone@gmail.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I've loaded ka-Map in a div of an html page with a form and many other stuff.<br>Everiting works until I use the scroll bars to scroll my page.<br><br>When the bars are in a non-zero position the pixToGeo() doesn't work<br>
properly and semms to be affected by an offset (in pixel) similar to<br>the window scroll.<br><br>Does anybody know how (and where) to 'adjust' the window scroll?<br><br>_______________________________________________<br>
ka-Map-users mailing list<br><a href="mailto:ka-Map-users@lists.maptools.org">ka-Map-users@lists.maptools.org</a><br><a href="http://lists.maptools.org/mailman/listinfo/ka-map-users">http://lists.maptools.org/mailman/listinfo/ka-map-users
</a><br></blockquote></div><br>