[jQuery] Re: Skipping a slide with Cycle Plugin
> it'll just keep creating new elements in the DOM. So I was wondering > if there's a way to remove elements from the slideshow while it's > running? No, there is no direct support for that in the plugin, short of stopping, manipulating and restarting the slideshow.
[jQuery] Re: Skipping a slide with Cycle Plugin
I've found a way around this by keeping a separate list of all the slides and add the necessary ones before the slideshow ends with the addSlide method. This works fairly well, but there's an issue because it'll just keep creating new elements in the DOM. So I was wondering if there's a way to remove elements from the slideshow while it's running? On Oct 3, 7:12 am, Charlie wrote: > instead of considering having Cycle skip the slide you could use a time > function that determines what slides are put in DOM before calling Cycle > Mike Alsup wrote:This isn't supported directly by the plugin. The only thing > I can think of is using a dynamic timeout and setting it to 1 for that slide. > I have a hunch it won't work terribly well though. Mike On Oct 1, 10:00 am, > Garrison Lockewrote:Does anyone know how to disable a > slide or skip one based on some dynamic piece of information? For example, I > want to skip a particular slide based on the time of day.
[jQuery] Re: Skipping a slide with Cycle Plugin
instead of considering having Cycle skip the slide you could use a time function that determines what slides are put in DOM before calling Cycle Mike Alsup wrote: This isn't supported directly by the plugin. The only thing I can think of is using a dynamic timeout and setting it to 1 for that slide. I have a hunch it won't work terribly well though. Mike On Oct 1, 10:00 am, Garrison Locke wrote: Does anyone know how to disable a slide or skip one based on some dynamic piece of information? For example, I want to skip a particular slide based on the time of day.
[jQuery] Re: Skipping a slide with Cycle Plugin
This isn't supported directly by the plugin. The only thing I can think of is using a dynamic timeout and setting it to 1 for that slide. I have a hunch it won't work terribly well though. Mike On Oct 1, 10:00 am, Garrison Locke wrote: > Does anyone know how to disable a slide or skip one based on some > dynamic piece of information? For example, I want to skip a > particular slide based on the time of day.