Hi, Jos
Thanks for your great tool.
I'm using: timeline-2.9.0.zip CHAP and want to extend the RangeItem.
1.
When I drag a left or right border of overlap item, the item will move to the top position of current group.
links.Timeline.ItemBox.prototype.setPosition = function (left, right) {
......
if (this.group) {
this.top = this.group.top;
dom.style.top = this.top + 'px';
}
};
I think that's the reason.
I have to identify the move is a type of dragLeft,dragRight or change group.
If it's dragLeft or dragRight, then set the item current top, otherwise set the group top.
Any suggestion?
BTW
When item selected, I want to get the reference of Timeline to calculate the position of dom.
Would you please make item.prototype.select = function (timeline) like item.prototype.getRight = function (timeline) .
Sorry for my poor english. ;)