UPDATE. At http://www.tipicipuglia.it/mappe/forno/index_x.html there's no more white page, but the Gdirection doesn't work. Any suggestion?
On 12 Mar, 09:46, Carmelo <[email protected]> wrote: > OK. > I've followed tutorials and your suggestions...all the night. That's > the result:http://www.tipicipuglia.it/mappe/forno/indexx.htmla white > page! > Really I don't know what to do... > > Car > > On 11 Mar, 18:03, Andrew Leach <[email protected]> wrote: > > > > > On Mar 11, 4:49 pm, Carmelo <[email protected]> wrote: > > > > I'm close to cry... > > > Don't do that. > > > You just need to make sure that your code is run through in the right > > order, so that gdir exists before you attempt to add a listener, for > > example; and that objects which need to be shared between functions > > are global. > > > And, don't accidentally redefine global variables as local by using > > "var" within functions. > > > You're using a function "load()", which is run only when the page is > > loaded and the body onload event is fired, so that is run *last*. Make > > sure that everything which that function needs is set up in the right > > order, and everything which is assigned within that function isn't > > accessed before the function runs. > > > If necessary, print out a listing of your page and walk through the > > code with a pencil. There's no shame in doing that. > > > Andrew --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
