Change arrowsNavAutoHide after activation Fullscreen

Alexander Kazakov's Avatar

Alexander Kazakov

19 Mar, 2018 06:12 AM

Hi Dmitry,
Thank you for your help.

I'm trying to change the parameter: arrowsNavAutoHide, after activation fullscreen mode.
Default is: arrowsNavAutoHide: true
Code:

  productSlider.ev.on('rsEnterFullscreen', function() {
    productSlider.st.arrowsNavAutoHide = false;
    productSlider.updateSliderSize(true);
  });
  productSlider.ev.on('rsExitFullscreen', function() {
    productSlider.st.arrowsNavAutoHide = true;
    productSlider.updateSliderSize(true);
  });
But it does not work.
I can bring all the code and the site, but apparently this change is simply not provided in the plugin.

Thanks

  1. Support Staff 1 Posted by Dmitry Semenov on 19 Mar, 2018 11:46 AM

    Dmitry Semenov's Avatar

    Hello,

    The option can not be changed dynamically, you may simply force visibility:visible;opacity:1 on .rsArrow elements via CSS.

  2. 2 Posted by Alexander Kazak... on 19 Mar, 2018 02:58 PM

    Alexander Kazakov's Avatar

    It works. Thank you so much.

  3. Alexander Kazakov closed this discussion on 19 Mar, 2018 02:58 PM.

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

Keyboard shortcuts

Generic

? 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