Thanks. The code is here:
http://yourpaste.net/1314/ It may be because my code doesn't have the new google.maps.LocalSearch statement? On Oct 21, 4:38 pm, Jeremy Geerdes <[EMAIL PROTECTED]> wrote: > Yeah. GSearch['search-the-map'] is a predefined string. That's what > we're trying to override with the call I gave you earlier. > > I just tested this code, and it definitely works: > > google.search.Search.strings['search-the-map']='yo yo yo'; > > But you have to put it BEFORE you call new google.maps.LocalSearch > > I could be more specific if you would provide a link. > > Jeremy R. Geerdes > Effective website design & development > Des Moines, IA > > For more information or a project quote:http://jgeerdes.home.mchsi.com > [EMAIL PROTECTED] > > Unless otherwise noted, any price quotes contained within this > communication are given in US dollars. > > If you're in the Des Moines, IA, area, check out Debra Heights > Wesleyan Church! > > On Oct 21, 2008, at 9:03 AM, superjeans wrote: > > > > > > > Hi, > > > I have tried this... however it doesn't load. I can see in script file > > gsmapsearch.js the line; > > > this.searchform.input.value = GSearch.strings["search-the-map"] > > > I tried editing the gsmapsearch.js the give the text I want, ie., > > > this.searchform.input.value = GSearch.strings["search here for a > > football ground"] > > > ....and then pointing the main script at this instead of the URL, but > > the text just changed to "undefined". > > > I guess "search-the-map" is referenced elsewhere.. Interestingly > > "search" worked.... I assume this is another predefined string. > > > On Oct 21, 1:12 pm, Jeremy Geerdes <[EMAIL PROTECTED]> wrote: > >> Before you initialize your gm.LocalSearch, you need to call this: > > >> google.search.Search.strings.search-the-map='whatever you want it to > >> say'; > > >> Jeremy R. Geerdes > >> Effective website design & development > >> Des Moines, IA > > >> For more information or a project quote:http:// > >> jgeerdes.home.mchsi.com > >> [EMAIL PROTECTED] > > >> Unless otherwise noted, any price quotes contained within this > >> communication are given in US dollars. > > >> If you're in the Des Moines, IA, area, check out Debra Heights > >> Wesleyan Church! > > >> On Oct 21, 2008, at 6:32 AM, superjeans wrote: > > >>> Hi, > > >>> My search box by default says "Search the map". > > >>> Is it possible to change what it says? e.g., "Enter Post Code" > > >>> My code has been generated from the ajax wizard. > > >>> Many Thanks- 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 AJAX APIs" 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-AJAX-Search-API?hl=en -~----------~----~----~----~------~----~------~--~---
