Search the blog

I recently used the excellent jQuery Slick only to find the pauseOnHover options wasn’t working. Thankfully, it's easy to implement this yourself using the following code.

$('div.your-slick-slider').hover(function() {
   
    $(this).slick('slickPause');
   
}, function() {
   
    $(this).slick('slickPlay');
   
});
Tim Bennett is a freelance web designer from Leeds. He has a First Class Honours degree in Computing from Leeds Metropolitan University and currently runs his own one-man web design company, Texelate.