Sorry it was stupid question - I may set condition before even creating effect. Sorry - no question

Sorry if the subject was ever discussed, but I cannot find any hint
for it. My question is as follows:

Is there any way to get reference to the Effect from within the
callback function?

new Effect.BlindUp(element, {
        duration: 0.5,
        beforeStart: function()
                if(condition) {
                        // here I need reference to the Effect, to cancel it 
(for egzample)

Tried bind "this" on some different ways without success.

Appreciate any help.


You received this message because you are subscribed to the Google Groups "Prototype 
&" group.
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

Reply via email to