[Seaside] Image Zoomer: How to capture mouseOver X & Y
Lukas Renggli
renggli at gmail.com
Fri Apr 2 18:19:24 UTC 2010
> How do you get the offset from the window or client?
window.left
window.top
Lukas
>
> RS
>
>> From: renggli at gmail.com
>> Date: Fri, 19 Mar 2010 08:23:57 +0100
>> Subject: Re: [Seaside] Image Zoomer: How to capture mouseOver X & Y
>> To: seaside at lists.squeakfoundation.org
>>
>> > 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
>
> ________________________________
> Hotmail has tools for the New Busy. Search, chat and e-mail from your inbox.
> Learn more.
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
>
--
Lukas Renggli
www.lukas-renggli.ch
More information about the seaside
mailing list