Assign an event handler to the links that stops event propagation
(a.k.a "bubbling").
- David
Am 27.02.2006 um 12:58 schrieb Robin Haswell:
Hey guys
I have an interesting problem - I have some draggable elements
(sortable
actually), with links (<A>) inside them. I want the user to be able to
click on the link, however if the user drags the element I don't want
the link to get fired. Can anyone think of a way to do this? It only
needs to work in Firefox.
Cheers
-Rob
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs