jQuery:自定义水平手风琴样式展示问题
我正在尝试创建一个自定义水平手风琴风格展示柜。就实际功能而言,我有框架(可以在这里看到):
http://www. jsfiddle.net/adrianjacob/UdUus/
然而,我(和客户)的主要问题是,如果你看最后一个里的右侧,当宽度动画向上时,总是会有轻微的移动/闪烁向下。
理想情况下,我希望它看起来很平滑,当其他东西调整大小时,最后一个项目不会有危险的移动。知道我该如何实现这一目标吗?
一个。
Im trying to create a custom horizontal accordion style showcase. In terms of actual functionality, i have the framework (which can be seen here):
http://www.jsfiddle.net/adrianjacob/UdUus/
However my main bug bear (and the clients) is that if you look at the right hand side of the last li, there is always slight movement/flickering as the widths animate up and down.
Ideally I want it to appear smooth with no dodgy movement on the last item as other things resize. Any idea how I can achieve this?
A.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我尝试了另一种方式: http://www.jsfiddle.net/elektronikLexikon/4mBYE/
.promo
的宽度始终为 200px,并使用此脚本向左或向右移动:(在 jsFiddle 中,我也使用hoverIntent)
I tried it another way: http://www.jsfiddle.net/elektronikLexikon/4mBYE/
The
.promo
s always have 200px width and are moved to the left or right with this script:(in the jsFiddle, I use hoverIntent, too)