Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2017-03-15 01:50:18

phiw13
Plugin Author
From: Japan
Registered: 2004-02-27
Posts: 1,184
Website

Suggestions for slideshow scripts?

Does anyone knows decent, light-weight slideshow scripts (Jquery based) that don’t rely on Jquery “animation effects” functions? Background: Jquery has now a “slim” package available that is ~20KB lighter; gzipped it is 6KB lighter. Not a huge difference, but anything that reduces the payload is a win. For the difference see this Stackoverflow. I didn’t find any documentation on the Jquery site itself, strangely.

For years I have used the excellent Malsup scripts:
Basic slideshow:
http://jquery.malsup.com/cycle2/tcycle/
advanced:
http://jquery.malsup.com/cycle2/
But both rely on the Jquery animation functions to work (else they throw an error).

Offline

#2 2017-03-15 06:37:50

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 6,238
Website

Re: Suggestions for slideshow scripts?

Would responsive slides do it for you? 3.32 KB minified.


Yiannis
——————————
neme.org | hblack.net | LABS | NeMe @ github

Offline

#3 2017-03-15 08:25:52

phiw13
Plugin Author
From: Japan
Registered: 2004-02-27
Posts: 1,184
Website

Re: Suggestions for slideshow scripts?

colak wrote #304755:

Would responsive slides do it for you? 3.32 KB minified.

That one is nice, I’ve used it in the past as well. Unfortunately, it seems to have some issue with the slim version of Jquery 3.1.1.

TypeError: $tabs.bind is not a function. (In '$tabs.bind', '$tabs.bind' is undefined) [In jquery-3.1.1.slim.min.js:2:31859]

TypeError: $slide.stop is not a function. (In '$slide.stop(true, true)', '$slide.stop' is undefined) [In responsiveslides.js:235]

That might be fixable, I‘m not sure how, though :-(

Offline

#4 2017-03-15 09:18:04

philwareham
Core designer
From: Farnham, Surrey, UK
Registered: 2009-06-11
Posts: 2,815
Website

Re: Suggestions for slideshow scripts?

Hi.

Try Slick, I use it in my framework (in which I’m also using jQuery v3 Slim now) and it works as intended.

It also works on touch swipe unlike a lot of slideshows.

Offline

#5 2017-03-15 10:22:53

phiw13
Plugin Author
From: Japan
Registered: 2004-02-27
Posts: 1,184
Website

Re: Suggestions for slideshow scripts?

philwareham wrote #304758:

Try Slick, I use it in my framework (in which I’m also using jQuery v3 Slim now) and it works as intended.

Slick looks interesting, and in a quick test works fine indeed. It would probably cover my needs on various sites. It is a bit more heavy though – 49KB gzipped.

Offline

Board footer

Powered by FluxBB