Support » Plugin: Advanced AJAX Page Loader » window location href update

  • sixtyseven

    (@sixtyseven)


    Hello from germany,

    for a menu that relies on the window.location.href, i need the location of the loaded page. So far, I managed this by adding a line to ajax-page-loader.js: when you prepare the history push in function AAPL_loadPage, i grab the generated path (around line 117) and replace the href like this:

    window.location.href=path;

    Works like a charm, but my question is, if it is possible to get this done on the settings page, maybe by the dataa object or a reload code, so futere updates of your plugin are possible.

    Thank you for your help.

    https://wordpress.org/plugins/advanced-ajax-page-loader/

  • The topic ‘window location href update’ is closed to new replies.