Support » Plugin: Collapse-O-Matic » Infinite Scroll clash / Javascript Callback needed

Viewing 15 replies - 1 through 15 (of 16 total)
  • Plugin Author Baden


    Two things:
    1. do the collapse elements that where visible before the ‘infinite-scroll’ display more data still work… so only the newly visible expands are not working?
    2. can you provide a link to the page you are having trouble with so we can get a better fell with what exactly is going on?

    Thanks for the feedback.. we’ll get you sorted out/plugin updated… what ever it takes!

    Hi Baden. Thanks for the quick response and a great plugin – it worked perfectly on the last site i built:

    1. Collapse works perfectly before the ‘infinite scroll’ next page kicks in.
    2. – it’s early stages, so just don’t look too carefully at anything.

    Appreciate the help. Look forward to hearing from you.

    Plugin Author Baden


    OK, think we identified the problem: The jQuery is working for all elements that exist when the page loads… but NOT for elements that are part of the content added dynamically via AJAX.

    We’ll get a patch together for you to try out soon.

    Thanks Baden. Sounds right. Look forward to the patch/javascript callback.

    I posted a similar topic yesterday :

    According to Baden, it’s not possible actually to execute our custom jQuery code for the content added dynamically via AJAX ?

    Hi Aguidis.

    Looking at your original post, doesn’t look like you’re using Baden’s Collapse-O-Matic plugin? I’d recommend you rather contact the author of the plugin you’re using.

    Callbacks are possible: there’s a list of code for a number of plugins at

    I’m using Twitter, Facebook Social Share for social media and it’s working fine – I just had to add

    var el = document.getElementById(‘buttoncontainerBox’);

    if (typeof FB !== “undefined”) { FB.XFBML.parse(el); }

    if (typeof twttr !== “undefined”) { twttr.widgets.load(); }

    to the Callback section in the Infinite Scroll plugin.

    Hope this helps.

    Hi Baden. Hope you had a great new year. Any news on a timeline for the callback/patch? I’m supposed to be sending a draft site to client on Monday, so if this is going to take a while, I’ll need to remove the plugin for this site and try it again on the next one, or at least warn the client of the revised timeline. Sorry to rush you; let me know either way. Thanks.

    Thank you for your reply.
    I was searching some topics on Google and when I noticed your title :” Infinite Scroll clash / Javascript Callback needed” I directly clicked.
    Unfortunately it didn’t work…
    So I apologized for the embarrassment.

    No prob. Sorry it didn’t work. Hope you come right.

    Plugin Author Baden


    two days, we’ll have a solution. It’s the basic livequery issue.

    Thanks Baden. Apologies again for rushing you.

    Plugin Author Baden


    Ok, here we go!
    Please download version 1.5e (or newer) from:

    Replace this version with the currently installed version on your site and the dynamically added collapse elements should now work. Please get back to us with your results, as we would like to ensure the latest changes are stable and release version 1.5 to the WordPress Repo on Tuesday (Tomorrow)

    Please let us know if it works!

    Hi Baden. Sorry for the delayed response – juggling too many deadlines at the moment. I tested this out on Chrome and Firefox and unfortunately nothing changes: it loads perfectly before the Infinite Scroll kicks in and then doesn’t work after. Since it’s not a bug – it’s just the way Infinite Scroll treats plugins – you might find it easier to just write the callback and add to Infinite Scroll’s list of compatibility codes? I’ve reverted back to excerpts for now, but let me know if you need to see this on the site, in which case I can re-add it for you.

    Plugin Author Baden


    Download and install the freshly released version 1.5
    the available collapse-o-matic callbacks for use with the Infinite Scroll plugin are:
    collapse_init(); — triggers initial collapse state.
    findme(); — triggers fine-me feature if used.

    This has been tested and proven to work.
    Issue marked as resolved.

    Thanks Baden. Appreciate the help.

Viewing 15 replies - 1 through 15 (of 16 total)
  • The topic ‘Infinite Scroll clash / Javascript Callback needed’ is closed to new replies.