slideToggle的高度是“跳跃", [英] slideToggle height is "jumping"
本文介绍了slideToggle的高度是“跳跃",的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我的jQuery slideToggle()
实验
My jQuery slideToggle()
experiment
有人可以告诉我为什么打开箱子时我的箱子会跳"吗?上半部分会滑动,其余部分会跳"?
Can anybody tell me why my boxes "jump" when i open them? The first half they slide, the rest they "jump"??
谢谢 约翰内斯
推荐答案
简单的修复方法.将此CSS规则添加到您的样式表中(在Firebug中经过测试可以正常工作,根据我过去对该问题的经验,此为修复方法):
Its a simple fix. Add this CSS rule to your stylesheet (Tested in Firebug to work, and from my past experience with this problem, this is the fix):
ol.message_list { position: relative }
这是CSS错误,而不是jQuery错误.
It is a CSS bug, not a jQuery bug per se.
这篇关于slideToggle的高度是“跳跃",的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文