24. Controls
A truly dynamic Web site lets visitors interact with the pages by changing the content after it has loaded. You must provide controls that permit that interaction.
In this chapter, we’ll explore how to create a few of the most common dynamic controls, such as page controls, scroll bars, style controls, and photo albums.
Providing Page Controls
Although vertical scrolling is a fact of life on the Web, most users would prefer to not spend their time running up and down the window. However, splitting your content over multiple HTML pages to shorten the height of those scrolls means the user has to wait between page loads.
A better solution is to use a simple DHTML technique to split the content of a single HTML file into multiple page ...
Get CSS, DHTML, and Ajax: Visual QuickStart Guide, Fourth Edition 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.