How do we make a styled scroll bar for a
with mouse wheel sensitive

后端 未结 3 1881
忘了有多久
忘了有多久 2021-01-16 02:28

I need to create an area of the page that has it\'s own scroll bar, just like the Facebook messenger in the image below.

Stack overflow has the same system at the an

3条回答
  •  囚心锁ツ
    2021-01-16 03:33

    I imagine that custom scrollbar is implemented in javascript, it looks very slick and you can't make a browsers scrollbar look that good!

    Find an example I just put together for you at: http://jsfiddle.net/9LHPW/2/ - note check the resources tab as this includes four external files (3x Js and 1x CSS)

    Have a look at this website for a further example (looks like exactly what you want) with Javascript and jQuery: http://manos.malihu.gr/tuts/jquery_custom_scrollbar.html

    You can find the plugin's home at http://manos.malihu.gr/jquery-custom-content-scroller

    Along with a how to use it section!

提交回复
热议问题