Adding new slide

sjmazy's Avatar

sjmazy

17 Oct, 2012 01:22 PM

Hello, Im loving the RS Themes but am wanting to add a new slide. I have read the content that you poseted on how to do it but im still having troubles as I dont understand what it means.

What does "First of initialize slider as usual with starting slides and save it's object." mean?

Also "There is appendSlide public method, it accepts two parameters - html slide object, and optional index where slide should be added. If you don't pass index, slide will be added to the end." I dont understand what that means either.

If you can please provide clarity would be greatly appreciated. I dont know Jquery very well hence need the above in a step by step PLEASE :)

  1. Support Staff 1 Posted by Dmitry Semenov on 18 Oct, 2012 07:14 AM

    Dmitry Semenov's Avatar

    Hello,

    Index parameter in appendSlide is required.

    How you get slider object (instance) you can see from first block of code here - http://help.dimsemenov.com/kb/royalslider-javascript-api/dynamicall...

    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