Support » Plugin: Advanced AJAX Page Loader » Cackle reload code? Help.

Viewing 2 replies - 1 through 2 (of 2 total)
  • I write reload code:

    jQuery.getScript('http://cackle.me/mc.widget-min.js');
    jQuery(window).load(function() {
        window.mcSite = 1;
        window.mcUrl = window.location.href.replace('#', '/');
        Cackle.reinit();
    });

    where replace 1 to my site id, but it’s working not good.

    The code written above, displays a comment form only once. Correct option:

    jQuery.getScript('http://cackle.me/mc.widget-min.js');
    jQuery(document).ready(function() {
        window.mcSite = YOUR_SITE_ID;
        window.mcUrl = window.location.href.replace('#', '/');
        Cackle.reinit();
    });

    Аsk to add this code in Reload Codes. =)

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Cackle reload code? Help.’ is closed to new replies.