updateSliderSize should check if rsThumbs is visible

koenromers's Avatar

koenromers

30 Dec, 2012 07:03 PM

Hi there,

I'm using the Royalslider and it's really awesome. Although I'm having some problems. I'm using it for a fullwidth/height slider and it's working fine. I added a toggle button for the thumbnails. It would be nice if I call the function "instance.updateSliderSize(true);" after toggling the thumbnails it check's for the visibility of the thumbnails. If they're not visible the slider should resize to fullscreen..

Is this possible?

Regards,

Koen

  1. Support Staff 1 Posted by Dmytro Semenov on 30 Dec, 2012 08:03 PM

    Dmytro Semenov's Avatar

    Hi,

    1. You may set height of thumbnails container to zero.

    2. You may set fitInViewport option to false http://dimsemenov.com/plugins/royal-slider/documentation/#thumbnails

    Dmitry

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

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