-
Book Overview & Buying
-
Table Of Contents
jQuery for Designers: Beginner's Guide
By :
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 I'm sure you've come across samples of these Flash scrollbars online – more often than not, they're unwieldy and break common conventions for dealing with scrollable areas. For example, you're rarely able to use your mouse's scrollwheel to scroll through...
Change the font size
Change margin width
Change background colour