The Book of JavaScript, 2/e: A Practical Guide to Interactive Web Pages
暫譯: JavaScript 實用指南(第二版):互動網頁的實用手冊

Dave Thau!

  • 出版商: No Starch Press
  • 出版日期: 2006-12-15
  • 售價: $1,570
  • 貴賓價: 9.5$1,492
  • 語言: 英文
  • 頁數: 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

商品描述(中文翻譯)

**描述**

「讓 JavaScript 的魔法對專家和初學者來說比以往任何時候都更容易接觸。」
— **Jesse James Garrett,'Ajax' 這個術語的創造者**

使用 JavaScript,您可以快速為您的網頁添加互動性、動畫和其他技巧。但這不僅僅是一本讓您可以剪切和粘貼到 HTML 中的腳本書,然後發現後來什麼都不如預期那樣運作。作者 thau! 以現實世界的範例為起點,逐步引導您了解各種腳本,並解釋它們如何產生您想要的效果。

因為今天對 JavaScript 的討論沒有涵蓋 Ajax 是不完整的,這本徹底更新的第二版包括了有關 Ajax 的新章節,讓您能夠掌握這種創建真正動態網頁的寶貴方法。這本暢銷書《The Book of JavaScript》的第二版還包含了修訂的附錄和新的範例,以反映當今的網頁環境。在書中,您將學會:

- 使用框架、表單、Cookie 和警報
- 使用事件來響應用戶的行為
- 執行圖像交換和懸停效果
- 編寫自己的函數以產生自定義解決方案
- 儲存用戶偏好並建立購物車
- 使用動態 HTML 將網頁轉變為多媒體應用程式

如果您需要為疲憊的頁面增添活力,《The Book of JavaScript, 2nd Edition》將幫助您將網站從平淡無奇變得出色。

獎勵:包括所有 JavaScript 物件和函數的完整參考,包括範例、屬性、方法、處理程序和瀏覽器相容性!

訪問本書的 [伴隨網站](http://bookofjavascript.com/) 獲取代碼範例和圖片、勘誤及其他資源。

**目錄**

**第 1 章:** 歡迎來到 JavaScript!
**第 2 章:** 使用變數和內建函數自動更新您的網頁
**第 3 章:** 滿足瀏覽器的需求
**第 4 章:** 使用懸停效果
**第 5 章:** 開啟和操作視窗
**第 6 章:** 編寫自己的 JavaScript 函數
**第 7 章:** 使用表單提供和接收資訊
**第 8 章:** 使用陣列和迴圈跟蹤資訊
**第 9 章:** 計時事件
**第 10 章:** 使用框架和圖像地圖
**第 11 章:** 驗證表單、處理字串和操作伺服器端程式
**第 12 章:** 使用 Cookie 儲存訪客資訊
**第 13 章:** 動態 HTML
**第 14 章:** Ajax 基礎
**第 15 章:** JavaScript 和 Ajax 中的 XML
**第 16 章:** 伺服器端 Ajax
**第 17 章:** 將所有內容整合在一起
**第 18 章:** 除錯 JavaScript 和 Ajax
**附錄 A:** 作業答案
**附錄 B:** 資源
**附錄 C:** JavaScript 物件和函數參考
**附錄 D:** 第 15 章的意大利語翻譯腳本和第 17 章的待辦事項應用程式