
JavaScript Application Cookbook
Год: 1999
Автор: Jerry Bradenbaugh
Жанр: Учебное пособие
Издательство: O'Reilly
ISBN: 1-56592-577-7
Язык: Английский
Формат: PDF
Качество: Изначально компьютерное (eBook)
Количество страниц: 444
Описание: JavaScript Application Cookbook literally hands the Webmaster a set of ready-to-go, client-side JavaScript applications with thorough documentation to help them understand and extend the applications. By providing such a set of applications, JavaScript Application Cookbook allows Webmasters to immediately add extra functionality to their Web sites.
Copyright
Editor's Note
Preface
What You Should Know
Font Conventions
Book Structure
About the Code
Development and Testing
We'd Like to Hear From You
Acknowledgments
Introduction
JavaScript Pros
Basic JavaScript Programming Strategy
JavaScript Approaches in These Applications
Moving On
Chapter 1. The Client-Side Search Engine
Section 1.1. Execution Requirements
Section 1.2. The Syntax Breakdown
Section 1.3. nav.html
Section 1.4. Building Your Own JavaScript Database
Section 1.5. Potential Extensions
Chapter 2. The Online Test
Section 2.1. Execution Requirements
Section 2.2. The Syntax Breakdown
Section 2.3. index.html—The Frameset
Section 2.4. questions.js—The JavaScript Source File
Section 2.5. administer.html
Section 2.6. Potential Extensions
Chapter 3. The Interactive Slideshow
Section 3.1. Execution Requirements
Section 3.2. The Syntax Breakdown
Section 3.3. Application Variables
Section 3.4. The Application Functions
Section 3.5. Potential Extensions
Chapter 4. The Multiple Search Engine Interface
Section 4.1. Execution Requirements
Section 4.2. The Syntax Breakdown
Section 4.3. Potential Extension: Adding User Control
Chapter 5. ImageMachine
Section 5.1. Execution Requirements
Section 5.2. The Syntax Breakdown
Section 5.3. Potential Extension: Adding Attributes to the Template
Chapter 6. Implementing JavaScript Source Files
Section 6.1. arrays.js
Section 6.2. cookies.js
Section 6.3. dhtml.js
Section 6.4. events.js
Section 6.5. frames.js
Section 6.6. images.js
Section 6.7. navbar.js
Section 6.8. numbers.js
Section 6.9. objects.js
Section 6.10. strings.js
Section 6.11. Potential Extensions
Chapter 7. Cookie-Based User Preferences
Section 7.1. Execution Requirements
Section 7.2. Syntax Breakdown
Section 7.3. prefs.html
Section 7.4. dive.html
Section 7.5. Potential Extensions
Chapter 8. The JavaScript Shopping Cart
Section 8.1. Shopping Bag Walk-Through
Section 8.2. Execution Requirements
Section 8.3. Syntax Breakdown
Section 8.4. Step 1: Loading Shopping Bag
Section 8.5. Step 2: Displaying Products
Section 8.6. Step 3: Showing All the Categories
Section 8.7. Step 4: Adding Products to the Shopping Bag
Section 8.8. Step 5: Changing the Order/Checking Out
Section 8.9. Potential Extensions
Chapter 9. Ciphers in JavaScript
Section 9.1. How Ciphers Work
Section 9.2. Execution Requirements
Section 9.3. The Syntax Breakdown
Section 9.4. Potential Extensions
Chapter 10. Cyber Greetings: Drag-and-Drop Email
Section 10.1. Execution Requirements
Section 10.2. Syntax Breakdown
Section 10.3. The Server Side
Section 10.4. Potential Extensions
Chapter 11. Context-Sensitive Help
Section 11.1. Execution Requirements
Section 11.2. Syntax Breakdown
Section 11.3. Potential Extensions
Epilogue
Appendix A. JavaScript Reference
Section A.1. Browser Compatibility
Section A.2. Objects, Methods, and Properties
Section A.3. Top-Level Properties and Functions
Section A.4. Event Handlers
Appendix B. Web Resources
Section B.1. Cool JavaScript Sites
Section B.2. JavaScript Reference
Section B.3. JavaScript FAQs
Section B.4. DHTML Reference
Section B.5. Document Object Model Reference
Section B.6. Perl/CGI Reference
Section B.7. Graphics Resources
Section B.8. Similar Applications
Appendix C. Using Perl Scripts
Section C.1. A Perl/CGI Overview
Section C.2. Getting Perl
Section C.3. The Shopping Bag Script—bag.pl
Section C.4. The CyberGreeting Script—greet.pl
Colophon
Index
Опубликовано группой