I can't remember how I did it right now, I can only suggest looking in the source, it's all integral.
I'll try and update my source code with some comments when I get time... Or, having looked at it again, completely rewrite it, it's rubbish... This looks like the bit you wan though:
var marker = new GMarker( new GLatLng( lat, lon )); GEvent.addListener( marker, "click", function() { marker.openInfoWindowTabsHtml( tabs ); } ); marker.lat = lat; marker.lon = lon; marker.guid = guid; var li = document.createElement("li"); li.name = li.id = guid; var a = document.createElement("a"); a.innerHTML = content; addEvent( a, "click", function() { d( "Got a click on link " + guid ); marker.openInfoWindowTabsHtml( tabs ); } ); li.appendChild(a); myGmap.panel.appendChild(li); // d( li.innerHTML );
This is my website The FG that I built in a fury of excitement when I first came here in approximately 2004. I'd been a frequent visitor for a few years before that but I am technically one of those Down From Londons you get nowadays. The site was a lot more dynamic with a calendar of events and voting for favourite places and stuff, and I know it was a useful reference for those who were thinking of moving to the area. Now I've moved out of Folkestone again (though just to Hythe) it doesn't get as much attention as it used to. Ironic really as The town is now becoming the exciting place we knew it was just about to. My name is not Gerald BTW, this comes from a fake newspaper in an episode of The Day Today or something, the Portsmouth Gerald, and how there is a local newspaper here called the Folkestone Herald. Puns like this are great aren't they? Do get in touch if you have something to contribute, email anythign @ this domain, or try @folkestone or @pauly on the twitter.