May I suggest to change the behavior of _onDblClick from scrolling to
centering:
Timeline._Band.prototype._onDblClick = function(innerFrame, evt, target) {
/* original
var coords = SimileAjax.DOM.getEventRelativeCoordinates(evt,
innerFrame);
var distance = coords.x - (this._viewLength / 2 - this._viewOffset);
this._autoScroll(-distance);
*/
// suggested
this.setCenterVisibleDate(this._ether.pixelOffsetToDate(evt.clientX));
};
You almost get the same results as with scrolling (large jumps, if
desirable), plus the benfit to center the timeline quickly on a date of
your choice.
_______________________________________________
General mailing list
[email protected]
http://simile.mit.edu/mailman/listinfo/general