滚动条出现并使页面跳转 [英] Scroll Bar Appears and Makes Page Jump
本文介绍了滚动条出现并使页面跳转的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个可扩展DIV并使其比浏览器更大的JQuery动画.发生这种情况时,会出现一个滚动条,使页面看起来好像跳了起来.有人对此有解决方案吗?
I have aJQuery animation that expands a DIV and makes it go larger than the browser. When that happens a scroll bar appears and meks the page look as if it jumps. Anyone have any solutions for this?
http://www.kerrydean.ca/MATHESON/home5.html
推荐答案
html {
overflow: -moz-scrollbars-vertical;
overflow-y: scroll;
}
请参阅:使主滚动条始终可见.
这篇关于滚动条出现并使页面跳转的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文