Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
How to implement drag and drop
Arati Sawant
12/19/2008 11:24:00 AM
Hi,
I have a set of draggable objects inside a span. I tried to implement
drag n drop using win32ole library. I used '' function. This funtion
requires x and y coordinates of soucre and destination. I was sucessfuly
able to implement drag and drop but with harded x and y coordinates of
source and destination.
I am reseaching on how to get elements (div, span) x and y coordinates??
Any ideas how can I fix this?
Thanks,
Arati
--
Posted via
http://www.ruby-...
.
2 Answers
Arati Sawant
12/19/2008 11:30:00 AM
0
Arati Sawant wrote:
> Hi,
>
> I have a set of draggable objects inside a span. I tried to implement
> drag n drop using win32ole library. I used '' function. This funtion
> requires x and y coordinates of soucre and destination. I was sucessfuly
> able to implement drag and drop but with harded x and y coordinates of
> source and destination.
>
> I am reseaching on how to get elements (div, span) x and y coordinates??
>
> Any ideas how can I fix this?
>
>
> Thanks,
> Arati
Forgot to mentioned the function name 'MouseClickDrag'.
--
Posted via
http://www.ruby-...
.
Max Williams
12/19/2008 2:49:00 PM
0
Arati Sawant wrote:
> Arati Sawant wrote:
>> Hi,
>>
>> I have a set of draggable objects inside a span. I tried to implement
>> drag n drop using win32ole library. I used '' function. This funtion
>> requires x and y coordinates of soucre and destination. I was sucessfuly
>> able to implement drag and drop but with harded x and y coordinates of
>> source and destination.
>>
>> I am reseaching on how to get elements (div, span) x and y coordinates??
>>
>> Any ideas how can I fix this?
>>
>>
>> Thanks,
>> Arati
>
> Forgot to mentioned the function name 'MouseClickDrag'.
Have a look at jQuery, it has a variety of different plugins for this
sort of thing.
--
Posted via
http://www.ruby-...
.
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
How to implement drag and drop
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password