jQuery-slimScroll icon indicating copy to clipboard operation
jQuery-slimScroll copied to clipboard

Hidden scrollbar onload - is it possible?

Open rocko2 opened this issue 11 years ago • 10 comments

I would like to have, or maybe propose an option, the scrollbar to be hidden on load, ...and when user hovers on content, scrollbar to display.

Is this possible already or am i missing something?

Thanks!

rocko2 avatar Nov 25 '14 10:11 rocko2

+1

cinghaman avatar Nov 25 '14 14:11 cinghaman

+1

SuggeElson avatar Dec 18 '14 19:12 SuggeElson

+1

aagouda avatar Jan 25 '15 06:01 aagouda

Thanks guys, will look into this.

rochal avatar Feb 12 '15 01:02 rochal

+1

bilgot avatar May 16 '15 10:05 bilgot

+1

bondt avatar Aug 31 '15 12:08 bondt

For the time being, you could just call: $(".slimScrollBar").hide()

bondt avatar Aug 31 '15 12:08 bondt

@bondt Thanks $(".slimScrollBar").hide() seemed to work for me. Hides it onload, but still shows up whenever I hover over the div.

sferoze avatar Sep 21 '15 02:09 sferoze

Or

$(selector).slimScroll({
    opacity: 0
});

creadone avatar Apr 04 '16 22:04 creadone

jquery.slimscroll.js line 194

me.parent().append(bar); me.parent().append(rail); hideBar(); // add this

fuadarradhi avatar Apr 18 '16 10:04 fuadarradhi