Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author craigramsay

    (@malinkymedia)

    All JavaScript is wrapped in an Immediately Invoked Function so you could call this to set up the the pagination again. It does expect jQuery to be passed as a parameter though.

    <script>
    MalinkyAjaxPaging(jQuery);
    </script>
    Thread Starter mokes

    (@mokes)

    Thanks for the quick response! Unfortunately, the (other plugin) ajax code is being executed in the header (argh!), and it’s not seeing MalinkyAjaxPaging as a valid function, even if I try linking the main.js file from your plugin, above the executable code.

    Plugin Author craigramsay

    (@malinkymedia)

    I see, the script would need to run in the footer as it needs to locate the correct selectors and navigation in order to know where to add the new posts and to replace the navigation.

    Thread Starter mokes

    (@mokes)

    Thanks, again, for the help, and the great plugin. Obviously the issue is on my end at this point. So I’ll have to see if I can come up with some some convoluted solution to remedy the issue.

    Plugin Author craigramsay

    (@malinkymedia)

    I’m glad you like the plugin and sorry I can’t help out further. I hope you can get things fixed and carry on using it.

    Thanks

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Re-initialize the ajax javascript?’ is closed to new replies.