出版時間:2007-7-1 出版社:東南大學出版社 作者:(美)鮑爾斯 頁數(shù):335
Tag標簽:無
內容概要
無論你是從頭開始學習Java Script,還是只想復習一下,《學習Java Script》都為你提供了一條穿越Java Script內在能量與外在特性的捷徑?! ava Script作為Ajax的關鍵部分又重新回到了聚光燈下,賦予網站更多的智能并給訪客提供更有用的交互內容。Java Script亦已超越Web而蔓延至編程領域,給其他軟件提供了一種便利的腳本語言?! ”緯谢赪eb的實例展示了如何構建Java Script邏輯、如何將其與現(xiàn)有的對象結構相連接以及如何構建你的程序庫和利用他人編寫的程序庫。
作者簡介
作者:(美)鮑爾斯
書籍目錄
Preface1. Introduction and First Looks Twisted History: Specs and Implementations Cross-Browser Incompatibility and Other Common JavaScript Myths What You Can Do with JavaScript First Look at JavaScript: "Hello World!" The JavaScript Sandbox Accessibility and JavaScript Best Practices2. lavaScript Data Types and Variables Identifying Variables Scope Simple Types Constants: Named but Not Variables Questions3. Operators and Statements Format of a JavaScript Statement Simple Statements Conditional Statements and Program Flow The Conditional Operators The Logical Operators Advanced Statements: The Loops Questions4. The JavaScript Objects The Object Constructor The Number Object The String Object Regular Expressions and RegExp Purposeful Objects: Date and Math JavaScript Arrays Associative Arrays: The Arrays That Aren't Questions5. Functions Defining a Function: Let Me Count the Ways Callback Functions Functions and Recursion Nested Functions, Function Closure, and Memory Leaks Function As Object Questions6. Catching Events The Event Handler at DOM Level 0 Questions7. Forms and JiTVafidation Accessing the Form Attaching Events to Forms: Different Approaches Selection Radio Buttons and Checkboxes Input Fields and JiT Regular Expressions Questions8. The Sandbox and Beyond: Cookies, Connectivity, and Piracy . The Sandbox All About Cookies Alternative Storage Techniques Cross-Site Scripting (XSS) Questions9. The Basic Browser Objects BOM at a Glance The window Object Frames and Location history, screen, and navigator The all Collection, Inner/Outer HTML and Text, and Old and New Documents Something Old, Something New Questions10. DOM: The Document Object Model A Tale of Two Interfaces The DOM and Compliant Browsers The DOM HTML API Understanding the DOM: The Core API The DOM Core Document Object Element and Access in Context Modifying the Tree Questions11. Creating Custom lavaScript Objects The JavaScript Object and Prototyping Creating Your Own Custom JavaScript Objects Object Detection, Encapsulation, and Cross-Browser Objects Chaining Constructors and JS Inheritance One-Off Objects Advanced Error-Handling Techniques (try, throw, catch) What's New in JavaScript Questions12. Building Dynamic Web Pages: Adding Style to Your Script DHTML: JavaScript, CSS, and DOM Fonts and Text Position and Movement Size and Clipping Display, Visibility, and Opacity Questions13. Moving Outside the Page with Ajax14. Good News:Juicy Libraries!Amazing Web Services!Fun APls!Appendix:AnswersIndex
章節(jié)摘錄
插圖
編輯推薦
作者簡介: Shelley Powers是一位軟件開發(fā)者、攝影師和著有多本OReilly圖書的作家,她的著作有《Developing ASP Components》、《Unix Power Tools》第三版、《Essential Blogging》和《Practical RDF》等。她的第一本JavaScript著作于1996年出版,隨后于1997年又出版了一本關于動態(tài)HTML(DHTML)的書。Shelley也曾為多家刊物撰寫過若干篇關于跨瀏覽器開發(fā)、JavaScript、CSS和XML的技術文章。
圖書封面
圖書標簽Tags
無
評論、評分、閱讀與下載