Reputation: 1
I want to create a carousel using Cycle with the following effects:
Questions: 1. How could one do it so that the transitions are smooth (like that of a flash slideshow)? I thought about hiding the text/images and animating them when the "after" function is called.
Thanks in advance.
Vincent
Upvotes: 0
Views: 1398
Reputation: 214
Keeping the transitions smooth is a balance between the complexity of the slide, the efficiency of the javascript interpreter rendering the page, and the processing power of the client. They only part you can control is the complexity of the slide: minimize graphics and animation. Stop running animations when a slide is leaving view, and begin animation of the slide that just enters view to minimize the processing load.
Here is an example of how to use the before: and after: callbacks to trigger slide-specific events and other plugins:
Upvotes: 1