Custom scrollbar

Can anybody tell me how they made these custom yellow arrow scrollbars
and how the make it work ? (check out the link)

http://www.juxtinteractive.com/

In a case like this viewing the source is your friend. :slight_smile:

They make use of JavaScript to control the scrolling. It appears too that onmouseover scrolls at one speed and onclick will double the “normal” speed.

There’s a LOT to explain as far as the javascript goes, so you may was to grab the js files and look over them. Then if you get into any trouble come back and post a more specific question. Unless someone has the time to go over all the code for you.

The two js files can be found:
http://www.juxtinteractive.com/_includes/js/dw_scrollObj.js
http://www.juxtinteractive.com/_includes/js/dw_hoverscroll.js

You still may want to look at the source code since there’s a javascript function in b/n script tags in the HTML code (function initScrollLayer()) which you may need.

thanks for you help