Viewing 5 replies - 1 through 5 (of 5 total)
  • Same problem as above.

    I need to know… What Javascript to be called after the next posts are fetched?

    I other words. What Javascript function applies to the read more button when the page loads? I need to load it manually again.

    Thanks!

    Anyone? Can someone point me in the right direction? A have sadly poor skills in JavaScript.

    Tnaks

    Plugin Author Sergey.S.Betke

    (@sergeysbetkenovgaroru)

    Excuse me for so long pause. Example – in ajax-read-next-page plugin:

    jQuery(function() {
    	jQuery('#content')
    		.delegate('', 'onupdate.ajaxReadMore', function(e) {
    			jQuery('.page-container'/*, e.target*/).AJAXReadMore({
    				ajaxData: {
    					'ajax-read-next-page-mode':'1.0.0'
    				},
    				contentElSelector: ".page-container",
    				errorMessage: "Ошибка загрузки следующей страницы.<br/>Попробуйте позднее.",
    				moreElSelector: ".nextpostslink",
    				moreContainerSelector: ".navigation",
    				scrollToSelector: ".navigation"
    			});
    		})
    		.trigger('onupdate.ajaxReadMore')
    	;
    });

    You must:
    jQuery('#content').trigger('onupdate.ajaxReadMore')
    after new content loaded. And all .more links will be prepared to work with ajax-read more.
    P.S. Excuse me for my english.

    Thank you, will try it!

    Where i can put that code? And what i should edit?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: AJAX Read More] Using with Infinite Scroll’ is closed to new replies.