Alex M wrote:
> What about bigger icons.... do I need to modify the painter or can
> that be specified in the event data as well?
>
For bigger images you need to do what the Dinosaurs example does...
http://simile.mit.edu/timeline/examples/dinosaurs/dinosaurs2.html
But that doesn't handle durations, only instantaneous events. Maybe
someone else can write a better event painter :-)
David
> On Mar 27, 2007, at 8:26 AM, David Huynh wrote:
>
>
>> Alex M wrote:
>>
>>> How do I change the thumbnail icon for an event in the timeline? I
>>> tried following the dinosaurs example and using the
>>> ThumbnailEventPainter but all that gets me is a blank white box
>>> instead of the timeline.
>>>
>>>
>> If you just want 16x16 pixels icons, then simply set the icon
>> attribute
>> on your XML elements. For example, search for
>>
>> icon="../../api/images/dark-red-circle.png"
>>
>> in
>>
>> http://simile.mit.edu/timeline/examples/jfk/jfk.xml
>>
>> as an example.
>>
>> Re: blank white box: check the error console of your browser.
>>
>> David
>> _______________________________________________
>> General mailing list
>> [email protected]
>> http://simile.mit.edu/mailman/listinfo/general
>>
>
> _______________________________________________
> General mailing list
> [email protected]
> http://simile.mit.edu/mailman/listinfo/general
>
_______________________________________________
General mailing list
[email protected]
http://simile.mit.edu/mailman/listinfo/general