Small Cross-browser Slideshow Plugin For jQuery - offbeatSlider

File Size: 13.3 KB
Views Total: 2493
Last Update:
Publish Date:
Official Website: Go to website
License: MIT
Small Cross-browser Slideshow Plugin For jQuery - offbeatSlider

offbeatSlider is a small, responsive, cross-browser jQuery carousel/slideshow plugin where the slides (images or text) fade to next one when you click on the navigation & pagination controls. Also supports autoplay mode that allows to automatically fade through slides at a certain speed.

How to use it:

1. Add jQuery library and the jQuery offbeatSlider plugin's files to the webpage.

<link rel="stylesheet" href="css/offbeat-slider.css">
<script src="//"></script>
<script src="js/offbeat-slider.js"></script>

2. Add your own slide content (images+text) together with the image descriptions and navigation & pagination controls to the webpage.

<div class="ofp-slider">

  <div class="ofp-slides ofp-slides-text">
    <p style="font-size: 4em;">
        The <br/>
        first <br/>

  <div class="ofp-slides">
    <img src="2.jpg">
    <p class="ofp-top-middle" style="color: #efefef; font-size: 1em; font-weight: bold;">
        Description for the picture

  <img class="ofp-slides" src="3.jpg">
  <img class="ofp-slides" src="4.jpg">

  <div class="ofp-slider-navigation ofp-top-left">
      <div class="ofp-arrow-left">&#10096;</div>
      <div class="ofp-arrow-right">&#10097;</div>

  <div class="ofp-slider-navigation ofp-center ofp-bottom-middle">
      <span class="ofp-slider-dots"></span>
      <span class="ofp-slider-dots"></span>
      <span class="ofp-slider-dots"></span>
      <span class="ofp-slider-dots"></span>


3. Initialize the plugin to generate a default slideshow.


4. Here is a list of default options to customize the slideshow plugin.


  // start index
  slideStartIndex: 1,

  // enable animation
  animate: true,

  // autoplay?
  carousel: false,

  // autoplay delay
  carouselDelay: 3000,

  // animation duration
  duration: 1000,

  // easein, linear, ...
  easing: "linear" 

Change log:


  • Fixed carousel timer.


  • CSS update: slider dots and arrows are now bigger when displayed on a smaller screen

This awesome jQuery plugin is developed by PioBeat. For more Advanced Usages, please check the demo page or visit the official website.