nielsv
nielsv

Reputation: 6800

Responsive image slider particular case

I'm looking for an responsive image slider for a particular case.
This is what I would look to happen on desktop/tablet/mobile.

enter image description here

You can also swipe through the images on tablet/mobile.
It's important that the images don't need to have the same width. (height is always the same)

Does someone knows a js library for this?
I searched but most of the time you only have view of 1 image.

Upvotes: 3

Views: 1168

Answers (2)

Christina
Christina

Reputation: 34652

The lemmon slider works great with Touch Swipe. The instructions to add this are here:

https://github.com/lemmon/Lemmon-Slider/issues/5#issuecomment-25177163

Upvotes: 2

Khior
Khior

Reputation: 1254

How's this?

http://jquery.lemmonjuice.com/plugins/slider-variable-widths.php

It supports IE6+ and is very lightweight. You can easily make it responsive by wrapping it in a div with overflow: hidden; that varies in width as you require. Alternatively, you could have a go at rewriting it as you require (it's quite a lightweight script!)

Upvotes: 3

Related Questions