Thanks,

For this problem I solved it by setting a specific anchor to drag
(without links).
But Setting 300 anchors is slow...

May be If I set the anchor Draggable only onMouseDown it would works ?
It would be a lazy solution ?


On 2/22/07, Tom Gregory <[EMAIL PROTECTED]> wrote:
>
> Drag/drop takes advantage of the mousedown, mouseup, and mousemove
> events.  The link is followed based on the click event, which is
> fired after mouseup.  You'd need to stop() it there.  One possible
> method is to set the time of the mouseup on the a element, trap the
> click event, and stop it if the current time and stamped time differ
> by too much.
>
> An alternative is to set up handles for your draggable, so it can't
> be dragged by the link.
>
>
> TAG
>
> On Feb 13, 2007, at 5:50 AM, Jean-Philippe Encausse wrote:
>
> > I only have an issue while dragging a links (<a href>) without
> > dropping: the link is followed and I can't stop the Event.
> >
> > I try to set an Event.observe during onHover() then stop it during
> > onDrop() but it stop too soon. Any Idea ?
> >
> > --
> > Jean-Philippe Encausse - R&D Jalios SA
> > Jp [at] encausse.net - http://www.encausse.com - http://www.jalias.com
> > GTalk: jp.encausse [at] gmail.com - SMS: sms [at] jp.encausse.net
> > Mob: +33 6 82 12 56 99 Jalios: +33 1 39 23 92 83 Tel: +33 1 39 18
> > 90 15
> > Do it Once, Use it Twice ~ Do it Twice, Make It Once
>
> >
>


-- 
Jean-Philippe Encausse - R&D Jalios SA
Jp [at] encausse.net - http://www.encausse.com - http://www.jalias.com
GTalk: jp.encausse [at] gmail.com - SMS: sms [at] jp.encausse.net
Mob: +33 6 82 12 56 99 Jalios: +33 1 39 23 92 83 Tel: +33 1 39 18 90 15
Do it Once, Use it Twice ~ Do it Twice, Make It Once

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Spinoffs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to