On Tue, Nov 18, 2008 at 19:58, Karl Swedberg <[EMAIL PROTECTED]> wrote:
> On Nov 18, 2008, at 9:02 AM, Dylan Verheul wrote:
> Hmm, I actually checked the docs for that because that would make
> .toggle an unsuitable overloader. The docs said toggle doesn't take
> arguments:
>
> Hmmm, indeed. :) Not so much outdated as incomplete. I just went ahead and
> added it to the docs:
> http://docs.jquery.com/Effects/toggle#speedcallback

Good :-) Anyway, that means no simple overloading method is available.
Of course it's no problem to code it or even to write a plugin, but I
thought overloading an existing function would make for an interesting
and probably often-used functionality, which was the point of starting
this thread.

Reply via email to