Sorry, I now understand how iconcoder and iconkey work. However, I am 
trying to display a dataset of photographs, and would like each of my icons 
to be an icon of the photograph in question. Is this possible through 
Exhibit?

On Tuesday, March 27, 2012 8:44:06 PM UTC-4, soyiuz wrote:
>
> 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/-/W0Vrzmd5uGgJ.
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