From: Robert R. <rra...@ya...> - 2000-12-07 03:11:42
|
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. -- // Robert Rainwater On 12/6/2000, 10:37:03 PM EST, Dan wrote about "[Dynapi-Dev] Scrollpane Problems": > The event names during slide's have changed, they are "pathstart", "pathrun", and "pathstop". So this would be the first thing to look at. If no one else finds the problem I will get around to it. > Dan > On Wed, Dec 06, 2000 at 03:31:33PM -0500, Robert Rainwater wrote: >> >> Using the latest from CVS, the scroll buttons do not work as they >> should. By clicking the down arrow and releasing, the object will >> continue to scroll until it reaches the bottom, even if you release >> the button. >> >> It appears scrollpane does not catch the onscrollend. I don't know if >> it needs to, but the cancelScroll() is obviously not working right in >> the scrollpane. >> >> Also, the pushpanel, is having a similar problem, when the buttons do >> not disappear until you click then again after scrolling all the way >> to the top or bottom. >> >> -- >> // Robert Rainwater >> >> >> _______________________________________________ >> Dynapi-Dev mailing list >> Dyn...@li... >> http://lists.sourceforge.net/mailman/listinfo/dynapi-dev > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://lists.sourceforge.net/mailman/listinfo/dynapi-dev |