did-you-know? rent-now

Amazon no longer offers textbook rentals. We do!

did-you-know? rent-now

Amazon no longer offers textbook rentals. We do!

We're the #1 textbook rental company. Let us show you why.

9780321564085

JavaScript and Ajax for the Web Visual QuickStart Guide

by ;
  • ISBN13:

    9780321564085

  • ISBN10:

    0321564081

  • Edition: 7th
  • Format: Paperback
  • Copyright: 2008-10-14
  • Publisher: Peachpit Pr
  • View Upgraded Edition
  • Purchase Benefits
  • Free Shipping Icon Free Shipping On Orders Over $35!
    Your order must be $35 or more to qualify for free economy shipping. Bulk sales, PO's, Marketplace items, eBooks and apparel do not qualify for this offer.
  • eCampus.com Logo Get Rewarded for Ordering Your Textbooks! Enroll Now
List Price: $39.99 Save up to $4.00
  • Digital
    $35.99
    Add to Cart

    DURATION
    PRICE

Supplemental Materials

What is included with this book?

Summary

This task-based, visual reference guide has been fully revised. It uses step-by-step instructions and plenty of screenshots to give beginning and intermediate Web designers what they need to know to learn JavaScript. Readers can start from the beginning to get a tour of the programming language, or look up specific tasks to learn just what they need to know. In this updated seventh edition, readers will find new information on Ajax design and modern coding techniques.

Author Biography

Tom Negrino is the author of dozens of books including Visual QuickStart Guide s covering Keynote and Contribute, and Visual QuickProject Guides on PowerPoint, Quicken, and upgrading Mac OS X Dori Smith is the author of Java 2: Visual QuickStart Guide. She is a frequent speaker at industry conferences, publisher of the Wise-Women's Web community, and a member of the Web Standards Project. Together they've written six editions of the best-selling JavaScript Ajax for the Web: Visual QuickStart Guide, several best-selling editions of Dreamweaver: Visual QuickStart Guide, and numerous print and online articles. They also publish the Backup Brain weblog

Table of Contents

Introductionp. xiii
Getting Acquainted with JavaScriptp. 1
What JavaScript Isp. 2
JavaScript Isn't Javap. 3
Where JavaScript Came Fromp. 5
What JavaScript Can Dop. 6
What JavaScript Can't Dop. 7
What Is Ajax?p. 8
The Snap-Together Languagep. 11
Handling Eventsp. 14
Values and Variablesp. 15
Writing JavaScript-Friendly HTMLp. 17
What Tools to Use?p. 20
Start Me Up!p. 21
Where to Put Your Scriptsp. 23
About Functionsp. 25
Using External Scriptsp. 26
Putting Comments in Scriptsp. 29
Alerting the Userp. 31
Confirming a User's Choicep. 33
Prompting the Userp. 35
Redirecting the User with a Linkp. 37
Using JavaScript to Enhance Linksp. 39
Using Multi-level Conditionalsp. 44
Handling Errorsp. 47
Your First Web Appp. 49
Around and Around with Loopsp. 50
Passing a Value to a Functionp. 55
Detecting Objectsp. 57
Working with Arraysp. 59
Working with Functions That Return Valuesp. 61
Updating Arraysp. 62
Using Do/While Loopsp. 64
Calling Scripts Multiple Waysp. 66
Combining JavaScript and CSSp. 68
Checking Statep. 71
Working with String Arraysp. 77
Working with Imagesp. 81
Creating Rolloversp. 83
Creating More Effective Rolloversp. 85
Building Three-State Rolloversp. 93
Triggering Rollovers from a Linkp. 95
Making Multiple Links Change a Single Rolloverp. 98
Working with Multiple Rolloversp. 100
Creating Cycling Bannersp. 104
Adding Links to Cycling Bannersp. 106
Building Wraparound Slideshowsp. 108
Displaying a Random Imagep. 111
Cycling Images with a Random Startp. 113
Frames, Frames, and More Framesp. 115
Keeping a Page out of a Framep. 117
Forcing a Page into a Framep. 119
Forcing a Site into a Framep. 120
Setting a Targetp. 125
Creating and Loading a Dynamic Framep. 126
Sharing Functions between Framesp. 129
Loading Multiple Frames at Oncep. 133
Working with Iframesp. 135
Loading Iframes with JavaScriptp. 138
Working with Windowsp. 139
Opening a New Windowp. 140
Loading Different Contents into a Windowp. 144
Opening Multiple Windowsp. 146
Updating One Window from Anotherp. 148
Closing a Windowp. 151
Putting Windows in Their Placep. 154
Form Handlingp. 157
Select-and-Go Navigationp. 159
Changing Menus Dynamicallyp. 164
Making Fields Requiredp. 167
Checking Fields against Each Otherp. 172
Identifying Problem Fieldsp. 174
Putting Form Validation into Actionp. 177
Working with Radio Buttonsp. 181
Setting One Field with Anotherp. 184
Validating Zip Codesp. 187
Validating Email Addressesp. 191
Forms and Regular Expressionsp. 197
Validating an Email Address with Regular Expressionsp. 199
Validating a File Namep. 204
Extracting Stringsp. 206
Formatting Stringsp. 209
Formatting and Sorting Stringsp. 213
Formatting and Validating Stringsp. 215
Replacing Elements using Regular Expressionsp. 218
Handling Eventsp. 221
Handling Window Eventsp. 222
Mouse Event Handlingp. 230
Form Event Handlingp. 238
Key Event Handlingp. 242
JavaScript and Cookiesp. 245
Baking Your First Cookiep. 247
Reading a Cookiep. 251
Showing Your Cookiesp. 252
Using Cookies as Countersp. 254
Deleting Cookiesp. 257
Handling Multiple Cookiesp. 259
Displaying "New to You" Messagesp. 261
Objects and the DOMp. 267
About Node Manipulationp. 268
Adding Nodesp. 270
Deleting Nodesp. 272
Deleting Specific Nodesp. 274
Inserting Nodesp. 278
Replacing Nodesp. 281
Writing Code with Object Literalsp. 285
Making Your Pages Dynamicp. 291
Putting the Current Date into a Web Pagep. 292
Working with Daysp. 294
Customizing a Message for the Time of Dayp. 295
Displaying Dates by Time Zonep. 296
Converting 24-Hour to 12-Hour Timep. 302
Creating a Countdownp. 304
Hiding and Displaying Layersp. 308
Moving an Object in the Documentp. 311
Date Methodsp. 313
Introducing Ajaxp. 315
Ajax: Pinning It Downp. 317
Reading Server Datap. 321
Parsing Server Datap. 329
Refreshing Server Datap. 336
Getting Data From a Serverp. 339
Previewing Links with Ajaxp. 343
Auto-Completing Form Fieldsp. 347
Ajax Toolkitsp. 353
Dragging and Dropping Page Elementsp. 355
Adding a Calendar to Your Pagep. 361
Adding a 2-up Calendar to Your Pagep. 365
Using the Container Utilityp. 371
Adding Animation Effectsp. 376
Implementing the Logger Control for Debuggingp. 379
Applied JavaScriptp. 383
Using Sliding Menusp. 384
Adding Pull-Down Menusp. 387
Enhancing Pull-down Menusp. 391
A Slideshow with Captionsp. 395
A Silly Name Generatorp. 399
A Bar Graph Generatorp. 405
Style Sheet Switcherp. 413
Designing With Ajaxp. 423
Highlighting New Elementsp. 424
Creating Accordion Menusp. 429
Creating Smarter Dialogsp. 432
Striping Tablesp. 434
Sorting Tablesp. 437
Bookmarkletsp. 443
Your First Bookmarkletp. 444
Resetting a Web Page's Backgroundp. 450
Changing a Page's Stylesp. 451
Word Lookupsp. 454
Viewing Imagesp. 457
Displaying ISO Latin Charactersp. 459
Converting RGB Values to Hexp. 462
Converting Valuesp. 464
A Bookmarklet Calculatorp. 465
Shortening URLsp. 467
Validating Pagesp. 468
Mailing Pagesp. 469
Resizing Pagesp. 470
JavaScript Genealogy and Referencep. 471
JavaScript Versionsp. 472
ECMAScriptp. 475
Object Flowchartp. 477
The Big Object Tablep. 483
JavaScript Reserved Wordsp. 495
Cascading Style Sheets Referencep. 499
Where to Learn Morep. 507
Finding Help Onlinep. 508
Booksp. 514
Indexp. 515
Table of Contents provided by Ingram. All Rights Reserved.

Supplemental Materials

What is included with this book?

The New copy of this book will include any supplemental materials advertised. Please check the title of the book to determine if it should include any access cards, study guides, lab manuals, CDs, etc.

The Used, Rental and eBook copies of this book are not guaranteed to include any supplemental materials. Typically, only the book itself is included. This is true even if the title states it includes any access cards, study guides, lab manuals, CDs, etc.

Rewards Program