Slick: jquery 3.3.1 dont work with .regular slider.

Created on 2 May 2018  Â·  6Comments  Â·  Source: kenwheeler/slick

i know this have been posted before but they just didnt really show me what they did i heard something about .on ready? what about?? what about telling what to change it to :/ or what i should add.

https://jsfiddle.net/s2aj0zex/

====================================================================

Steps to reproduce the problem

  1. ... changing to 2+ works but 3+ dont.
  2. ... tried moving the links around on different places no work.

====================================================================

What is the expected behaviour?

...

====================================================================

What is observed behaviour?

...

====================================================================

More Details

  • Which browsers/versions does it happen on?
    Google chrome, edge, fox, rest
  • Which jQuery/Slick version are you using?
    1.9.0 slick
  • Did this work before?
    it works on 2+ jquery

Most helpful comment

Before:

$(document).ready(function() {
    // ...
});

jQuery 3:

$(function() {
    // ...
});

All 6 comments

I have this same problem

Change JQUERY 2.2.0 to 3.3.1 Only see vertical images (placehold)

I use Firefox 59.0.3

I guess you are running into this breaking change in jQuery 3: https://jquery.com/upgrade-guide/3.0/#deprecated-document-ready-handlers-other-than-jquery-function

if thats the case i need to add

1234 | $(fn);$().ready(fn);$(document).ready(fn);$("selector").ready(fn);
-- | --

?? or how i do this

Before:

$(document).ready(function() {
    // ...
});

jQuery 3:

$(function() {
    // ...
});

Great is there a way to make the sliders response? Right now all images just clash into each so there is example 6 images but only half of em viewable cuz they all clashing

When i try go mobile

Sendt fra min iPhone

Den 20. jul. 2018 kl. 16.48 skrev Alexander Schranz <[email protected]notifications@github.com>:

Before:

$(document).ready(function() {
// ...
});

jQuery 3:

$(function() {
// ...
});

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/kenwheeler/slick/issues/3432#issuecomment-406623423, or mute the threadhttps://github.com/notifications/unsubscribe-auth/Aeyx2FuJ9Lc15NwdlPeT9ikDtC3FBUFlks5uIe2kgaJpZM4Tunw-.

window.onload = function() { ... }

work 100%

Was this page helpful?
0 / 5 - 0 ratings

Related issues

crstauf picture crstauf  Â·  3Comments

eirikrlee picture eirikrlee  Â·  3Comments

msavov picture msavov  Â·  3Comments

jamesinealing picture jamesinealing  Â·  3Comments

barzev picture barzev  Â·  3Comments