Difficulty
Introduction
So, Royal Slider is a good plug-in, but it does not have one important option for the gallery.
The author answers the question here:
Sorry, there is no such option. You’ll need to involve some JS to implement this feature, to detect position of image and re-align the arrows.
From that moment it seems nothing has changed. We will solve this problem.
Solution
- In HTML, we add new buttons to the slider wrapper.
- Stylize the new buttons using CSS.
- Add event handlers for the new buttons.
- In full screen mode, hide the standard buttons.
- In full screen mode, we position new buttons relative to the picture, with each slide change.

Комментарии