Gevent

Home

Pictures

Gevent, including gevent in my blog, gevent in Folkestone, and any mentions of gevent in my family tree. Also there's a feed of gevent stories / mentions, a JSON feed of gevent, a KML feed of gevent , search my gevent venue info, gevent on Your Folkestone. Hope you can find what you're looking for, if not please leave a message about gevent.

Add gevent as a venue here, help me out, and the next person.

Blog / forum etc:

I found the sidebar stuff quite tricky actually

Pictures

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

3 Aug :: :: Comment / reply