Support Forums

The forums are closed and will be removed when we launch our new site.

Looking for support? You can access the support system via your account.

Stephane

Forum Replies Created

Viewing 3 posts - 11 through 13 (of 13 total)
  • Stephane in reply to:
    Invisible Ajax results
    #15381

    Thanks Ross,

    indeed it make sense.

    However where should I put this code ?

    When I insert it I have a PHP error (I’ve tried in my functions.php and on the results.php template)

    $(".searchandfilter").on("sf:ajaxstart",function(){
    console.log("ajax start");
    });
    
    $(".searchandfilter").on("sf:ajaxfinish",function(){
    console.log("ajax complete");
    //so load your lightbox or JS scripts here again
    });

    Thank you for your help

    Stephane in reply to:
    Invisible Ajax results
    #15248
    This reply has been marked as private.
    Stephane in reply to:
    Invisible Ajax results
    #15247

    I’ve resolved the issue by adjusting CSS of results.php : it was calling some function of the theme to define CSS classes, and I think it was not working when ajaxed.

    However I DO have a pb of JS : as below, on page load, no pb : some JS is called and create a nice masonry grid.

    But when ajaxing the results, the grid is not looking good. I’ve checked console, but I don’t know what to look at.. One thing is true : when I disable JS, the load page has the same mess, so definitely some JS is not loading in ajax results.

    Any idea ? 😀

Viewing 3 posts - 11 through 13 (of 13 total)