i-CONICA
i-CONICA

Reputation: 2379

Horizontal Scrollbar Styling in CSS using jQuery

I've been hunting around for something to achieve custom stylable horizontal scrollbars. I've found two things that seem to do it but both are hugely complex and large in size, and both have problems for me.

First, FleXcroll is full of bugs and doesn't work very well for me, for some reason. Second, tonylea horizontal scrollbars, this needs the elements to be wrapped in ULs and LIs where the system it needs to apply to is nested divs, with sibling divs to contain each element that needs to be scrolled.

Has anyone got any idea of how to style a scrollbar without huge jQuery plugins?

Is there any simple, compiled plugin that is flexible enough to work with varying HTML structures?

Thanks.

Upvotes: 0

Views: 6306

Answers (1)

Ankur Verma
Ankur Verma

Reputation: 5933

One is nanoscroll

$(selector).nanoScroller();

and one more is slimscroll

//for SlimScroll
$(selector).slimScroll({
  width: '300px',
  height: '500px',
  size: '10px',
  position: 'left'
});

Upvotes: 1

Related Questions