Forums Forums Search & Filter Pro Made a new Search and it doesn't works.

Viewing 8 posts - 21 through 28 (of 28 total)
  • Anonymous
    #33771

    Youre the best !!!!
    Just finished everything and its SUPER !!!

    Thank you very much !

    Anonymous
    #34429
    This reply has been marked as private.
    Ross Moderator
    #34431
    This reply has been marked as private.
    Anonymous
    #34432
    This reply has been marked as private.
    Ross Moderator
    #34525

    Hey Idan

    But do you see, in the console, that “ajax start” and “ajax finish” is being logged?

    When I looked, I saw these events being fired at the correct time.

    This means the ajax, and S&F events are working just fine.

    There must be something with the way you are loading your other scripts on those events…?

    The example I linked above is now gone, so unfortunately I cannot check anything.

    Thanks

    Anonymous
    #34657
    This reply has been marked as private.
    Anonymous
    #34926

    Hi Ross, are there any news?

    Ross Moderator
    #34958

    Hey Idan

    I don’t really know what to suggest.

    If the events are firing correctly, and at the right time, there must be some other implementation issue.

    As a test, replace you ajax complete code with this instead:

    $(document).on("sf:ajaxfinish", ".searchandfilter", function(e, data){
    	
    	console.log("ajax complete");
    	console.log(data.targetSelector);
    	
    	$(data.targetSelector).find("a").css("color", "#f00");
    	$(data.targetSelector).find("a").css("background-color", "#f00");
    	
    	//so load your lightbox or JS scripts here again
    });

    When ajax has finished loading, it should colour all your hyperlinks (in the results area) a red color.

    If this happens, then S&F is working fine, the results are loaded via ajax, then, after the results loaded the events are fired and the text colour is updated.

    Thanks

Viewing 8 posts - 21 through 28 (of 28 total)