Only first slide is showing

zolotoiy's Avatar

zolotoiy

10 Sep, 2012 03:42 PM

Hi Dmitry, great work on this plugin but as usual there are issues.
I have 3 slides with HTML content and images. Content of slides inserted dynamically by jQuery on $( window ).load(). Afterwards I see only first slide, other 2 are not showing. Here is the Link

  1. Support Staff 1 Posted by Dmitry Semenov on 10 Sep, 2012 05:33 PM

    Dmitry Semenov's Avatar

    Hi,

    Can you show me (or give a hint where it is) code that adds slides dynamically. Do you add slides via slider API or just via jQuery?

    Dmitry

  2. 2 Posted by zolotoiy on 10 Sep, 2012 06:34 PM

    zolotoiy's Avatar

    Slides are loaded and added to DOM via jQuery before initializing RoyalSlider.
    I even thought to try give it extra time and added setTimeout(initSlider,..) but it didn't help. All slides are visible in Firebug.
    In Firebug goto xp-portfolio.js and search for initSlider

    Thanks
    Andriy

  3. Support Staff 3 Posted by Dmitry Semenov on 10 Sep, 2012 07:11 PM

    Dmitry Semenov's Avatar
  4. 4 Posted by zolotoiy on 10 Sep, 2012 11:17 PM

    zolotoiy's Avatar

    Thank you, that fixed it :)

  5. zolotoiy closed this discussion on 10 Sep, 2012 11:18 PM.

Comments are currently closed for this discussion. You can start a new one.

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