Hi Mike, I think you are most likely right because Firebug doesn't output
any errors.

However, defer() does not seem to be doing what I expected it to. When a
user clicks the buttons very quickly, the fading images might either flicker
or disappear. I didn't want to queue the fade/appear effects, but instead
wanted to prevent the fade/appear effects from triggering when the image is
currently undergoing a fade/appear effect. Do you know if this is even
possible?

- Paul


On Wed, Jul 15, 2009 at 7:28 AM, Mike Glen <[email protected]> wrote:

>
> Paul Kim wrote:
> > Basically, this is the error I get from firebug when I run
> > slideshow.showSlide(i).defer():
> > slideshow.showSlide(i).defer() is undefined
> >
> > How can I defer the showSlide() function so that when users click on
> > the buttons too quickly, it will wait for the interpreter to idle
> > before attempting to run the showSlide() function again.
> > I think I am on the right track in trying to use defer(), instead of
> > queueing the effect to suppress events being fired too quickly.
> > However, I don't know whether my use of defer() is correct.
> >
> i think it might need to be slideshow.showSlide.defer(i)
>
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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