You must enclose your calls in an anonymous function() definition, like this:
Effect.BlindDown( mydiv, { afterFinish: function() { Form.enable(myform); }); Cheers, Thomas Am 17.11.2005 um 23:07 schrieb Andrew Kaspick:
Hello, I'm trying to use the afterFinish parameter on the BlindDown effect, but it's not working as I expect it to. My function appears to be called just as the effect is starting, not when the BlindDown is complete (finished drawing). Here's the code that I'm using for the most part... Effect.BlindDown( mydiv, { afterFinish:Form.enable(myform) } ) Any ideas? Thanks, Andrew _______________________________________________ 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