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

Lukas Renggli renggli at gmail.com
Fri Mar 19 09:05:06 UTC 2010


Google for it, there are certainly solutions using Prototype.

On 19 March 2010 09:41, dirk newbold <dirkdirk at gmail.com> wrote:
> 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
>>
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>



-- 
Lukas Renggli
http://www.lukas-renggli.ch


More information about the seaside mailing list