Cover image for Designing with Javascript : creating dynamic Web pages
Title:
Designing with Javascript : creating dynamic Web pages
Author:
Heinle, Nick.
Personal Author:
Edition:
Second edition.
Publication Information:
Sebastopol, CA : O'Reilly, 2002.
Physical Description:
xi, 216 pages : illustrations ; 24 cm
General Note:
"O'Reilly web studio"--Cover.

"Web page for this book at http://www.oreilly.com/catalog/designjs2/ ... download examples in the book from this site" -- p. viii.

Includes index.
Language:
English
Added Author:
Electronic Access:
Access examples from the book
ISBN:
9781565923607
Format :
Book

Available:*

Library
Call Number
Material Type
Home Location
Status
Central Library QA76.73.J39 H45 2002 Adult Non-Fiction Central Closed Stacks
Searching...

On Order

Summary

Summary

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.


Author Notes

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#65533;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.


Table of Contents

Prefacep. vii
1. Diving into JavaScriptp. 1
Adding descriptive linksp. 1
Night and dayp. 5
2. Doing Windowsp. 17
Window basicsp. 17
Launching new windowsp. 19
Remote controlp. 25
3. Controlling Framesp. 33
The toolbar designp. 33
Rotating pagesp. 41
QuickTime VR on a budgetp. 43
4. Forms and Validationp. 51
Getting to know that formp. 51
Madlibsp. 52
Stop that form!p. 56
Is that really your email?p. 60
Validate this!p. 66
5. Getting in Line with Arraysp. 69
The array conceptp. 69
Being unpredictablep. 70
Doing the date rightp. 74
Jumpin' jivep. 76
6. Too Many Browsers? Not Reallyp. 83
What browser is that knocking at my door?p. 83
Different browsers, different needsp. 88
Style differencesp. 93
Checking for plug-insp. 96
Beyond the browserp. 101
7. Dynamic Imagesp. 103
Image basicsp. 103
Image rolloversp. 105
Multiple rolloversp. 110
An image billboardp. 113
8. Customizing a Site with Cookiesp. 117
What's a cookie?p. 117
Basic cookie operationsp. 118
A welcome for new visitorsp. 122
Forms that rememberp. 126
Customized pagesp. 128
9. Dynamic HTMLp. 137
What is DHTML?p. 137
The Document Object Modelp. 138
Dynamic Cascading Style Sheetsp. 139
Getting acquainted with layersp. 144
Browser detectionp. 152
10. Interactive DHTML Techniquesp. 155
Drop-down menusp. 155
Sliding tabsp. 158
Scrolling layers with clippingp. 161
11. Advanced Applicationsp. 167
Object-oriented scriptingp. 167
The quiz: testing your readersp. 172
Relational menusp. 180
A cross-browser style objectp. 187
Moving onp. 191
A. Common JavaScript Objectsp. 193
B. Event Handlersp. 199
C. Style Propertiesp. 201
D. JavaScript Syntaxp. 203
Indexp. 207

Google Preview