寻找 jQuery 滚动条插件

发布于 2024-10-18 10:18:11 字数 153 浏览 7 评论 0原文

我正在寻找一个用于滚动 HTML 内容的滚动条插件。我尝试过几个插件,例如 jQuery slider 和 jscrollpane。他们都遇到了同样的问题:当按住鼠标按钮时,将鼠标移出浏览器窗口并返回,然后释放鼠标按钮,滚动条仍然保持滚动。

对于跨浏览器解决方案有什么想法吗?

I'm looking for a scrollbar plugin for scrolling HTML content. I've tried several plugins like jQuery slider and jscrollpane. They're all suffering from the same problem: when keeping the mouse button clicked, move the mouse out of the browser window and back, then release the mouse button, the scrollbar still keeps scrolling.

Any ideas for a cross-browser solution?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

無心 2024-10-25 10:18:11

我没有具体推荐的,但此页面可能会有所帮助: http://www.net-kit.com/jquery-custom-scrollbar-plugins/

编辑:

至少在Chrome中,这个插件似乎没有遇到您遇到的问题描述:http://www.simonbattersby.com/demos/vertical_scrollbar_demo.htm

I don't have an specific ones to recommend, but this page might be helpful: http://www.net-kit.com/jquery-custom-scrollbar-plugins/

Edit:

At least in Chrome, this plugin doesn't seem to suffer from the problem you described: http://www.simonbattersby.com/demos/vertical_scrollbar_demo.htm

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文