Onmouseup / onmousedown / onclick / onmousemove events?

Jim.


Sorry I wasn't clear!

If I drag the <li> by clicking on the <a> the <a>'s onclick is fired as well as the <li>'s drag. What I want is for the <a> click event to be fired ONLY if the <li> is not dragged.

So, I guess I need to call an Event.stop(e) from the sortables's onUpdate function, which will stop the <a> onclick from occuring. However, the onUpdate function only passes you the element that was updated - not the event associated with it.

Cheers
rob
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

Reply via email to