I’m using jScrollPane for jQuery to make the scrollbar look like the Windows 8 scrollbar (I’m making kind of a Metro/Modern UI mockup just for fun). I have the look of the scrollbar pretty down-pat, but I have a problem. There is no way (at least in the current version) to get a left arrow image, and a right arrow image (as I’m using horizontal scrolling, like in the Metro UI). I have seen questions around here and they show a jQuery light theme which gives you separate arrows (the Lozenge theme), but it’s a pain in the butt and not at all what I’m looking for. Any ideas??
Share
Why wouldn’t you be able to modify the CSS for the class .jspArrow to display your arrow images as background images?
Looking at one of the demos here, I see this css:
Change it to something like:
There are separate classes for jspArrowRight and jspArrowLeft that should help you further.
If that doesn’t work, I know for sure that you can create “padding” for the scroll bar, they call it a gutter in the documentation. I would create the gutter and then use CSS pseudo before and after elements on the scroll bar track to render arrows.