[ka-Map-users] ka-Map and scroll bars
Paul Spencer
pspencer at dmsolutions.ca
Wed Apr 26 08:00:00 EDT 2006
I've added this to kaQuery and kaTool in what seem like the
appropriate places and committed to cvs. It didn't break the
existing interface, but I don't have it set up to test if it works
when the page scrolls. If someone could test that and let me know?
Cheers
Paul
On 25-Apr-06, at 6:30 PM, Brent Pedersen wrote:
> 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 values.
>
>
>
> 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 stuff.
> 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
> http://lists.maptools.org/mailman/listinfo/ka-map-users
>
> _______________________________________________
> ka-Map-users mailing list
> ka-Map-users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/ka-map-users
+-----------------------------------------------------------------+
|Paul Spencer pspencer at dmsolutions.ca |
+-----------------------------------------------------------------+
|Applications & Software Development |
|DM Solutions Group Inc http://www.dmsolutions.ca/|
+-----------------------------------------------------------------+
More information about the ka-Map-users
mailing list