Change example code provided to add a class to the next slide along in the slider
- or -
Post a project like this2212
£90(approx. $113)
- Posted:
- Proposals: 3
- Remote
- #1946117
- Awarded
Description
Experience Level: Intermediate
I am using the RoyalSlider WordPress plugin with the nearby slides setting enabled. This allows multiple slides to show on screen at once. The current slide has a class of rsActiveSlide, as you scroll through the slides this class gets removed and applied to the current active slide.
I would like the rsActiveSlide class applied to the first two slides and not just the current active slide. So essentially there would be two current active slides.
I think the following support forum posts might be useful in getting started and finding a solution:
http://help.dimsemenov.com/discussions/royalslider-wordpress/29660-add-class-rsactiveslide-to-previous-and-next-slides
http://help.dimsemenov.com/discussions/problems/24807-adding-class-to-previous-slide
The first link in particular is useful as it gives a working example of the code to use. It would probably just need amending so it works on the next slide instead of previous and next.
I would like the rsActiveSlide class applied to the first two slides and not just the current active slide. So essentially there would be two current active slides.
I think the following support forum posts might be useful in getting started and finding a solution:
http://help.dimsemenov.com/discussions/royalslider-wordpress/29660-add-class-rsactiveslide-to-previous-and-next-slides
http://help.dimsemenov.com/discussions/problems/24807-adding-class-to-previous-slide
The first link in particular is useful as it gives a working example of the code to use. It would probably just need amending so it works on the next slide instead of previous and next.
Luke B.
100% (6)Projects Completed
6
Freelancers worked with
4
Projects awarded
29%
Last project
9 Apr 2018
United Kingdom
New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-
Hi there Luke!
The task is generally clear. Ready to start ASAP.
Would you like to set up a call in Skype to discuss the project start?
Thanks,
Dmytro
613702
We collect cookies to enable the proper functioning and security of our website, and to enhance your experience. By clicking on 'Accept All Cookies', you consent to the use of these cookies. You can change your 'Cookies Settings' at any time. For more information, please read ourCookie Policy
Cookie Settings
Accept All Cookies