jquery - Infinite scroll : good callback for comment inline plugin -


i use plugin infinite scroll wordpress , works well. use plugin inline ajax comment display comments in ajax on each post.

it not work posts in infinite scroll because script need callback.

so use callback : ajaxloadedcallback();

because in script.js of inline comments, can see :

// beta: if newly loaded ajax content has javascript execute. // helps inline-ajax-comments work if loaded infinite scroll. // must run callback after ajax success. see jquery docs.  function ajaxloadedcallback() {   scriptx = document.getelementsbytagname("script");   scripts = new array(); (var idx=0; idx<scriptx.length; idx++) {      if (jquery(scriptx[idx]).is(".inline-comments-script")) {         scripts.push(scriptx[idx].innerhtml);     }  } 

but comments not loading...

does got idea ?

thanks.

inline ajax comments : http://wordpress.org/plugins/inline-ajax-comments/

i don't have answer question.but have solution problem of inline comment .check http://annote.in , add annotation options on blog. works seamlessly on platform , being adopted ghost users.


Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -