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