Overview

Basic demo that shows how to display captions with mbSlider. Captions are pulled from the title attribute of the image for the slide. Optionally you may add animation classes using captionCustomClass options property.

Add captions to setup:

captions: true,
captionsCustomClass:'animated fadeInUp fadeOutDown' // Optional caption animation

Setup

var slider = $('#demoSlider').mbSlider({
  captions: true,
  captionsCustomClass:'animated fadeInUp fadeOutDown'
});
Torna all'inizio