Slide animated block out

peter.makowski's Avatar

peter.makowski

31 Oct, 2016 09:30 AM

Hello,

I was wondering if it was possible to have a animated slide out? Currently by default the animated block will slide and fade in to the desired location, I wanted to know if I can reverse this and have it start at a location then slide and fade out, is this possible? Thanks

  1. Support Staff 1 Posted by Dmitry Semenov on 31 Oct, 2016 11:30 AM

    Dmitry Semenov's Avatar

    Hello,

    It's possible, but via CSS transitions http://help.dimsemenov.com/kb/royalslider-javascript-api/adding-cus...

    Dmitry

  2. 2 Posted by peter.makowski on 31 Oct, 2016 01:54 PM

    peter.makowski's Avatar

    Would this also work if I wanted to fade out individual rsABlocks after I have finished bringing them in? How would that be possible?

  3. Support Staff 3 Posted by Dmitry Semenov on 31 Oct, 2016 06:33 PM

    Dmitry Semenov's Avatar

    No, it wouldn't work this way. You'll need to manually fade out blocks, either add some class to slider and apply animation via CSS, or animate blocks via JS when you need.

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