On Nov 6, 3:18 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> On Nov 6, 3:15 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
> wrote:
>
>
>
> > On Nov 6, 2:09 pm, syd636 <[EMAIL PROTECTED]> wrote:> OK....I started all 
> > over....... (^%(@^&%#^%#$)  :o)
>
> > > If anyone that can figure out what's goofing this up, I'd be most
> > > appreciative!  It's driving me crazy!
> > > I started with this as my 
> > > base:http://www.geocodezip.com/mapXmlTabsDirections.asp
> > > and am trying to add a select box from this 
> > > example:http://econym.org.uk/gmap/example_map15c.htm
> > > and can't get the select box to show...
> > > my url:  http://www.sgitest.com/nw_over_crimson.htm
>
> > > I added the following to the geocodezip  map:
>
> > You don't understand the asynchronous nature of 
> > GXmlHttp.http://econym.org.uk/gmap/async.htm
>
> > This code executes before the rest, right after you send the request,
> > long before the data has come back and added the entries...
>
> > select_html += '<\/select>';
> > document.getElementById("selection").innerHTML = select_html;
>
> > You need to move it to the callback function after the loop finishes
> > processing the data.
>
> Where this code is:
>       // put the assembled sidebar_html contents into the sidebar div
>       document.getElementById("sidebar").innerHTML = sidebar_html;
>       sidebar_html = "";
Once you fix that you have another problem...
There is no name variable in your createMarker function, I suspect you
want to use "label" instead in this line:
        select_html += '<option> ' + name + '<\/option>';

   -- Larry

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to