Thanks Larry and David.  I need to look more closely at how Timeline and 
Exhibit work together.  I was able to overcome this issue by creating a 
second feed that contained only the items that needed icons and left out 
the end date for these.  Not ideal but works for now.

- John




Larry Kluger wrote:
>
> Hi David,
>
> Note that you can have an icon event with start and end dates using 
> original painter:
>
> You do this by saying that the event is an Instant (durationEvent = 
> false) event but supply both start and end dates.
>
> As a result you get an "Imprecise Instant Event" that has an icon and 
> a tape. (Albeit the tape is dimmed by default.)
>
> And the theme can be used to adjust the event.instant.impreciseOpacity 
> value to 100.
>
> John,
>
> I don't know how to get Exhibit to tell Timeline that the event is an 
> imprecise instant event, you'll need to check the sw that glues 
> Exhibit to Timeline.
>
> Regards,
>
> Larry
>
>
>
>
> ------------------------------------------------------------------------
> *From:* David Huynh <[email protected]>
> *To:* [email protected]
> *Sent:* Saturday, March 28, 2009 9:11:44 PM
> *Subject:* Re: icons for timeline
>
>
> John Callahan wrote:
> > I'm trying to add custom icons to events on a Timeline but running into
> > a problem. 
> >
> > My events has both start and end dates.  From looking at
> > http://www.simile-widgets.org/timeline/examples/test_example/test.html,
> > I believe that I would need durationEvent=false in order to include an
> > icon.
> >
> > I cannot add "durationEvent" to my array as it's being auto generated
> > through a CMS (Drupal.)  I also use Exhibit.  This hasn't been a 
> problem
> > so far as I've been able to set fields specifically in my Timeline 
> view,
> > such as
> >
> >    ex:start=".my-start-date-field"
> >    ex:end=".my-end-date-field"
> >
> >
> > Is there a ex:durationEvent so I can define the field name that
> > represents durationEvent?  Or maybe I can use my timelineConstructor
> > and force all events to have durationEvent=false, such as within
> > Timeline.createBandInfo?  Or maybe I can add an additional item
> > [durationEvent, false] to each item of the data stream coming in 
> through
> > some type of javascript callback function?
> >
> >
> > Are any of these even possible?  I'm not sure where to start.  Thanks
> > for your help.
> > 
> Only the "compact painter" will render images for duration events,
>
>     http://people.csail.mit.edu/dfhuynh/misc/compact-painter/index2.html
>
> But it's not released through Timeline yet, nor is it integrated into
> Exhibit. If you really want it, then I'd recommend including
>     http://trunk.simile-widgets.org/timeline/api/timeline-api.js
> before including exhibit-api.js, and then using this trick to construct
> your own timeline
>     http://simile.mit.edu/wiki/Controlling_A_Timeline_Within_An_Exhibit
>
> David
>
>
>
>
>
> >

--~--~---------~--~----~------------~-------~--~----~
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