JavaScript FOR ™ DUMmIES phần 1 ppsx

39 202 0
JavaScript FOR ™ DUMmIES phần 1 ppsx

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

Thông tin tài liệu

[...]... clientInformation 307 crypto 307 Date 308 document 308 elements[] 309 event 309 FileUpload 310 Form . 310 Frame 311 Function . 311 Hidden 311 History 312 Image 312 java . 312 JavaArray 313 JavaClass . 313 JavaObject 313 ... 313 JavaPackage 313 Link . 314 location 314 Math . 314 MimeType 315 Table of Contents navigator 315 netscape 316 Number 316 Object 316 Option 317 Packages 317 Password . 318 Plugin 318 Radio 318 RegExp 319 Reset 320 screen... 18 1 Getting Acquainted with Menus .18 2 Pull-down menus 18 2 Sliding menus 18 6 Taking Advantage of Third-Party DHTML Menu Components .19 0 Chapter 10 : Creating Expandable Site Maps 19 1 Site Map Basics 19 1 The pull-down menu revisited 19 3 Adding frames to the pull-down menu 19 6 Putting it all together: Adding targeted hyperlinks .19 7... 211 Part IV: Interacting with Users 213 Chapter 12 : Handling Forms 215 Capturing User Input by Using HTML Form Fields 215 Creating an input-validation script 216 Calling a validation script 2 21 Putting It All Together: The Order Form Validation Script .222 Testing for existence 224 Testing for a numeric value .225 Testing for. .. 10 5 Chapter 6: That’s How the Cookie Crumbles 12 5 Chapter 7: Working with Browser Windows and Frames 14 3 Part III: Making Your Site Easy For Visitors to Navigate and Use 15 5 Chapter 8: Creating Interactive Images .15 7 Chapter 9: Creating Menus 18 1 Chapter 10 : Creating Expandable Site Maps .19 1 Chapter 11 : Creating Pop-Up Help (Tooltips) .2 01 Part... Highlights: JavaScript Basics 9 What Is JavaScript? (Hint: It’s Not the Same Thing as Java!) 10 It’s easy! (Sort of) 11 It’s speedy! 13 Everybody’s doing it! (Okay, almost everybody!) 13 JavaScript and HTML 14 JavaScript and Your Web Browser .16 What Can I Do with JavaScript That I Can’t Do with Web Languages? 17 Make your Web site easy for folks... with Users 213 Chapter 12 : Handling Forms 215 Chapter 13 : Handling User-Initiated Events 239 Chapter 14 : Handling Runtime Errors 249 Part V: The Part of Tens 253 Chapter 15 : Top Ten (Or So) Online JavaScript Resources 255 Chapter 16 : Ten (Or So) Most Common JavaScript Mistakes (And How to Avoid Them) 2 61 Chapter 17 : Ten (Or So) Tips for Debugging Your... 15 7 Creating Simple Animations 15 7 Now you see it, now you don’t: Turning images on and off 16 1 Slideshow Bob: Displaying a series of images 16 5 Creating Rollovers, Hotspots, and Navigation Bars 16 8 Creating a simple rollover 16 9 Creating navigation bars by putting rollovers together 17 1 Carving up a single image into multiple hotspots 17 7 xiii xiv JavaScript For Dummies, ... 12 1 User preferences .12 2 Chapter 6: That’s How the Cookie Crumbles 12 5 Cookie Basics 12 5 Why use cookies? .12 6 Cookie security issues .12 6 Looking at cookies from a user’s perspective 12 7 Saving and Retrieving User Information 13 1 Setting a cookie 13 2 Accessing a cookie .13 3 Displaying content based on cookie... 96 JavaScript data types 98 Microsoft Internet Explorer 10 0 Table of Contents Part II: Creating Dynamic Web Pages 10 3 Chapter 5: Detecting Your Users’ Browser Environments 10 5 Whacking Your Way through the Browser Maze 10 5 Detecting Features .10 6 Browser make and version 10 6 Embedded objects 11 2 The referrer page 12 1 User preferences . Veer JavaScript ™ FOR DUMmIES ‰ 4TH EDITION 01_ 576593 ffirs.qxd 10 /12 /04 9:55 PM Page iii 01_ 576593 ffirs.qxd 10 /12 /04 9:55 PM Page ii JavaScript ™ FOR DUMmIES ‰ 4TH EDITION 01_ 576593 ffirs.qxd 10 /12 /04. 10 /12 /04 9:55 PM Page i 01_ 576593 ffirs.qxd 10 /12 /04 9:55 PM Page ii by Emily Vander Veer JavaScript ™ FOR DUMmIES ‰ 4TH EDITION 01_ 576593 ffirs.qxd 10 /12 /04 9:55 PM Page iii JavaScript ™ For Dummies, ® 4th. 306 clientInformation 307 crypto 307 Date 308 document 308 elements[] 309 event 309 FileUpload 310 Form 310 Frame 311 Function 311 Hidden 311 History 312 Image 312 java 312 JavaArray 313 JavaClass 313 JavaObject

Ngày đăng: 14/08/2014, 11:20

Mục lục

  • JavaScript for Dummies 4Th Ed

    • Cover

    • Table Of Content

    • Introduction

      • System Requirements

      • About This Book

      • Conventions Used in This Book

      • What You're Not to Read

      • Foolish Assumptions

      • How This Book Is Organized

        • Part I: Building Killer Web Pages for Fun and Profit

        • Part II: Creating Dynamic Web Pages

        • Part III: Making Your Site Easy for Visitors to Navigate and Use

        • Part IV: Interacting with Users

        • Part V: The Part of Tens

        • Part VI: Appendixes

        • Icons Used in This Book

        • Where to Go from Here

        • Part I: Building Killer Web Pages for Fun and Profit

          • Chapter 1: Hitting the Highlights: JavaScript Basics

            • What Is JavaScript? (Hint: It's Not the Same Thing as Java!)

              • It's easy! (Sort of)

              • It's speedy!

              • Everybody's doing it! (Okay, almost everybody!)

              • JavaScript and HTML

              • JavaScript and Your Web Browser

Tài liệu cùng người dùng

Tài liệu liên quan