JavaScript and Ajax for the Web, Sixth Edition Visual QuickStart Guide
, by Negrino, Tom; Smith, DoriNote: Supplemental materials are not guaranteed with Rental or Used book purchases.
- ISBN: 9780321430328 | 0321430328
- Cover: Paperback
- Copyright: 8/28/2006
This completely revised best-seller is the fastest and easiest way to learn JavaScript!
Tom Negrino is the author of dozens of books including Visual QuickStart Guides covering Macromedia Contribute and Keynote, and Visual QuickProject Guides on upgrading to Mac OS X Tiger, Keynote, and PowerPoint.
Dori Smith is the author of Java for the World Wide Web: 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 the best-selling Macromedia Dreamweaver 8 for Windows and Macintosh: Visual QuickStart Guide, authored numerous print and online articles, and maintain the Backup Brain weblog.
Dori Smith is the author of Java for the World Wide Web: 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 the best-selling Macromedia Dreamweaver 8 for Windows and Macintosh: Visual QuickStart Guide, authored numerous print and online articles, and maintain the Backup Brain weblog.
Introduction | p. xi |
Getting Acquainted with JavaScript | p. 1 |
What JavaScript Is | p. 2 |
JavaScript Isn't Java | p. 3 |
Where JavaScript Came From | p. 5 |
What JavaScript Can Do | p. 6 |
What JavaScript Can't Do | p. 7 |
What Is Ajax? | p. 8 |
The Snap-Together Language | p. 11 |
Handling Events | p. 14 |
Values and Variables | p. 15 |
Assignments and Comparisons | p. 16 |
Writing JavaScript-Friendly HTML | p. 17 |
What Tools to Use? | p. 20 |
Start Me Up! | p. 21 |
Where to Put Your Scripts | p. 23 |
About Functions | p. 25 |
Using External Scripts | p. 26 |
Putting Comments in Scripts | p. 29 |
Alerting the User | p. 31 |
Confirming a User's Choice | p. 33 |
Prompting the User | p. 35 |
Redirecting the User with a Link | p. 37 |
Using JavaScript to Enhance Links | p. 39 |
Working with Referrer Pages | p. 42 |
Language Essentials | p. 45 |
Around and Around with Loops | p. 46 |
Passing a Value to a Function | p. 51 |
Detecting Objects | p. 53 |
Working with Arrays | p. 55 |
Working with Functions That Return Values | p. 57 |
Updating Arrays | p. 58 |
Using Do/While Loops | p. 60 |
Calling Scripts Multiple Ways | p. 62 |
Using Multi-level Conditionals | p. 64 |
Handling Errors | p. 67 |
Working with Images | p. 69 |
Creating Rollovers | p. 71 |
Creating More Effective Rollovers | p. 73 |
Building Three-State Rollovers | p. 81 |
Triggering Rollovers from a Link | p. 83 |
Making Multiple Links Change a Single Rollover | p. 86 |
Working with Multiple Rollovers | p. 88 |
Creating Cycling Banners | p. 92 |
Adding Links to Cycling Banners | p. 94 |
Building Wraparound Slideshows | p. 96 |
Displaying a Random Image | p. 99 |
Cycling Images with a Random Start | p. 101 |
Frames, Frames, and More Frames | p. 103 |
Keeping a Page out of a Frame | p. 105 |
Forcing a Page into a Frame | p. 107 |
Forcing a Site into a Frame | p. 108 |
Setting a Target | p. 112 |
Creating and Loading a Dynamic Frame | p. 113 |
Sharing Functions between Frames | p. 116 |
Storing Information in Frames | p. 119 |
Loading Multiple Frames at Once | p. 122 |
Working with Iframes | p. 124 |
Loading Iframes with JavaScript | p. 127 |
Working with Browser Windows | p. 129 |
Opening a New Window | p. 130 |
Loading Different Contents into a Window | p. 134 |
Opening Multiple Windows | p. 136 |
Opening Multiple Windows Simultaneously | p. 138 |
Updating One Window from Another | p. 140 |
Creating New Pages with JavaScript | p. 143 |
Closing a Window | p. 146 |
Opening Windows in a Specified Location | p. 149 |
Moving Windows to a Specified Location | p. 152 |
Form Handling | p. 155 |
Select-and-Go Navigation | p. 157 |
Changing Menus Dynamically | p. 162 |
Making Fields Required | p. 165 |
Checking Fields against Each Other | p. 170 |
Identifying Problem Fields | p. 172 |
Putting Form Validation into Action | p. 175 |
Working with Radio Buttons | p. 179 |
Setting One Field with Another | p. 182 |
Validating Zip Codes | p. 185 |
Validating Email Addresses | p. 189 |
Forms and Regular Expressions | p. 195 |
Validating an Email Address with Regular Expressions | p. 197 |
Validating a File Name | p. 202 |
Extracting Strings | p. 204 |
Formatting Strings | p. 207 |
Formatting and Sorting Strings | p. 211 |
Formatting and Validating Strings | p. 213 |
Replacing Elements using Regular Expressions | p. 216 |
Handling Events | p. 219 |
Handling Window Events | p. 220 |
Mouse Event Handling | p. 228 |
Form Event Handling | p. 236 |
Key Event Handling | p. 240 |
JavaScript and Cookies | p. 243 |
Baking Your First Cookie | p. 245 |
Reading a Cookie | p. 248 |
Showing Your Cookies | p. 249 |
Using Cookies as Counters | p. 251 |
Deleting Cookies | p. 254 |
Handling Multiple Cookies | p. 256 |
Displaying "New to You" Messages | p. 258 |
Introducing CSS | p. 263 |
Saying It with Style | p. 265 |
Styles with Class | p. 268 |
Changing Fonts with CSS | p. 270 |
Checking Your ID | p. 271 |
Distinguished Links | p. 273 |
Embedding Styles in Styles | p. 275 |
Adding Background Images | p. 277 |
Positioning Absolutely | p. 279 |
Objects and the DOM | p. 281 |
About Node Manipulation | p. 282 |
Adding Nodes | p. 284 |
Deleting Nodes | p. 286 |
Deleting Specific Nodes | p. 288 |
Inserting Nodes | p. 292 |
Replacing Nodes | p. 295 |
Making Your Pages Dynamic | p. 299 |
Putting the Current Date into a Web Page | p. 300 |
Working with Days | p. 302 |
Customizing a Message for the Time of Day | p. 303 |
Displaying Dates by Time Zone | p. 304 |
Converting Military Time to A.M./P.M. | p. 310 |
Creating a Countdown | p. 312 |
Moving an Object in the Document | p. 316 |
Date Methods | p. 319 |
Applied JavaScript | p. 321 |
Using Sliding Menus | p. 322 |
Adding Pull-Down Menus | p. 325 |
A Slideshow with Captions | p. 330 |
A Silly Name Generator | p. 334 |
A Bar Graph Generator | p. 340 |
Style Sheet Switcher | p. 348 |
Introducing Ajax | p. 357 |
Ajax: Pinning It Down | p. 359 |
Reading Server Data | p. 363 |
Parsing Server Data | p. 371 |
Refreshing Server Data | p. 375 |
Previewing Links with Ajax | p. 378 |
Auto-Completing Form Fields | p. 382 |
Ajax Toolkits | p. 389 |
Dragging and Dropping Page Elements | p. 391 |
Adding a Calendar to Your Page | p. 397 |
Adding a 2-up Calendar to Your Page | p. 401 |
Using the Container Utility | p. 407 |
Adding Animation Effects | p. 412 |
Implementing the Logger Control for Debugging | p. 415 |
Bookmarklets | p. 419 |
Your First Bookmarklet | p. 420 |
Changing a Page's Background Color | p. 425 |
Changing a Page's Styles | p. 426 |
Web-safe Colors | p. 428 |
Word Lookups | p. 430 |
Viewing Images | p. 433 |
Displaying ISO Latin Characters | p. 435 |
Converting RGB Values to Hex | p. 436 |
Converting Values | p. 438 |
A Bookmarklet Calculator | p. 439 |
Validating Pages | p. 441 |
JavaScript Genealogy and Reference | p. 443 |
JavaScript Versions | p. 444 |
ECMAScript | p. 447 |
Browsers and JavaScript | p. 449 |
Object Flowchart | p. 450 |
The Big Object Table | p. 455 |
JavaScript Reserved Words | p. 467 |
Cascading Style Sheets Reference | p. 471 |
Where to Learn More | p. 479 |
Finding Help on the Web | p. 480 |
Books | p. 486 |
Index | p. 489 |
Table of Contents provided by Ingram. All Rights Reserved. |
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.