Here is a very stripped down chunk of the code.  http://mooshell.net/PhjEU/

The end goal here is to get the X/Y coordinates from the top left corner of
the image where the drag was started from.



On Wed, Dec 2, 2009 at 11:44 AM, Trevor Orr <[email protected]> wrote:

> I guess I could rip out that part of my application, might take a bit of
> work but probably the best way.
>
> I guess one other issue could be a slow computer not processing JavaScript
> very fast.
>
>
>
>
>
> On Wed, Dec 2, 2009 at 10:31 AM, Roman Land <[email protected]> wrote:
>
>> Can you put up an example in mooshell.net?
>>
>> Cheers
>> -- Roman
>>
>>
>> On Wed, Dec 2, 2009 at 8:23 PM, Trevor Orr <[email protected]> wrote:
>>
>>> I am wanting to get the X/Y mouse coordinates when dragging an image.
>>> The problem I am having is this.
>>>
>>> 1) Quickly click and drag, the X/Y coordinates I get vary quick
>>> dramatically.
>>>
>>> 2) Clicking, pause for a second and then drag, X/Y coordinates I get
>>> almost exactly the same.
>>>
>>> So it seems that either events are not firing off quickly enough in
>>> JavaScript to get accurate X/Y coordinates when doing things quickly or
>>> events are not firing off quickly enough in Mootools or I have some bad
>>> code.
>>>
>>> I am just wondering if anyone has experienced this and if so is there a
>>> solution.
>>
>>
>>
>>
>> --
>> ---
>> "Make everything as simple as possible, but not simpler."
>>
>> - Albert Einstein
>>
>>
>

Reply via email to