Thanks!
Solved my issue too.
On Thursday, September 3, 2009 9:51:06 AM UTC-4, Kent Feeds wrote:
>
> Thank you for your help! It was definitely the sidebar.appendChild
> that was messing it up. As both you and Mike Williams suggested, by
> adding a document.getElementById('sidebar').appendChild(sidebarEntry)
> the whole script lit up like christmas lights.
>
> Thank you again for all your help and for your suggestion regarding
> the CSS. That's my next step to fix.
>
> On Sep 2, 5:10 pm, Gregory Short <[email protected]> wrote:
> > In function addLocation(), you have these lines:
> > var sidebarEntry = createSidebarEntry(marker, company, address,
> > cityState, dealerzip, phone, distance);
> > sidebar.appendChild(sidebarEntry);
> > Where is sidebar defined? Maybe add a
> > document.getElementById('sidebar') in order to properly reference the
> > DOM element you're after. Different browsers will likely handle such a
> > thing differently. Also, the error console in Firefox is nice. From
> > the menu: Tools->Error Console. It also complains about a number of
> > CSS warnings on your page which you may or may not be interested in.
--
You received this message because you are subscribed to the Google Groups
"Google Maps API V2" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-maps-api/-/wrlYgEyOcrwJ.
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.