开发者

Replace scrollbar within small text area with custom scrollbar

Is there a way to replace a standard scrollbar 开发者_Python百科with a custom image (arrow graphics) that allows visitors to click on the graphics and scroll? 2 graphics (up and down arrow).


I've used jScrollPane in the past and it's proved very useful!


http://www.kelvinluck.com/assets/jquery/jScrollPane/jScrollPane.html


Check out the jScrollPane:
http://jscrollpane.kelvinluck.com/


Recent versions of WebKit (Safari, Chrome) allow this via CSS. Maybe this will be adopted by other browsers in the near future.

http://webkit.org/blog/363/styling-scrollbars/

For now, you will have to stick to JavaScript and, as others have mentioned, jScrollPane is probably the best one around at the moment.


You can use this script http://studio.radube.com/html-textarea-custom-scrollbar

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜