• OK

    (@angelok1979)


    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”);
    }

  • The topic ‘Any javascript refresh without shortcode’ is closed to new replies.