yash-goli / jquery-nicescroll

Automatically exported from code.google.com/p/jquery-nicescroll
0 stars 0 forks source link

May want to add a margin-right property. #62

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
To make the nicescroll look just like chrome/safari I did the following:

jQuery( 'html' ).niceScroll(
                {
                    scrollspeed: 60,
                    mousescrollstep: 40,
                    cursorwidth: 9,
                    cursorborder: '1px solid #6c6c6c',
                    cursorcolor: '#000',
                    cursorborderradius: 8,
                    preservenativescrolling: true,
                    cursoropacitymax: .5,
                    autohidemode: true,
                    zindex: 999999,
                    horizrailenabled: false
                }
            );

In order to make it really work, I also had to add margin-right of 2px. May 
want to just have that as an option.

Thanks for the great script!

Original issue reported on code.google.com by dpauks...@gmail.com on 28 Jan 2015 at 6:57