Support » Plugin: Advanced AJAX Page Loader » Any javascript refresh without shortcode

  • Author propose many shortcodes for javascript refreshes. But it does not help. I propose add callback function in plugin. Now I make it for me:

    1. file ajax-page-loader.js add somefunction in 265 line

    jQuery('#' + AAPL_content).css("left", "");
    jQuery('#' + AAPL_content).fadeIn("slow", function() {});
    somefunction();
    
    },

    2. now you can use this callback in your theme
    function somefunction(){
    alert(“Hello World”);
    }

  • You must be logged in to reply to this topic.