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 BlindDow
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.B
Sounds good Greg. I don't see why it shouldn't be included as part of
Scriptaculous - it seems like a very standard feature. There could be an
option for Draggables to turn it on, so that it doesn't affect existing
scripts. Plus, having a choice is always a good thing.
James
- Original