Jquery mobile hash navigation removes javascript wordpress plugins
Hi everyone
Im currently having an issue with my mobile theme using jquery mobile and wordpress as my CMS. Every page loads fine until i need a page to load javascript from a plugin. The hash navigation leaves/ excludes javascript from my wordpress plugins.
Example 1: I have mappress plugin which is a google maps plugin for wordpress. I add maps to 2 of my posts. When i render the listview all the posts link to their sinlge page as expected, but the 2 posts with the maps wont load because of hash navigation the java script wont allow the page to load.
Example 2: when i visit the posts that have the maps included directly and not through the list view then the maps and page loads fine. The error only exists if i enter the link via navigation. Direct URL links work fine.
Exmaple 3: if i go back to my listview i can choose any post without the map, load that post and navigate back to the listview. I then click on a post in the list view that has maps. The post will load now. For some reason the posts wont load unless i go directly to the link or use navigation to first go to a post without maps the navigate back and go to a post with a map.
This gives me a signal that the JS is not loading due to hash navigation. How should i deal with this issue and what is the error? Anyone know wordpres that can help me fix this issue?
Kind regards