Inserting html elements into slider

Jer's Avatar

Jer

28 May, 2021 02:35 PM

I need to insert an element into the slider. In this case, it will be for a button that will manipulate the content on the page. I don't want it to load with each slide. In essence, I need to mimic the the function of the default "fullscreen button."

if I try to add this via the "caption" method, it transitions it with each slide.

How do I add an element inside the slider, but not inside the slides themselves?

  1. Support Staff 1 Posted by Dmitry Semenov on 28 May, 2021 06:15 PM

    Dmitry Semenov's Avatar

    Hello,

    You may wrap the slider with an extra element and put the button inside it, or you may use JavaScript and append the button after the slider is initialized.

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