I had to change infoWindow.setContent(html); to 
infoWindow.setContent(bubble);, and duplicate my variable with the name 
bubble instead of html, and remove the link from it.

var html = "<a href='javascript:myclick(" + (markers.length-0) + ")'><span 
style='font-weight:bold'>" + street + "<\/a></span> </p>"; // info window 
contents
var bubble = "<span style='font-weight:bold'>" + street + "</span></p>"; // 
info window contents


In case someone else needs help with the same issue. I received help from 
another source. Thanks for your help anyway.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-maps-js-api-v3/-/tXRsQJePS78J.
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-js-api-v3?hl=en.

Reply via email to