logo       

Re: afterFinish option not working as expected: msg#00093

lang.ruby.rails.spinoffs

Subject: Re: afterFinish option not working as expected

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-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@xxxxxxxxxxxxxxxx
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise