|[ Team LiB ]|
What's in This Book
Chapter 5 through Chapter 8 provide solutions for problems that apply to almost all scriptable browsers. In Chapter 5, Browser Feature Detection, you will learn how to free yourself of the dreaded "browser sniffing" habit and use forward-compatible techniques for determining whether the browser is capable of running a block of script statements. If multiple windows are your nemesis, then Chapter 6, Managing Browser Windows, provides plenty of ideas to handle communication between windows. A few recipes present suggestions for modal windows (or facsimiles thereof). Not everyone is a frame lover, but Chapter 7, Managing Multiple Frames, may be of interest to all, especially if you don't want your site being "framed" by another site. Intelligent forms—one of the driving forces behind the creation of client-side scripting—are the subject of Chapter 8, Dynamic Forms. Updated to modern techniques, recipes include form validation (with or without regular expressions) and some cool but subtle techniques found on some of the most popular web sites on the Internet.
Interactivity with the user is driven by event processing, and Chapter 9, covers the most common event processing tasks you'll encounter with DHTML scripting. Events ripple through most of the remaining chapters' recipes. That includes many recipes in Chapter 10, where you'll see how to implement a variety of menuing designs and pass data from one page to the next. Chapter 11, provides recipes for both basic and advanced style sheet techniques as they apply to dynamic content, including how to load a browser- or operating system-specific stylesheet into the page. Style sheets play a big role in Chapter 12, where recipes abound for image rollovers and user-controlled font sizes, to name a couple.
|[ Team LiB ]|