Lion-like scrollbar with jQuery?

2019-01-30 03:59发布

Does anyone know a jQuery plugin that makes Mac OS X Lion style scrollbars for every browser?

Thanks in advance.

Edit: Here's an image for Windows users

enter image description here

10条回答
该账号已被封号
2楼-- · 2019-01-30 04:37

The scrollpane Jquery Plugin is the closest you'll get.

see the lozenge demo.

To make it more like Lion, you could customize it to only show the bar when the track div is hovered over and ensure you use the animateEase function.

Oh and for extra Apple goodness change the direction of the scroll so down is up and up is down :-)

查看更多
别忘想泡老子
3楼-- · 2019-01-30 04:38

Interesting stuff, I wrote a plugin that does just that. It's called LionBars.

查看更多
时光不老,我们不散
4楼-- · 2019-01-30 04:38

The day Lion was released I was very fond of the scrollbar in the OS. The browsers already have a slick default scrollbar but I thought how about them Windows users ;).

It is still under construction but it might help you out: OSX Scroll

Based on tinyscrollbar but I made some adjustments. You can enable autohide (like in the OS). Just have a look at the source files.

Hope it helps.

查看更多
The star\"
5楼-- · 2019-01-30 04:40

nanoscroller or nicescroller would be a better option for smooth scrolling.

查看更多
登录 后发表回答