如何修复 SlideItMoo 中的不稳定过渡? (使用 Mootools 的 Fx.Transitions)
我在 joomla 网站中使用 Mootools。
我想做一个基本的横幅旋转器。找到一个滑块,SlideItMoo,这似乎大部分有效。
但在我看来,过渡有点不稳定,尤其是在最后。在 circ:out
或 sine:out
过渡结束时,新图像会采取明显的步骤。
也许问题是时间片粒度太大。有没有办法减少时间片,使整个过程更加顺利? 或者有其他方法可以让过渡看起来更平滑吗?
我正在使用 Mootools。任何解决方案都应该关注 mootools;请不要建议我切换到替代框架。
I'm using Mootools in a joomla site.
I want to do a basic banner rotator. Found a slider, SlideItMoo, that seems to mostly work.
But it seems to me the transitions are a bit jerky, especially at the end. Towards the end of a circ:out
or sine:out
transition, the new image takes noticable steps.
Maybe the problem is that the time-slice is too large-grained. Is there a way for me to reduce that time-slice to make the entire process smoother?
Or is there another way to make the transition appear smoother?
I'm using Mootools. Any solution really should focus on mootools; please don't suggest I switch to an alternative framework.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我不知道为什么过渡对我来说似乎很不稳定。我做了一些分析并绘制了过渡曲线,但没有看到任何明显的东西。
我最终建立了自己的过渡,在我看来,这似乎产生了更平滑的视觉效果。
I don't know why the transitions appeared to be jerky to me. I did some analysis and graphed the transition curves, and didn't see anything really obvious.
I ended up building my own transition, which to my eye appeared to produce a smoother visual effect.