<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
How do you get the offset from the window or client?<br><br>RS<br><br>&gt; From: renggli@gmail.com<br>&gt; Date: Fri, 19 Mar 2010 08:23:57 +0100<br>&gt; Subject: Re: [Seaside] Image Zoomer: How to capture mouseOver X &amp; Y<br>&gt; To: seaside@lists.squeakfoundation.org<br>&gt; <br>&gt; &gt; This works nicely but I haven't been able to work out to to pass the<br>&gt; &gt; relative X &amp; Y positions from the mouseover on the original image into<br>&gt; &gt; the cssClippedPosition method.<br>&gt; <br>&gt; What Javascript library are you using?<br>&gt; <br>&gt; For jQuery: http://www.electrictoolbox.com/jquery-mouse-co-ordinates-mouseover-click-within-element/<br>&gt; In General: http://www.google.ch/search?q=mouse+coordinates+relative+to+element<br>&gt; <br>&gt; Lukas<br>&gt; <br>&gt; -- <br>&gt; Lukas Renggli<br>&gt; http://www.lukas-renggli.ch<br>&gt; _______________________________________________<br>&gt; seaside mailing list<br>&gt; seaside@lists.squeakfoundation.org<br>&gt; http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside<br>                                               <br /><hr />Hotmail has tools for the New Busy. Search, chat and e-mail from your inbox. <a href='http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_1' target='_new'>Learn more.</a></body>
</html>