Royal Slider visibleNearby window resize

ral's Avatar


29 Nov, 2012 08:21 PM

Hi. I really like this slider.
One question:
i am using visibleNearby feature with full width. But when i am resizing the window the images are resized. I want to keep the middle image the same with and height and the left, and right image to go over on the left and right.
Is there a way to do this? To keep the same width for the middle image no mater of the browser width?


  1. Support Staff 1 Posted by Dmytro Semenov on 30 Nov, 2012 02:24 PM

    Dmytro Semenov's Avatar


    Whata technique are you using, JS or CSS? What version of slider 9.3+?

    If you're using JS technique there is an option to change size center image on smaller screens.


  2. 2 Posted by ral on 30 Nov, 2012 02:40 PM

    ral's Avatar

    Yes i am using Js tehnique. What is that option? I will be able to keep the same size of the image no matter of the screen size?


  3. 3 Posted by ral on 30 Nov, 2012 04:25 PM

    ral's Avatar


    I managed to do it by myself. I changed some thing inside the code, now it's working fine. i did not figure out what option to use, so i got into the code.
    Thanks a lot for your help!


  4. Support Staff 4 Posted by Dmytro Semenov on 30 Nov, 2012 08:40 PM

    Dmytro Semenov's Avatar

    Options that you were looking for where breakpoint and breakpointCenterArea.


  5. 5 Posted by ral on 30 Nov, 2012 09:11 PM

    ral's Avatar

    I tried those, but my image was still resizing, and the width of the images was based on ratio. I needed to have the width of the center image in pixels not percentage.
    It's working great now.
    Thank you so much for the support.


  6. Dmytro Semenov closed this discussion on 01 Dec, 2012 10:22 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac