Designing with JavaScript, 2/e (Paperback)
Nick Heinle, Bill Pena
- 出版商: O'Reilly
- 出版日期: 2002-01-11
- 定價: $1,180
- 售價: 2.5 折 $299
- 語言: 英文
- 頁數: 240
- 裝訂: Paperback
- ISBN: 156592360X
- ISBN-13: 9781565923607
-
相關分類:
JavaScript
立即出貨(限量)
買這商品的人也買了...
-
$925XML Developer's Handbook
-
$420$357 -
$980$774 -
$970Introduction to Algorithms, 2/e
-
$1,340$1,273 -
$1,670$1,587 -
$1,670$1,587 -
$620$558 -
$280$221 -
$490$387 -
$620$527 -
$860$731 -
$480$374 -
$1,400$1,372 -
$2,540$2,413 -
$750$675 -
$2,210$2,100 -
$888Effective XML: 50 Specific Ways to Improve Your XML
-
$420$332 -
$580$458 -
$600$474 -
$2,050$1,948 -
$450$351 -
$560$442 -
$680$578
相關主題
商品描述
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.
Table of Contents
Preface
1. Diving into JavaScript
Adding descriptive links
Night and day
2. Doing Windows
Window basics
Launching new windows
Remote control
3. Controlling Frames
The toolbar design
Rotating pages
QuickTime VR on a budget
4. Forms and Validation
Getting to know that form
Madlibs
Stop that form!
Is that really your email?
Validate this!
5. Getting in Line with Arrays
The array concept
Being unpredictable
Doing the date right
Jumpin' jive
6. Too Many Browsers? Not Really
What browser is that knocking at my door?
Different browsers, different needs
Style differences
Checking for plug-ins
Beyond the browser
7. Dynamic Images
Image basics
Image rollovers
Multiple rollovers
An image billboard
8. Customizing a Site with Cookies
What's a cookie?
Basic cookie operations
A welcome for new visitors
Forms that remember
Customized pages
9. Dynamic HTML
What is DHTML?
The Document Object Model
Dynamic Cascading Style Sheets
Getting acquainted with layers
Browser detection
10. Interactive DHTML Techniques
Drop-down menus
Sliding tabs
Scrolling layers with clipping
11. Advanced Applications
Object-oriented scripting
The quiz: testing your readers
Relational menus
A cross-browser style object
Moving on
A. Common JavaScript Objects
B. Event Handlers
C. Style Properties
D. JavaScript Syntax
Index
商品描述(中文翻譯)
JavaScript是Web的核心技術之一。使用JavaScript,您可以創建動態、互動式的網頁,包括圖像滑鼠懸停、彈出窗口、自動滾動框架、智能表單和複雜的動態HTML效果。更好的是,您不需要成為一個程式設計高手,就可以學習足夠的JavaScript知識,將這些元素融入您的網頁中。
《使用JavaScript設計》向您展示如何創建您想要的效果,而不需要您閱讀關於變量、運算符和函數的乾燥的程式設計語言。每一章節都演示了常見的JavaScript技巧,並解釋如何根據自己的需求進行自定義。在此過程中,它介紹了基本的JavaScript概念,通過實際示例教授語言。完成本書後,您將擁有堅實的JavaScript基礎知識,可以應用於自己的網頁。
通過《使用JavaScript設計》,您將學會:
- 使用JavaScript產生視覺效果,如圖像滑鼠懸停和旋轉廣告牌
- 啟動新的瀏覽器窗口,控制框架和驗證表單數據
- 通過使用JavaScript檢測瀏覽器、平台和插件來自定義您的網站
- 使用Cookie跟踪訪問者,以便歡迎新用戶並為返回用戶提供定制頁面
- 使用動態HTML的基礎知識創建標籤文件夾界面、下拉菜單和滾動標題新聞,等等。
《使用JavaScript設計》的第一版教授了成千上萬的網頁設計師如何使用JavaScript為其網頁增添活力。這個新版本已更新,以涵蓋當前網頁瀏覽器支持的最新JavaScript技術。如果您準備開始將JavaScript融入您的設計中,這本書就是為您而寫的。
目錄:
前言
1. 深入JavaScript
- 添加描述性鏈接
- 日夜切換
2. 操作窗口
- 窗口基礎知識
- 啟動新窗口
- 遠程控制
3. 控制框架
- 工具欄設計
- 頁面旋轉
- 低成本的QuickTime VR
4. 表單和驗證
- 熟悉表單
- Madlibs
- 停止表單提交
- 那真的是你的電子郵件嗎?
- 驗證表單
5. 使用數組排隊
- 數組概念
- 不可預測性
- 正確處理日期
- 跳躍舞曲
6. 多種瀏覽器?其實不然
- 是什麼瀏覽器在敲我的門?
- 不同的瀏覽器,不同的需求
- 樣式差異
- 檢查插件
- 超越瀏覽器
7. 動態圖像
- 圖像基礎知識
- 圖像滑鼠懸停
- 多個滑鼠懸停
- 圖像廣告牌
8. 使用Cookie自定義網站
- 什麼是Cookie?
- 基本的Cookie操作
- 歡迎新訪問者
- 記住表單
- 定制頁面
9. 動態HTML
- 什麼是DHTML?
- 文檔對象模型
- 動態HTML