自定义滚动条 [英] Custom scrollbar
问题描述
可以使用一些自定义的替换标准滚动条(仅限外观)(来自 http:/ /scripterlative.com/files/autodivscroll.htm ,看起来像 http://www.dyn-web.com/code/scroll/demos.php?demo=vert ),所以脚本仍然可以工作,滚动条的行为就像不是修改?
Is it possible to replace standard scrollbar (only appearance) with some custom one (the one from http://scripterlative.com/files/autodivscroll.htm to look like the top-left example from http://www.dyn-web.com/code/scroll/demos.php?demo=vert) so the script will still work and scrollbar behave like it wasn't modified?
谢谢!
推荐答案
Webkit 支持它,所以它可能在Safari和Chrome。我试过一次,它工作得很好。
Webkit supports it so it is possible in Safari and in Chrome. I tried it once, it works well.
我唯一的问题:不支持在容器的左侧或顶部显示滚动条。
My only problem: Doesn't support showing the scrollbar at the left or the top of the container.
这篇关于自定义滚动条的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!