Hello,

First of all, I wouldn't change the timeline source directly, but
instead add something like this after including timeline-bundle.js:

> Timeline._Band.prototype._autoScrollWithoutAlert = 
> Timeline._Band.prototype._autoScroll;
> Timeline._Band.prototype._autoScroll = function(distance, f) {
>   this._autoScrollWithoutAlert(distance, f);
>   alert(this.getCenterVisibleDate());
> }

Second, the function getCenterVisibleDate() in the Band class probably
does what you want. However, the precision will be the same as in your
code if I understand your code correctly.

Does this help?
Jonas


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to