M
M
MegaPuxapb2019-01-15 21:13:36
JavaScript
MegaPuxapb, 2019-01-15 21:13:36

Initialize slick slider?

I biked a bit.
q665588f.beget.tech/slicktest

How to run a function with a slider, so that when the page loads, the slide counter, pre/next slide is started?
5c3e226805e47407639263.jpeg

Answer the question

In order to leave comments, you need to log in

1 answer(s)
0
0xD34F, 2019-01-15
@MegaPuxapb

You initialize the slider before you assign the init event handler - of course it doesn't fire. Swap the corresponding code in places, and everything will be OK.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question