Great, but I'm not a fan of introducing more style information in the
events themselves. Having to specify barImage and barRepeat for a
whole bunch of events is just mixing the data and the presentation,
and implies that other code will have to have knowledge of the
presentation of the data when it is generating my XML or JSON. I
don't want that.
I would rather specify things through classes:
event {'start':'1885', 'end' : '1925', 'eventClass' : 'residence'
or
event {'start':'1920', end : '1924', 'eventType' : 'schooling'
and use css classes to apply the appropriate images and styles.
Same for hoverText - don't define attributes that refer specifically
to presentation.
I would rather have semantically meaningful labels for my values,
like "shortTitle" or "summary" or "caption" than "hoverText",
"linkText" or "mouseoverText"
I'm all for more control over the presentation of items on the
Timeline, I just want to keep things cleanly separated between data
and presentation.
--Mike Nosal
On Sep 17, 2008, at 4:15 PM, LarryK wrote:
>
> Hi Everybody,
>
> I just checked in rev 1569 to Timeline.
>
> New features
> * Timeline events can now have new optional attributes of barImage and
> barRepeat. Use them to set the background of event bars. Use stripes
> or any image. The cubism example now demonstrates this. Check it out
> on my sandbox: http://sandbox.kluger.com/timeline/src/webapp/
> examples/cubism/cubism.html?1
>
> * timeline_source.zip -- To make it easier for people to download the
> source, I've added a new file to the source tree, a zip file of the
> source. You can download it from here:
> http://simile-widgets.googlecode.com/svn/timeline/trunk/
> timeline_source.zip
>
> Please let me know what you think of this idea. You should be able to
> download it to your Mac or Win machine, unzip it, start the included
> web server and then be all set. (Somebody please test it for me...)
>
> * Updated the documentation about event sources (describes the
> attributes). See
> http://code.google.com/p/simile-widgets/wiki/Timeline_EventSources
>
> Bug fixes
> * Fixed color attribute to set background color of Timeline bars. See
> Cubism for a demo.
> * hoverText now works for JSON and SPARCL event sources. See Cubism
> for a demo.
>
> Using the new version
> This version of Timeline is not available on the MIT servers or
> elsewhere for production access by your Timeline html files. You can
> easily serve the library to your own pages using any web server.
>
> Your comments are very much appreciated.
>
> Regards,
>
> Larry K
> New York City
> >
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---