Re: [Proto-Scripty] Re: A bit of assistance please

2011-06-03 Thread Walter Davis
On Jun 3, 2011, at 11:21 AM, Eric wrote: On Jun 1, 4:33 pm, Walter Davis wa...@wdstudio.com wrote: On Jun 1, 2011, at 10:19 AM, Eric wrote: On May 31, 5:51 pm, Walter Davis wa...@wdstudio.com wrote: On May 31, 2011, at 11:12 AM, bill wrote: I need the scroll of the div contents only.

Re: [Proto-Scripty] Re: A bit of assistance please

2011-06-02 Thread bill
On 6/1/2011 10:19 AM, Eric wrote: On May 31, 5:51 pm, Walter Daviswa...@wdstudio.com wrote: On May 31, 2011, at 11:12 AM, bill wrote: I need the scroll of the div contents only. You can back into that by using the cumulative offset, and subtracting the document.viewport.getScrollOffsets()

Re: [Proto-Scripty] Re: A bit of assistance please

2011-05-31 Thread bill
On 5/30/2011 11:22 AM, Eric wrote: Hi Bill, Using Event.PointerX() and Event.PointerY() you can get the absolute position of the mouse on the page. Using Element.Layout you can get the exact position of your image. If you substract the layout's left value to PointerX and the layout's top value

Re: [Proto-Scripty] Re: A bit of assistance please

2011-05-31 Thread Walter Davis
On May 31, 2011, at 10:57 AM, bill wrote: On 5/30/2011 11:22 AM, Eric wrote: Hi Bill, Using Event.PointerX() and Event.PointerY() you can get the absolute position of the mouse on the page. Using Element.Layout you can get the exact position of your image. If you substract the layout's

Re: [Proto-Scripty] Re: A bit of assistance please

2011-05-31 Thread bill
On 5/31/2011 11:06 AM, Walter Davis wrote: On May 31, 2011, at 10:57 AM, bill wrote: On 5/30/2011 11:22 AM, Eric wrote: Hi Bill, Using Event.PointerX() and Event.PointerY() you can get the absolute position of the mouse on the page. Using Element.Layout you can get the exact position of

Re: [Proto-Scripty] Re: A bit of assistance please

2011-05-31 Thread Walter Davis
On May 31, 2011, at 11:12 AM, bill wrote: On 5/31/2011 11:06 AM, Walter Davis wrote: On May 31, 2011, at 10:57 AM, bill wrote: On 5/30/2011 11:22 AM, Eric wrote: Hi Bill, Using Event.PointerX() and Event.PointerY() you can get the absolute position of the mouse on the page. Using