e
>>>> >> seen
>>>> >> that's no problem. The problem is that example in the showcase just
>>>> shows
>>>> >> a
>>>> >> simple javascript subscribing to the drop action. I would need to
>>>> get the
&g
Hey Ignacio,
I’m not a big fan of integrated ajax functionality. While it provides a
simple solution at first when you need something a little more complex or
customised it starts to show it’s limitations.
Rather than using the sx;div tag why not just use a plain div and then use a
jQuery ajax ca
>> A) Get the coords inside the big div where the small image was dropped.
>> B) How to set those x & y coords as a remote div action parameters.
>>
>> Hope this is simple to achieve.
>>
>> Thanks for any directions,
>> Ignacio
>
>
>
--
Hi Ignacio,
It not jQuery specific but more extracting the coordinates of the event
using javascript. Depending on what your doing you have six pairs to choose
from:
clientX,clientY
layerX,layerY
offsetX,offsetY
pageX,pageY
screenX,screenY
x,y
Without knowing exactly what you¹re doing, I can onl
B) How to set those x & y coords as a remote div action parameters.
Hope this is simple to achieve.
Thanks for any directions,
Ignacio
--
View this message in context:
http://old.nabble.com/Using-Struts2-JQuery-drag---drop-tp26147665p26147665.html
Sent from the Struts - User mailing lis
5 matches
Mail list logo