Arsalan,
There are 2 concepts in Timeline that are related to what you want to do:
1. Unit: Each timeline has a single unit, which is by default
milliseconds and all the usual Javascript date functionality works with
it. The dinosaurs example shows how to use a different unit--million of
years:
2. Ether labeler: Each band of a timeline has its own ether labeler,
which renders labels on that band. The default labeler can render at
different intervals like year, month, day, hour, etc. You can have
labelers that render other kinds of label, such as the age in years of a
person (top band):
http://simile.mit.edu/timeline/examples/monet/monet.html
or the years of a king's reign (top band):
http://home.myuw.net/jjcrump/Timelines/JohnItinerary2.html
If that doesn't suffice to get you started, let us know what sort of
calendaring system you would like to implement.
Cheers,
David
Arsalan Zaidi wrote:
> Hi.
>
> How difficult is it to add in a different calendaring system to the Timeline
> code? I'd like to be able to have a view with both my custom calendar and the
> Gregorian one.
>
> Any pointers to docs, similiar efforts and the files to examine would be
> appreciaed.
>
> Thanks in advance!
>
> --Arsalan
>
> _________________________________________________________________
> Search from any Web page with powerful protection. Get the FREE Windows Live
> Toolbar Today!
> http://toolbar.live.com/?mkt=en-in
> _______________________________________________
> General mailing list
> [email protected]
> http://simile.mit.edu/mailman/listinfo/general
>
_______________________________________________
General mailing list
[email protected]
http://simile.mit.edu/mailman/listinfo/general