|
From: Robert R. <rra...@ya...> - 2000-12-07 04:07:09
|
Just an update. I fixed the cancelScroll problem w/:
ViewPort.prototype.cancelScroll = function() {
this.contentPane.pathanim.stopAnimation();
this.invokeEvent("scrollend");
};
--
// Robert Rainwater
On 12/6/2000, 10:13:31 PM EST, Robert wrote about "[Dynapi-Dev] Scrollpane Problems":
> There's a conflict with pathanim creating a slideTo. I believe you
> confused that slideTo with the one in slide.js (they would override
> each other if used in the same page!!!). Anyway, I fixed the
> scrollpane by editing cancelScroll in viewport.js:
> ViewPort.prototype.cancelScroll = function() {
> this.contentPane.pathanim.stop();
> this.contentPane.pathanim = null;
> this.invokeEvent("scrollend");
> };
> I suggest we rename the pathanim slide method to remove any conflict.
> Good idea?
> Also why does pathanim have to be set to null for the next slide to
> work? If you remove it, after you stop scrolling, then the
> contentPane will not scroll anymore unless you set its pathanim to
> null.
|