On Sep 11, 4:42 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Thanks a lot, that helped me out! > > I left the body onload one alone, changed the setTime out one to > setTimeout(500);,
Why? Do you know what setTimeout does? Try a quick read of one or two of these: http://www.google.com/search?hl=en&q=setTimeout+javascript&aq=f&oq= I would think you would be getting a syntax error. > and deleted the GSearch.set one completely. > > Everything still works. Now the only things left are to figure out > how to change the text in the search box, and have the circle stay in > the middle after a search, instead of being placed on a longtitude and > latitude. > > On Sep 11, 4:57 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> > wrote: > > > > > On Sep 11, 1:39 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > > > > By looping, I mean It is displaying the spreadsheet data in the > > > sidebar 3 times. It didn't do that before (http://hardins.com/ > > > retail.htm). I'm curious to what code I added that is causing it to > > > do that. > > > You are calling load 3 times > > 1. <body onload="load()" > > 2. setTimeout('load()', 500); > > 3. GSearch.setOnLoadCallback(load); > > each time it creates one copy of the sidebar > > > > On Sep 11, 4:01 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> > > > wrote: > > > > > On Sep 11, 12:00 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > > > > > > I am working on this page: http://hardins.com/retail3.htm > > > > > > I can't figure out why the code in the side bar is looping. > > > > > What do you mean by looping? > > > > > The page is calling the load function three times, once when the page > > > > loads then I think as the callback to GSearch. > > > > > > Also, > > > > > I've tried figuring out how to change the text in the search bar, but > > > > > when I add the code to what I have, it makes the map stop working > > > > > completely. It ends up just loading a blank page. > > > > > Don't know what you are doing, so I can't say what is wrong.- Hide > > > > quoted text - > > > > - Show quoted text -- Hide quoted text - > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
