The second edition of Designing with
JavaScript shows you
how to create
dynamic, interactive
web pages, using
image
rollovers, pop-up
windows, auto-scrolling frames,
intelligent forms, and sophisticated Dynamic
HTML effects.
The examples have been updated to cover the latest
JavaScript techniques supported by current web browsers.
Even better, you don't have to be a programming ace to
incorporate these elements into your web pages.
Contents
Preface
1. Diving into JavaScript
Adding descriptive links
Night and day
2. Doing Windows
Window basics
Launching new windows
Remote control
3. Controlling Frames
The toolbar design
Rotating pages
QuickTime VR on a budget
4. Forms and Validation
Getting to know that form
Madlibs
Stop that form!
Is that really your email?
Validate this!
5. Getting in Line with Arrays
The array concept
Being unpredictable
Doing the date right
Jumpin' jive
6. Too Many Browsers? Not Really
What browser is that knocking at my door?
Different browsers, different needs
Style differences
Checking for plug-ins
Beyond the browser
7. Dynamic Images
Image basics
Image rollovers
Multiple rollovers
An image billboard
8. Customizing a Site with Cookies
What's a cookie?
Basic cookie operations
A welcome for new visitors
Forms that remember
Customized pages
9. Dynamic HTML
What is DHTML?
The Document Object Model
Dynamic Cascading Style Sheets
Getting acquainted with layers
Browser detection
10. Interactive DHTML Techniques
Drop-down menus
Sliding tabs
Scrolling layers with clipping
11. Advanced Applications
Object-oriented scripting
The quiz: testing your readers
Relational menus
A cross-browser style object
Moving on
A. Common JavaScript Objects
B. Event Handlers
C. Style Properties
D. JavaScript Syntax
Index