jquery-background-slideshow

1.0.11 • Public • Published

jquery-background-slideshow plugin

It

  • is mobile friendly, loads images only before shown,
  • pre loads only the next image shown,
  • uses a fade transition for the images,
  • works in all modern browsers and the internet explorer (not tested with IE < 11).

Demo Page

GitHub Repository

Usage:

$.backgroundSlideshow({
    delay: 10000, // delay between images in seconds, optional, defaults to 5000
    transitionDuration: 3000, // optional, defaults to 3000
    onBeforeTransition: callbackBeforeShowingAnImage, // optional
    onAfterTransition: callbackAfterShowingAnImage, // optional
    images: ["image1.jpg", "image2.jpg", "image3.jpg"]
})

Package Sidebar

Install

npm i jquery-background-slideshow

Weekly Downloads

0

Version

1.0.11

License

MIT

Unpacked Size

5.03 MB

Total Files

10

Last publish

Collaborators

  • shaack