开发者

jquery slider jump to height glitch

Does anybody know how to fix the glitch in jquery where the sliding block jumps into place when it is a large block being slid.

Example

http://jsbin.com/emoba5/5/edit

Click on posture two to see the jump. I have seen some fixes like this one

http://jqueryfordesigners.com/slidedown-animation-jump-revisited/

but have no id开发者_开发问答ea how to implement it to my code?

Thanks for having a look :)


Give the container you're sliding a width, like this:

.toggle_container .block { width: 200px; }

I know I sound crazy, but trust me on this one. Here's your example with the above CSS working.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜