[Seaside] Image Zoomer: How to capture mouseOver X & Y

dirk newbold dirkdirk at gmail.com
Fri Mar 19 08:41:56 UTC 2010


Lucas,

We are using prototype and didn't want to have to load more Javascript
libraries as we were thinking that jQuery/mojo would increase our page
load times significantly)

Cheers,

Dirk


On Fri, Mar 19, 2010 at 5:23 PM, Lukas Renggli <renggli at gmail.com> wrote:
>> This works nicely but I haven't been able to work out to to pass the
>> relative X & Y positions from the mouseover on the original image into
>> the cssClippedPosition method.
>
> What Javascript library are you using?
>
> For jQuery: http://www.electrictoolbox.com/jquery-mouse-co-ordinates-mouseover-click-within-element/
> In General: http://www.google.ch/search?q=mouse+coordinates+relative+to+element
>
> Lukas
>
> --
> Lukas Renggli
> http://www.lukas-renggli.ch
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>


More information about the seaside mailing list