Instead of extending the draggable, how 'bout simply adding an attribute to the element itself, or using the element's className?

TAG

On Jun 14, 2006, at 1:49 AM, Hugo Magalhaes wrote:

Hello all,
I want to extend a draggable object so it has one more attribute (type
attribute, so I can distinguish different draggable types).
Can anyone tell me how to do it?
I've search throught the examples (like
http://wiki.script.aculo.us/scriptaculous/show/ExtendClass) but I
can't seem to understand what I should do.

Thanks for you help,
H
_______________________________________________
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

Reply via email to