The Book of JavaScript, 2/e: A Practical Guide to Interactive Web Pages

Dave Thau!

  • 出版商: No Starch Press
  • 出版日期: 2006-12-15
  • 售價: $1,550
  • 貴賓價: 9.5$1,473
  • 語言: 英文
  • 頁數: 528
  • 裝訂: Paperback
  • ISBN: 1593271069
  • ISBN-13: 9781593271060
  • 相關分類: JavaScript
  • 海外代購書籍(需單獨結帳)

買這商品的人也買了...

相關主題

商品描述

Description

"Makes JavaScript wizardry more accessible than ever for experts and beginners alike."
Jesse James Garrett, creator of the term "Ajax"

With JavaScript, you can add interactivity, animation, and other tricks to your web pages quickly. But this isn't just a book of scripts for you to cut and paste into your HTML, only to find out later that nothing works as you'd expected. Using real-world examples as the starting point, author thau! walks you step by step through various scripts and explains how they produce the effects you want.

Because no discussion of JavaScript today is complete without coverage of Ajax, this thoroughly updated second edition includes new chapters on Ajax, so you can get up to speed with this valuable method for creating truly dynamic web pages. This second edition of the best-selling The Book of JavaScript also features revised appendices and new examples throughout to reflect today's web environment. Inside, you'll learn to:

?Work with frames, forms, cookies, and alarms
?Use events to react to a user's actions
?Perform image swaps and rollovers
?Program your own functions to produce customized solutions
?Store user preferences and build a shopping cart
?Use Dynamic HTML to turn web pages into multimedia applications

If you need to spruce up tired-looking pages, The Book of JavaScript, 2nd Edition will help take your site from bland to brilliant.

BONUS: Includes a complete reference to all JavaScript objects and functions, including examples, properties, methods, handlers, and browser compatibility!

Visit the book's companion site for code samples and images, errata, and additional resources.

 

Table of Contents

Chapter 1: Welcome to JavaScript!
Chapter 2: Using Variables and Built-in Functions to Update Your Web Pages Automatically
Chapter 3: Giving the Browsers What They Want
Chapter 4: Working with Rollovers
Chapter 5: Opening and Manipulating Windows
Chapter 6: Writing Your Own JavaScript Functions
Chapter 7: Providing and Receiving Information with Forms
Chapter 8: Keeping Track of Information with Arrays and Loops
Chapter 9: Timing Events
Chapter 10: Using Frames and Image Maps
Chapter 11: Validating Forms, Massaging Strings, and Working with Server-Side Programs
Chapter 12: Saving Visitor Information with Cookies
Chapter 13: Dynamic HTML
Chapter 14: Ajax Basics
Chapter 15: XML in JavaScript and Ajax
Chapter 16: Server-Side Ajax
Chapter 17: Putting It All Together
Chapter 18: Debugging JavaScript and Ajax
Appendix A: Answers to Assignments
Appendix B: Resources
Appendix C: Reference to JavaScript Objects and Functions
Appendix D: Chapter 15's Italian Translation Script and Chapter 17's To Do List Application