jQurty HTML Content Carousel Plugin - jcarousel

jQurty HTML Content Carousel Plugin - jcarousel

jcarousel is a simple and fast jQuery carousel slideshow plugin for controlling a list of items in horizontal or vertical order. It also supports for connecting two carousels together so that one carousels acts as a navigation for the other.

You might also like:

Basic usage:

1. Include the latest jQuery and jQuery jcarousel plugin on your page

<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script type="text/javascript" src="dist/jquery.jcarousel.min.js"></script>

2. The CSS

.carousel-wrapper {
margin: 20px auto;
position: relative;
border: 10px solid #fff;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
-webkit-box-shadow: 0 0 2px #999;
-moz-box-shadow: 0 0 2px #999;
box-shadow: 0 0 2px #999;
.carousel-wrapper .photo-credits {
position: absolute;
right: 15px;
bottom: 0;
font-size: 13px;
color: #fff;
text-shadow: 0 0 1px rgba(0, 0, 0, 0.85);
opacity: .66;
.carousel-wrapper .photo-credits a {
color: #fff;
/** Carousel **/
.carousel {
position: relative;
overflow: hidden;
width: 600px;
height: 400px;
.carousel ul {
width: 20000em;
position: absolute;
list-style: none;
margin: 0;
padding: 0;
.carousel li {
float: left;
/** Carousel Controls **/
.carousel-control-prev, .carousel-control-next {
position: absolute;
top: 200px;
width: 30px;
height: 30px;
text-align: center;
background: #4E443C;
color: #fff;
text-decoration: none;
text-shadow: 0 0 1px #000;
font: 24px/27px Arial, sans-serif;
-webkit-border-radius: 30px;
-moz-border-radius: 30px;
border-radius: 30px;
-webkit-box-shadow: 0 0 2px #999;
-moz-box-shadow: 0 0 2px #999;
box-shadow: 0 0 2px #999;
.carousel-control-prev {
left: -50px;
.carousel-control-next {
right: -50px;
.carousel-control-prev:hover span, .carousel-control-next:hover span {
display: block;

3. Markup HTML Structure. Configuration is done via data-* attributes.

<div class="carousel-wrapper">
<div data-jcarousel="true" data-wrap="circular" class="carousel">
<li><img src="img1.jpg" width="600" height="400" alt=""></li>
<li><img src="img2.jpg" width="600" height="400" alt=""></li>
<li><img src="img3.jpg" width="600" height="400" alt=""></li>
<li><img src="img4.jpg" width="600" height="400" alt=""></li>
<li><img src="img5.jpg" width="600" height="400" alt=""></li>
<li><img src="img6.jpg" width="600" height="400" alt=""></li>
<a data-jcarousel-control="true" data-target="-=1" href="#" class="carousel-control-prev">&lsaquo;</a> 
<a data-jcarousel-control="true" data-target="+=1" href="#" class="carousel-control-next">&rsaquo;</a> 

4. The javascript

(function($) {
  $(function() {
    $('[data-jcarousel]').each(function() {
      var el = $(this);
    $('[data-jcarousel-control]').each(function() {
      var el = $(this);

Change logs:

v0.3.5 (2018-02-17)

  • Fixed reload called on page scroll on iOS.
  • Use element() to determine orientation for detecting vertical mode.


  • Improve reloading carousel on window resize

v0.3.4 (2015-09-24)

  • Autoscroll plugin now pauses scrolling when the window or tab becomes hidden

v0.3.3 (2015-02-28)

  • Fixed hasNext() for centered carousels
  • Cleaned up .gitattributes to include package manager files

v0.3.2 (2015-02-23)

  • Fixed page calculation in pagination plugin
  • Fixed incompatibility with jQuery < 1.9

v0.3.1 (2014-04-27)

  • Fixed hasNext/hasPrev in underflow mode
  • Fixed wrong page calculation on reload for pagination plugin
  • Added new method reloadCarouselItems to pagination plugin

v0.3.0 (2013-11-23)

  • Stable release of the completely rewritten plugin.

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

  • Publication date: 17.02.2018
  • Source

Whoops, looks like something went wrong.

(1/1) ErrorException

file_put_contents(): Only 0 of 237 bytes written, possibly out of free disk space

in Filesystem.php (line 122)
at HandleExceptions->handleError(2, 'file_put_contents(): Only 0 of 237 bytes written, possibly out of free disk space', '/home/p336588/web/ivanovdmitry.com/public_html/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php', 122, array('path' => '/home/p336588/web/ivanovdmitry.com/public_html/storage/framework/sessions/xkLpZoJQvSqScWcIXQJoTnHyWOwE0we5FNACYvH5', 'contents' => 'a:3:{s:6:"_token";s:40:"jvgZWh4twvLo7lKhB5rYmWEiA638j5mGEeIO3Hjg";s:9:"_previous";a:1:{s:3:"url";s:79:"http://ivanovdmitry.com/blog/post/jqurty-html-content-carousel-plugin-jcarousel";}s:6:"_flash";a:2:{s:3:"old";a:0:{}s:3:"new";a:0:{}}}', 'lock' => true))
at file_put_contents('/home/p336588/web/ivanovdmitry.com/public_html/storage/framework/sessions/xkLpZoJQvSqScWcIXQJoTnHyWOwE0we5FNACYvH5', 'a:3:{s:6:"_token";s:40:"jvgZWh4twvLo7lKhB5rYmWEiA638j5mGEeIO3Hjg";s:9:"_previous";a:1:{s:3:"url";s:79:"http://ivanovdmitry.com/blog/post/jqurty-html-content-carousel-plugin-jcarousel";}s:6:"_flash";a:2:{s:3:"old";a:0:{}s:3:"new";a:0:{}}}', 2)in Filesystem.php (line 122)
at Filesystem->put('/home/p336588/web/ivanovdmitry.com/public_html/storage/framework/sessions/xkLpZoJQvSqScWcIXQJoTnHyWOwE0we5FNACYvH5', 'a:3:{s:6:"_token";s:40:"jvgZWh4twvLo7lKhB5rYmWEiA638j5mGEeIO3Hjg";s:9:"_previous";a:1:{s:3:"url";s:79:"http://ivanovdmitry.com/blog/post/jqurty-html-content-carousel-plugin-jcarousel";}s:6:"_flash";a:2:{s:3:"old";a:0:{}s:3:"new";a:0:{}}}', true)in FileSessionHandler.php (line 83)
at FileSessionHandler->write('xkLpZoJQvSqScWcIXQJoTnHyWOwE0we5FNACYvH5', 'a:3:{s:6:"_token";s:40:"jvgZWh4twvLo7lKhB5rYmWEiA638j5mGEeIO3Hjg";s:9:"_previous";a:1:{s:3:"url";s:79:"http://ivanovdmitry.com/blog/post/jqurty-html-content-carousel-plugin-jcarousel";}s:6:"_flash";a:2:{s:3:"old";a:0:{}s:3:"new";a:0:{}}}')in Store.php (line 128)
at Store->save()in StartSession.php (line 88)
at StartSession->terminate(object(Request), object(Response))in Kernel.php (line 218)
at Kernel->terminateMiddleware(object(Request), object(Response))in Kernel.php (line 189)
at Kernel->terminate(object(Request), object(Response))in index.php (line 58)