F
F
Fortoo2020-05-01 11:12:46
JavaScript
Fortoo, 2020-05-01 11:12:46

Slider - How to make it possible in the active slide to see a link with data to the next and previous slide?

5eabd8e824d59468213668.jpeg
Is it possible to complete such functionality from any slider, or maybe someone knows ready-made solutions for sliders?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
F
Fortoo, 2020-05-03
@Fortoo

Thanks everyone for the suggestions!
At the beginning, I thought that I couldn’t do without js (because many sliders create cloned slides when they “loop around”), but on reflection, I decided to try to make such a slider using only PHP.
Therefore, iBird Rose in this sense was closer to my version, in which I walked through the array and pulled out the necessary data by keys from each next slide, and then using the array_keys() function, I replaced the last key in the array with the first one, so "looping around" also works )

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question