Chapter 4. Building Custom Scrollbars

A common strategy for dealing with pages that have a lot of content is to hide some of the content until the site visitor wants or needs it. There are many approaches to this—you could use tabs, accordions, lightboxes, or the focus of this chapter, scrollable areas.

Scrollable areas are easy for site visitors to understand and use, but they often get ignored because some operating systems have unsightly scrollbars that ruin the aesthetics of your carefully-tuned design. Browsers offer few, if any, options for customizing the appearance of scrollbars, and no official means of doing so has ever been included in any HTML or CSS specification.

Some designers have turned to Flash to create custom scrollbars, and ...

Get jQuery for Designers Beginner's Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.