Default options are set in the source, and in the base effect and sub
effects have custom options "extended" onto them with object.extend.
Since the options I believe are stored outside of class definitions,
it's possible to extend/override them at the top of your file, as long
as that's after the prototype/scriptaculous source, by running an
object.extend on them. For how to do this, take a look at the source
because what that's doing at the moment is getting the default options
and extending custom options onto them - if you extend the default
options first, whenever the effect code runs the default options it
will know about are the ones you will have extended.

On Sep 24, 1:40 pm, Tom Nichols <[EMAIL PROTECTED]> wrote:
> Is there a way to set the default transition used by all effects?
> Effect.DefaultOptions.transition does not seem to work.  I looked at
> the source but nothing stood out.  Even setting the default transition
> for individual effects would be nice :)
>
> Thanks.
> -Tom
--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to