On Feb 25, 4:28 am, Chris Moody <[email protected]> wrote:
> I've now got the score defined, I needed to add a line near the end of
> the page in the function that reads the xml:
>
> var scores = markers[i].getAttribute("score");
>
> I still cannot the text to work though, though i can get value or
> scores to display:
>
> function createMarker(point,text,value,scores) {
>         var marker = new GMarker(point, gicons[value]);
>         GEvent.addListener(marker,"click", function() {
>         marker.openInfoWindow(text);
>
> In the function that reads the xml could I create a new variable which
> is a string combination of "value" and "scores" and simply call that?

Sure.  It seems to be working for me without javascript errors in IE6.

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