Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Tijmen Smit

    (@tijmensmit)

    Have you checked for js errors after the first load? What is your url?

    Thread Starter Eck-6669

    (@eck-6669)

    Plugin Author Tijmen Smit

    (@tijmensmit)

    Ajax navigation doesn’t work together with the loading of the store locator.

    The script waits until it receives a notification that the page has finished loading, but with Ajax the page isn’t reloaded so it never receives the notification. Which it does do when you reload the page yourself.

    You would either have to disable the Ajax navigation, or modify the /js/wpsl-gmap.js.

    At the top of the wpsl-gmap.js replace the first line with this.

    (function($) {

    And the last line with this.

    })(jQuery);

    Let me know if this fixes it.

    Thread Starter Eck-6669

    (@eck-6669)

    still have to refresh with adjustment you sent

    Plugin Author Tijmen Smit

    (@tijmensmit)

    Can you also try to change this, you can find it near the bottom of the file.

    Replace this:

    google.maps.event.addDomListener( window, "load", initializeGmap );

    With this:

    initializeGmap();
    Thread Starter Eck-6669

    (@eck-6669)

    Doesn’t change anything still have to refresh to show map

    Plugin Author Tijmen Smit

    (@tijmensmit)

    Is there a way you can disable the Ajax loading just for that page?

    Can you otherwise email me your theme so that I can play around with the code and see if I can get it to work without having to refresh the page. My email is info at tijmensmit.com

    Thread Starter Eck-6669

    (@eck-6669)

    Found a way to disable Ajax loading and it works, thank you

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘refresh page first use’ is closed to new replies.