Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter Jeffrey van Rossum

    (@jeffreyvr)

    I’m still hoping for an answer… anybody?

    I would really appreciate the help!

    Thread Starter Jeffrey van Rossum

    (@jeffreyvr)

    To clear things up a bit, this is my loop:

    [Code moderated as per the Forum Rules. Please use the pastebin]

    The javascript used above is only displayed with the first posts, after posts are being loaded the javascript magically disappears.

    Thread Starter Jeffrey van Rossum

    (@jeffreyvr)

    And here is the Pastebin link:
    https://pastebin.com/Uczxgnyr

    Sorry for the spam, I cant edit my previous post.

    Plugin Contributor beaver6813

    (@beaver6813)

    Sorry for the delay, been real busy.
    Just went to look at the site but it looks like you’ve been tinkering, I get the error:

    $("#mygallery3085 a.next").live is not a function
    https://www.wijzijnblits.nl/category/sterkemerken/
    Line 110

    (hint, try jQuery(“#mygallery************* )

    Looks like you’re along the right lines, you’ll either need to use the live hook (so new posts that are loaded will be binded to). Or you can use the “javascript callback” option in infinite-scroll to execute code that will enable the slideshow on all the newly loaded posts.

    I’d probably continue trying to use jQuery’s live function, cleanest way to do it. Let me know how it goes or if you need any assistance.

    p.s. Awesome looking site!

    Thread Starter Jeffrey van Rossum

    (@jeffreyvr)

    Thanks for your reply.

    Could you post an example of the live function? I’m not really familiair with it. I’ve been trying, but I can’t make it work.

    I’ve deleted my “tinkering”, so that you can see the first 3 sliders work.

    Thanks for the compliment btw!

    Plugin Contributor beaver6813

    (@beaver6813)

    Do you still need help with this? (Sorry for the delay!)

    Thread Starter Jeffrey van Rossum

    (@jeffreyvr)

    Yes, I still need help.

    Don’t be sorry, it’s great you even take the time to try and help me!

    Thread Starter Jeffrey van Rossum

    (@jeffreyvr)

    Sometimes, when you think you’re going the wrong way, it turns out you aren’t. I used a complete different slideshow script and it saved my day. Finally!

    After that I used the callback function in the plugin to make sure it worked on all sliders.

    Thanks for your support beaver6813!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Slideshow breaks when using Infinite Scroll’ is closed to new replies.