Maps with ajax loaded pages
-
I have a wordpress template that uses ajax to load content when navigating through the site, leaving the header and footer section “unchanged”. I need this functionality due to using this template for a webradio and need to have an audio player “uninterrupted”.
Unfortunately, when I navigate to a page – post this way, the google map is not loaded – the browser’s error console informs me that the Google API keys are missing, something that I suspect happens because when content of the page is fetched via ajax, the footer’s script is not being refreshed. When I refresh the page manually the map is indeed loaded but of course my audio player is interrupted.
is there any way I could bypass this problem? Ideally I think I need some sort of javascript script upon sucess of ajax to “reload” the map. Any clues?
Thanks
- The topic ‘Maps with ajax loaded pages’ is closed to new replies.