> I have read that the only way to have a unique vertical scroll bar for > the whole page is using <div> and loading the content with Ajax.
There are some techniques around - http://www.google.co.uk/search?hl=en&q=iframe+without+scrollbar&meta=&aq=f&oq= > The problem occurs when I try to load map.php into the <div > id="content"> of main.php using <a href> in this way: > <a href="javascript:asincronouscall(''map.php', 'content');">Option1</ > a> We don't know what your asinchronouscall() function does. If you're using the maps API for free, you'll have to put your page on a public server sooner or later. If it were sooner, you'd get better help. You can load the maps API asynchronously (on demand) http://code.google.com/apis/maps/documentation/index.html#AJAX_Loader and you trigger your own scripts that use the API to run after it has loaded. In map.php - TU-GOOGLE-MAPS-KEY doesn't look like its going to work, but key checking is skipped in localhost. var point = new GPoint (-7.866,42.33989); is a deprecated form, use GLatLng() as you do earlier on in the same script. Make sure to swap the parameter order. window.onload=load Now, I wonder what happens if you include that in a <div> dynamically. window.onload happened long ago, repopulating a div isn't going to make it fire again I think? cheers, Ross K. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Maps API" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/Google-Maps-API?hl=en -~----------~----~----~----~------~----~------~--~---
