Prototype / Scriptaculous Cycle Plugin (Slideshow)

I have a bunch of websites that use several Prototype / Scriptaculous plugins such as lightbox and modalbox, so they contain links to these two libraries on different pages.

Now I need to implement a slide show on each page, and to follow suit, I need a Prototype loop or a slide show plugin. The requirements are pretty simple:

  • images should fade in / out every N seconds
  • four controls: prev, pause, play, next
  • I would prefer to add images to the slideshow via JavaScript; without adding too many tags

Can anyone suggest an existing plugin that can be easily configured and not inflated like most other plugins.

Here is a jQuery plugin that provides similar functionality: http://malsup.com/jquery/cycle/lite/

+3
source share
1 answer

Prototype Carousel is a lightweight plugin for Prototype and Scriptaculous. It's not as cool as the jQuery Cycle plugin, but it does the job.

If something you want to do is not built-in (for example, pause / play ), check the "Problems" forum; There are several code fixes and code suggestions submitted by the community.

+1
source

Source: https://habr.com/ru/post/1740106/


All Articles