I don't think your data file has any "prev" or "next" attributes, so
these values are null
var prev = poi_markers[i].getAttribute("prev");
var next = poi_markers[i].getAttribute("next");
So when you call
<a href="javascript:myclick(' + prev + ')">
Your myclick() function doesn't like being passed null as its "i"
parameter, because there is no gmarkers[null]
--
http://econym.org.uk/gmap
The Blackpool Community Church Javascript Team
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---