I see now. My answer focused more on customizing the text/display of the info 
bubble.

The Discuss link in the bubble comes from the fillWikiInfo method, it is not 
part of the theme.

Looking at the code, we see:

if (this._wikiURL == null || this._wikiSection == null) {
  return; // EARLY RETURN
}


The wikiURL comes from the XML file used, in the document attributes:
<data 
    wiki-url="http://simile.mit.edu/shelf/";
    wiki-section="Simile JFK Timeline"
    >

If these are left out of the XML (or JSON), then there will be no Discuss link 
shown.

The campaignEvents.xml file does not include these attributes, so there is no 
wiki Discuss link shown.

--Mike


On Jun 2, 2011, at 6:05 PM, Jeff Roehl wrote:

> >> Timeline.DefaultEventSource.Event.prototype.fillInfoBubble = 
> >> function(elmt, theme, labeller) {
> >>    // define your custom infoBubble code here...
> >> }
> 
> I still dont see how this will get rid of the "Discuss" link in the bubble.
> 
> The following timeline dosent have the "Discuss" link in the bubble. Is there 
> a specific line that gets rid of this link?
> 
> http://antietam.aotw.org/campaignEvents.xml
> 
> Is there something that gets rid of the link in this (from this website)?:

-- 
You received this message because you are subscribed to the Google Groups 
"SIMILE Widgets" 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/simile-widgets?hl=en.

Reply via email to