简体   繁体   中英

Replace scrollbar within small text area with custom scrollbar

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

我过去使用过jScrollPane ,事实证明它非常有用!

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM