1

Can we change the appearance of scroll bar? I mean we want to change the image of the scroll bar, so it can match our web theme. more specifically, i'm pointing at the scroll bar in

<div style=overflow:auto>

If it can't be done, then is there some other way to make our own "scroll bar", which use our own image?

Perhaps if we're insane enough, maybe we'll do it like this. We make a bunch of <div> which contain an image of up arrow, scroll, down arrow, etc. And then we applied some function to each of them. off course the width of scroll will depend on the amount of the content.

Can somebody help?

4

2 回答 2

1

看看这个网站- 我听说过关于实现方法的好消息,虽然我从来没有真正费心创建我自己的自定义滚动条。

通过一些实验,您应该能够根据自己的主题设计样式。

于 2009-01-23T16:47:58.600 回答
0

jQuery 插件中有很多可用的自定义滚动条,这里有一些 http://designhuntr.com/custom-jquery-scrollers/

我建议http://baijs.com/tinyscrollbar/

于 2014-03-14T11:16:47.957 回答