Slick 1.9.0 script tag is not loading
See original GitHub issuecdn.jsdelivr.net/gh/kenwheeler/slick@1.9.0/slick/slick.min.js returns an error.
====================================================================
Steps to reproduce the problem
<!-- Add the slick-theme.css if you want default styling -->
<link rel="stylesheet" type="text/css" href="//cdn.jsdelivr.net/gh/kenwheeler/slick@1.9.0/slick/slick.css"/>
<!-- Add the slick-theme.css if you want default styling -->
<link rel="stylesheet" type="text/css" href="//cdn.jsdelivr.net/gh/kenwheeler/slick@1.9.0/slick/slick-theme.css"/>
Then, before your closing <body>
tag add:
<script type="text/javascript" src="//cdn.jsdelivr.net/gh/kenwheeler/slick@1.9.0/slick/slick.min.js"></script>
====================================================================
What is the expected behaviour?
the library should be loaded, instead there is this error.
$(…).slick() is not a function.
====================================================================
More Details
-
Which browsers/versions does it happen on? Chrome - Version 67.0.3396.62 (Official Build) (64-bit)
-
Which jQuery/Slick version are you using? 1.9, it works with 1.8
-
Did this work before? I don’t know, probably stopped working at some time. This is the first time i tried.
Issue Analytics
- State:
- Created 5 years ago
- Comments:7
Top Results From Across the Web
Slick Slider is not loading in Browser - Stack Overflow
I was not including https: in my link tag and in one of the three script. Plunker was able to load the files...
Read more >How to load slick.js from CDN - Mogu Blog
I gather CDN of slick.js which can make slider easily. CSS is also included in below code, so it is easy to adjust...
Read more >slick-carousel-latest - npm
Accepts 'ondemand' or 'progressive' for lazy load technique. 'ondemand' will load the image as soon as you slide to it, 'progressive' loads one ......
Read more >slick - the last carousel you'll ever need - Ken Wheeler
slick is a responsive carousel jQuery plugin that supports multiple breakpoints, CSS3 transitions, touch events/swiping & much more!
Read more >TypeError: $(...).slick is not a function in jQuery | bobbyhadz
To solve the "$(...).slick is not a function" jQuery error, make sure to load the jQuery library before loading the slick library. The...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Awesome beginner tip: include this lib by URL that returns 404. Nice guide. The developer hints at the start that bugs in the documentation are fully guaranteed Many thanks to developer.
@GustavoRSSilva Yes, it is. You can use this one.
https://cdnjs.com/libraries/slick-carousel