I have been using the Google Maps API successfully for a few years. Now I am creating a page re-design where the page contains a series of tabs which are controlled by jquery. I have tried to put a Google Maps page in one of the tabs and it completely fails to function.
The jquery stuff was very kindly provided on this forum by jscheur1, and it works perfectly in every other respect. A single tab containing a separate file is called by:
location.php contains the Google Map. Inside the main tabbed page in just comes up blank. When called as a separate file from the browser address bar it works perfectly.Code:<div id='location' style="display:none;"> <br> <script type="text/javascript"> $('#locationarea').load('location.php', 'hid=' + hid); </script> <div id="locationarea"></div> </div>
Surely jquery and Google Maps cannot be totally incompatible?!!!



Reply With Quote

Bookmarks