R
R
Rasul Kakushev2017-01-27 19:51:17
css
Rasul Kakushev, 2017-01-27 19:51:17

Where can I find jquery slider?

The bottom line is that you need a slider like slick or owl carousel in terms of functionality (touch, displaying several elements in one row, etc.). However, there is one problem with these sliders. For example, I was on a page with such a slider. Then I went to another page, having previously saved the state of the previous page as html (due to the fact that I used ajax content loading), but when I go back and restore the page state by inserting the saved html code, the sliders freeze tightly. That is, they do not respond to any movement. Even if you cut the html code of the generated slider in developer mode and then paste it back, the slider freezes tightly. So, we need a slider that does not have this drawback, if possible implemented in css3, and not pure javascript. Tell me where to find one?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Viktor Yanyshev, 2017-01-27
@Raserad

It's not their fault, it's a flaw in your approach. Initialization of sliders on the event "DOMLoadContent" i.e. window.onload. Then when you return html it doesn't initialize the work of sliders because there is no document loading event. So pull the start function according to the situation.

E
Egor Zhivagin, 2017-01-28
@Krasnodar_etc

It seems to me, or you can not worry about it, because the user will not do this?)) Or I just don’t understand what exactly you are testing
. Of course, you were prompted correctly. You can try to catch onChange

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question