Can someone please explain how to use ex:iconKey correctly?
I am trying to get custom icons to work with Exhibit + Timeline. The data
is coming as JSON from Google Docs, where I have an {icon} field which
contains the URL for each event icon (these are single events). So I am
trying to do something like:
<div ex:role="view"
> ex:viewClass="Timeline"
> ex:start=".start"
> ex:end=".end"
> ex:iconKey=".icon"
> ex:timelineConstructor="myTimelineConstructor"
> >
> </div>
>
And myTimelineConstructor makes bands like this:
var bandInfos = [
> Timeline.createBandInfo({
> width: "20%",
> intervalUnit: Timeline.DateTime.MONTH,
> intervalPixels: 100,
> eventSource:
> constructFilteredEventSource(eventSource, window.database, "category", "a"),
> theme: theme
>
Everything works except the icons! Any help would be appreciated.
--
You received this message because you are subscribed to the Google Groups
"SIMILE Widgets" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/simile-widgets/-/przUk7pyGKIJ.
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.