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

Robert Sirois watchlala at hotmail.com
Fri Apr 2 17:59:58 UTC 2010


How do you get the offset from the window or client?

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.
http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20100402/ff9a5e1d/attachment.htm


More information about the seaside mailing list