API - Default Properties.
mbSlider has over 18 properties for you to customise to really make it fit your site. Customisation is not neccesary, mbSlider will work 'as is' without any customisation; It will simply use its own default property configuration.
You can check out some examples of mbSlider with various different property configurations in the examples section.
You can view a full list of avialable properties and their values in the properties section.
mbSlider default property settings.
$("#slider").mbSlider({
autoplay: false,
showControls: {
next: true,
prev: true,
play: true,
pause: true,
first: true,
last: true
},
playPauseButtonSeperate: true,
controlsText: {
next: "Next",
prev: "Previous",
play: "Play",
pause: "Pause",
first: "First",
last: "Last"
},
controlsLocation: "internal",
slideDuration: 5000,
slideSpeed: 800,
backToStart: true,
backToStartSpeed: 200,
backToEnd: true,
backToEndSpeed: 200,
startSlide: 1,
pagination: false,
paginationLocation: "internal",
pauseOnHover: false,
orientation: "horizontal",
playDirection: "right",
continuous: false,
easing: ""
})
These are the default properties for mbSlider if you were to instantiate mbSlider like so:
$("#slider").mbSlider()
- mbSlider:
- Current Version: v1.1.1
- Download
- How To Install mbSlider
- Features
- FAQ's
- Examples
- Source Code Generator
- mbSlider API:
- Properties
- Default Properites
- Notes
- mbTools:
- mbSlider