Simple jQuery Image Slider with Next Previous Buttons

Yet another simple, lightweight and easy to use carousel plugin for jQuery. This jQuery plugin creates a simple image slider with next and previous buttons. The plugin “Carroussel”, requires nothing from you except src link of the image. Then it will dynamically build simple UI for the slider.

Moreover, the plugin comes with built-in fading effect. It can be fully customize with additional CSS to fit on your needs.

Plugin Overview

Plugin: Carroussel
Author: falmeidapavao
Licence: MIT Licence
Published: September 5, 2019
Repository: Fork on GitHub
Dependencies: jQuery 1.3.1 or Latest version
File Type: zip archive (HTML, CSS & JavaScript )
Package Size: 5.33 KB

How to Use Image Slider with Next Previous Buttons

1. Load jQuery (JavaScript library) and Carroussel‘s CSS & JS file into your HTML document.

<!-- jQuery -->
<script src=""></script>

<!-- Carroussel CSS -->
<link rel="stylesheet" href="styles/styles.css">

<!-- Carroussel JS -->
<script src="js/carroussel.js"></script>

2. After that create a div element with a unique id in which your image slider created dynamically.

<div id="image-slider"></div>

3. Now, define your images src in plugin’s option and initialize in jQuery document ready function.

let options = {
      animation: 'fade',
      mode: 'auto',
      items: [
        { 'src': 'path/to/image.jpg' },
        { 'src': 'path/to/image.jpg' },
        { 'src': 'path/to/image.jpg' }

Note: The plugin will automatically creates HTML structure for this simple jQuery image slider (including next previous buttons). So, you don’t need to create anything manually.

Be the first to comment

Leave a Reply

Your email address will not be published.


eleven + 6 =

This site uses Akismet to reduce spam. Learn how your comment data is processed.