Get height of hidden slides

scottvanwinden's Avatar

scottvanwinden

05 Aug, 2021 06:36 PM

Hi,

Is it possible to get the height of hidden slides? I need to try and match the height of all the slides, and it be responsive when the screen resizes.

Thanks

  1. Support Staff 1 Posted by Dmitry Semenov on 06 Aug, 2021 04:04 AM

    Dmitry Semenov's Avatar

    Hello,

    The plugin doesn't keep all slides in DOM to save memory. You may use a temporary container to measure the size.

    Or you may use option numImagesToPreload, which controls the amount of slides that are in DOM (for example, if you set it to 3 - it'll add three slides before the current one, and three slides after the current one).

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