jQuery Touch Optimized Sliders "R"Us

The one-stop-shop jQuery plugin for scrolling/swiping through all different kinds of content. On a desktop, tablet or smartphone, inside a HTML element or as a lightbox popup.

The plugin is responsive by default, so try resizing your browser.
This is a demo-page, for the full documentation and more examples, please visit TosRUs.frebsite.nl


Lightbox popup examples

Fire the plugin on a (set of) thumbnail(s) and it will create a lightbox popup with a slider for the enlarged images.
The plugin will automatically create a gallery from the targeted anchors.

This lightbox has been set up with a thumbnail pagination:

$("#example a").tosrus({
   pagination : {
      add        : true,
      type       : "thumbnails"
   }
});

This lightbox has been set up so that the images fill up the entire screen and has captions and a bullet pagination:

$("#example a").tosrus({
   pagination : {
      add        : true
   },
   caption    : {
      add        : true
   },
   slides     : {
      scale      : "fill"
   }
});

Besides images, you can also scroll through YouTube and Vimeo video's and any other type of HTML:

$("#example a").tosrus();

Inline slider examples

Fire the plugin on a "wrapper" with existing content, and the popup gallery is replaced with an inline slider.
Just like the lightbox popup, the slides in this slider are responsive by default.

This slider has been set up to show three slides and is infinite:

$("#example").tosrus({
   infinite   : true,
   slides     : {
      visible    : 3
   }
});

This slider has been set up to so that the images fill up the wrapper. It has no buttons, only a pagination:

$("#example").tosrus({
   buttons    : false,
   pagination : {
      add          : true
   },
   slides     : {
      scale      : "fill"
   }
});

About the images

All images on this demo-page are hosted on lorempixel.com.
Because these images are generated by a server-side script, they don't end with ".jpg" or something similar. To ensure the plugin would still recognise the url as an image, "?img.jpg" was added to the url.

Why cats?
Because everybody loves cats, right?