17. Advanced Dynamic Techniques

In Chapter 16, you learned about the basic building blocks for creating a dynamic Web site. These include relatively simple tasks, such as changing an object’s position and visibility. Now, it is time to combine those techniques to not only change objects spatially, but also add a temporal element so that objects change over time. This process lets you animate objects and enables users to interact more extensively with the objects.

In this chapter we’ll look at ways to do the following:

• Loop functions to continue running at specific intervals

• Make objects appear to move fluidly around the window

• Use form input to make dynamic changes

• Allow the visitor to move objects around on the page

• Create objects ...

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.