且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何禁用滚动条而不会溢出:隐藏在jQuery中

更新时间:2023-09-20 15:31:34

我无法想到一种仅通过javascript来实现此目的的方法,而无需设置css param溢出:隐藏(手动或通过javascript).为什么溢出:隐藏对您来说不是一个好选择?

I can't think of a way to do this from javascript ONLY, without setting the css param overflow:hidden (either manually, or from javascript). Why is it that overflow:hidden is not a good option for you?