Timeline CustomEventDetailDisplay

See these various messages:


 * http://simile.mit.edu/mail/ReadMsg?listId=9&msgId=21293

From the internet archive:

Add this code after you include timeline-api.js:

var oldFillInfoBubble = Timeline.DefaultEventSource.Event.prototype.fillInfoBubble; Timeline.DefaultEventSource.Event.prototype.fillInfoBubble = function(elmt, theme, labeller) { oldFillInfoBubble.call(this, elmt, theme, labeller);

var eventObject = this; var div = document.createElement("div"); div.innerHTML = " abc"; div.firstChild.onclick = function { ... do something ... eventObject should give you the data you need ... }           elmt.appendChild(div); }


 * http://simile.mit.edu/mail/ReadMsg?listId=9&msgId=16981
 * http://simile.mit.edu/mail/ReadMsg?listId=9&msgId=18666
 * http://simile.mit.edu/mail/ReadMsg?listId=9&msgId=10303
 * http://simile.mit.edu/mail/ReadMsg?listId=9&msgId=14331

Related topics:


 * Custom Event Click Handler