Sorry it was stupid question - I may set condition before even creating
effect. Sorry - no question
-wz
Hi
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?
Sample:
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.
-wz
--
You received this message because you are subscribed to the Google Groups "Prototype
& script.aculo.us" group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com.
To unsubscribe from this group, send email to
prototype-scriptaculous+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/prototype-scriptaculous?hl=en.