Hi,
Some more updates. I think I had better snapshot what we have as 2.1.0 quick like before I make any more changes...I'll look into that. In the meantime, some fresh software: (Excerpt from the CHANGES file) * Event attribute classname is added to the classnames for the event's label and tape divs. Eg classname of 'hot_event' will result in div classes of 'timeline-event-label hot_event' and 'timeline-event-tape hot_event' for the event's Timeline label and tape, respectively. Change is that classname is now added to the tape's div. -- Larryk rev 1576 * Re-worked function Timeline.DefaultEventSource.Event in sources.js to use named arguments (via a hash/anon object) rather than positional arguments. 19 positional arguments are too many! Now much easier and cleaner to add additional event attributes. -- Larryk rev 1576 Note: this is a breaking change for anyone who calls Event directly. But since the wiki page about dynamic events recommends calling loadXML, etc, I hoping that this won't cause anyone much pain. And the new format is MUCH easier to use as a developer. * New event attribute eventID is a 'cookie' attribute that is stored, not used by the Timeline library. If you write a custom labeller or event bubble filler, the attribute can be obtained using the getEventID() method on the event object. -- Larryk rev 1576 * New event attribute caption supercedes hoverText. hoverText is deprecated. For now, it will live on for backwards compatibility. -- Larryk rev 1576 * Event attributes barImage and barRepeat renamed to tapeImage and tapeRepeat. No backwards compatibility. (Breaking change from previous checkin) -- Larryk rev 1576 Also * Updated the wiki page on event attributes, see http://code.google.com/p/simile-widgets/wiki/Timeline_EventSources * Updated the Cubism example to demo the attributes * Available on my sandbox: http://sandbox.kluger.com/timeline/src/webapp/examples/cubism/cubism.html?1 Comments welcomed. Regards, Larry --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
