Great solution, Larry! I did something virtually equivalent to, and before I found, your suggestion and it works great!
How likely is it that this feature will be incorporated in the code trunk? Later, Hunt On Sep 23, 5:08 pm, LarryK <[EMAIL PROTECTED]> wrote: > Hi Fred, > > The software does not currently include the functionality that you > suggest, but you could add it. > You could have an event attribute of 'track_number' -- Timeline > nomenclature is that each duration event has a "tape" on a particular > "track" > > Non-duration events have an icon on atrack. > > In file original-painter.js, each of the functions > Timeline.OriginalEventPainter.prototype.paintPreciseInstantEvent > Timeline.OriginalEventPainter.prototype.paintImpreciseInstantEvent > Timeline.OriginalEventPainter.prototype.paintPreciseDurationEvent > Timeline.OriginalEventPainter.prototype.paintImpreciseDurationEvent > > has a line > vartrack= this._findFreeTrack(rightEdge); > You'd change those lines to > vartrack= (evt.getTrackNumber() != null) ? evt.getTrackNumber() : > this._findFreeTrack(rightEdge); > > You'd also change sources.js to support the new attribute. > > Regards, > > Larry > > On Sep 23, 11:29 am, Fred <[EMAIL PROTECTED]> wrote: > > > > > Hi all, > > > I'm wondering if it is possible to do something like this: (specify on > > which line the event should appear and not let the timeline do it): > > > say the timeline is made of 5 lines, each line assigned to an event > > type, > > > * Event1 (type 1) * Event2 (type1) > > * Event3 (type 2) * Event6 (type 2) > > * Event 4 (type 3) > > * Event 7 (type 4) > > * Event 5 (type 5) > > > typical example: 1 line for a project X, 1 line for project Y, ... > > > --Fred- Hide quoted text - > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
