You can try with an onClick method on the tabs On 25 abr, 22:08, JohnH <[email protected]> wrote: > Hello, > > From a javascript beginner... Does anyone know of alternative methods > of calling a V3 map other than by > <body onload="initialize()"> ? > I'm building a site that uses AJAX to load different content > depending on which tab is clicked, like this > example:http://www.barelyfitz.com/projects/tabber/example-ajax.html > > When different tabs are clicked I want different maps to load. My > problem is that the *parent* page (example-ajax.html) contains the > <body> tag, but it's the the *child* pages that contain maps, > eghttp://www.barelyfitz.com/projects/tabber/example-ajax-1.html > will hold the map call <div id="map" style="width:600; height:500">/ > div> but it's got no <body> tag to fire onload="initialize()". > > So, is there some way I can put everything necessary to call a map on > a child page which has no <html>, <head> or <body> tags to play with? > > I've been reading this V2-only thread but I don't think it applies to > V3:http://groups.google.com/group/google-maps-api/browse_thread/thread/8... > > Thanks! > John > > -- > You received this message because you are subscribed to the Google Groups > "Google Maps JavaScript API v3" 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 > athttp://groups.google.com/group/google-maps-js-api-v3?hl=en.
-- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" 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-js-api-v3?hl=en.
