Smiley, David W. (DSMILEY) wrote:
> Hello everyone. I am very impressed with Timeline from what I have 
> seen. I am interested in using it for basic scheduling. There are a 
> couple things that the software appears to not do that I’d need.
> (1) I need to control which row Timeline displays a date span on, and 
> I need to label the row. Imagine that the row represents a conference 
> room that is to be reserved, and the date span is a reservation of 
> that room.
Would something looking like this be close enough to what you want?
http://www.lincolnstein.org/timelines/
In which case, you can simply view that web page's source code to see how.

> (2) The user needs to be able to drag a date span that is plotted left 
> and right to adjust the schedule.
Hmm, we don't support editing yet. Search for "createDurationDiv" in 
this source code
http://simile.mit.edu/timeline/api/scripts/painters.js
to see how that currently works. You will need to write your own
Timeline.DurationEventPainter.prototype.paint
in a <script> element after you include timeline-api.js. Which is not so 
easy.

For adding new events on the fly, see Liming Xu's example:
http://www.ajaxlab.com/timeline/tasks.html

Hope that helps,

David

_______________________________________________
General mailing list
[email protected]
http://simile.mit.edu/mailman/listinfo/general

Reply via email to