I think this would work, I
can set the onclick to evaluate a false function, this is my stanrd
method of doing things like this. Strangely I don't think the
event.observe(el, "click") method works for this. Cheers -Rob Chris Lear wrote: * Robin Haswell wrote (27/02/06 12:12):Yeah I'm aware of this option. It's not ideal, as this is a CMS and I don't want the admin view of the site to be too different. Plus these elements are really small. I'd rather get a proper solution rather than a hack :-/Draggables have onStart and onEnd events. You could use these to change the onClick event for the <a> tag to a null event when the draggable is being dragged, and back again when it stops, maybe. I don't know whether this will work, because I use handles myself.Chris _______________________________________________ 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