Designing with Javascript: Creating Dynamic Web Pages

Front Cover
"O'Reilly Media, Inc.", 2002 - Computers - 216 pages
2 Reviews

JavaScript is one of the core technologies of the Web. Using JavaScript, you can create dynamic, interactive web pages that include image rollovers, pop-up windows, auto-scrolling frames, intelligent forms, and sophisticated Dynamic HTML effects. Even better, you don't have to be a programming ace to learn enough JavaScript to incorporate these elements into your web pages.

Designing with JavaScript shows you how to create the effects you want, without forcing you to wade through pages of dry programmer-speak about variables, operators, and functions. Each chapter demonstrates common JavaScript techniques and explains how to customize them for your own use. Along the way, it introduces basic JavaScript concepts, teaching the language in the context of real-world examples. By the time you finish this book, you'll have a solid foundation of JavaScript knowledge that you can apply to your own web pages.

With Designing with JavaScript, you will learn to:

  • Use JavaScript to produce visual effects, such as image rollovers and rotating billboards
  • Launch new browser windows, control frames, and validate form data
  • Customize your site by using JavaScript to detect browsers, platforms, and plug-ins
  • Use cookies to keep track of visitors, so you can welcome new users while offering customized pages to returning users
  • Create a tabbed folder interface, drop-down menus, and a scrolling headline ticker, using the basics of Dynamic HTML

The first edition of Designing with JavaScript taught tens of thousands of web designers how to enliven their pages with JavaScript. This new edition has been updated to cover the latest JavaScript techniques supported by current web browsers. If you are ready to start incorporating JavaScript into your designs, this is the book for you.

 

What people are saying - Write a review

User Review - Flag as inappropriate

this book is very interesting...

User Review - Flag as inappropriate

java script notes

Selected pages

Contents

Diving into JavaScript
1
Night and day
5
Doing Windows
17
Launching new windows
19
Remote control
25
Controlling Frames
33
Rotating pages
41
QuickTime VR on a budget
43
An image billboard
113
Customizing a Site with Cookies
117
Basic cookie operations
118
A welcome for new visitors
122
Forms that remember
126
Customized pages
128
Dynamic HTML
137
The Document Object Model
138

Forms and Validation
51
Madlibs
52
Stop that form
56
Is that really your email?
60
Validate this
66
Getting in Line with Arrays
69
Being unpredictable
70
Doing the date right
74
Jumpin jive
76
Too Many Browsers? Not Really
83
Different browsers different needs
88
Style differences
93
Checking for plugins
96
Beyond the browser
101
Dynamic Images
103
Image rollovers
105
Multiple rollovers
110
Dynamic Cascading Style Sheets
139
Getting acquainted with layers
144
Browser detection
152
Interactive DHTML Techniques
155
Sliding tabs
158
Scrolling layers with clipping
161
Advanced Applications
167
testing your readers
172
Relational menus
180
A crossbrowser style object
187
Moving on
191
Common JavaScript Objects
193
Event Handlers
199
Style Properties
201
JavaScript Syntax
203
Index
207
Copyright

Common terms and phrases

References to this book

All Book Search results »

About the author (2002)

Nick Heinle is perhaps the Web's best known resource for JavaScript. His JavaScript tips are used by many of the leading Web sites, including sites for "Star Wars," CNN, Digital Equipment, IBM, and Prentice Hall. He will graduate Needham High School in 1998.

Bill Peņa is a freelance Web/information designer and writer. He was also the designer for Safari: Tech Books Online, O'Reilly's online books service. He is writing several books for O'Reilly, including the recently released second edition of Designing with JavaScript. In his spare time, Bill likes to pretend he knows Perl because of the people he meets that way.

Bibliographic information