> Could you set these as options with Appear and Fade as the defaults > { > showeffect: function() { Effect.Appear.... }, > hideeffect: function() { Effect.Fade.... } > } > > That way I can make it looks as screwy as I want! > > Check out the Draggable.prototype definition for how to do this.
Sure, I can add that, but I like the idea of having predefined pairings available as well. So, if you pass in your own, it won't use a pre-defined. The functions will need to accept an element argument, like this: { showeffect: function(element) { Effect.Appear(element) }, hideeffect: function(element) { Effect.Fade(element) } } I'd also like to make it so you can pass in effect options when using a pre-defined pairing. So, maybe have this also: { showoptions: { duration: 0.2 }, hideoptions: { duration: 0.4 } } What do y'all think? Greg _______________________________________________ Rails-spinoffs mailing list Rails-spinoffs@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs