Available:*
Library | Item Barcode | Call Number | Material Type | Item Category 1 | Status |
---|---|---|---|---|---|
Searching... | 30000010053817 | QA76.73.J39 N43 2004 | Open Access Book | Book | Searching... |
Searching... | 30000010157652 | QA76.73.J39 N43 2004 | Open Access Book | Book | Searching... |
Searching... | 30000010057905 | QA76.73.J39 N43 2004 | Open Access Book | Book | Searching... |
On Order
Summary
Summary
This title aims to provide a quick and efficient route to learning JavaScript programming.
Author Notes
Veteran journalist and Mac guru Tom Negrino is the author of Macromedia Contribute for Windows: Visual QuickStart Guide and numerous other Visual QuickStart guides, including (with Dori Smith ) the last three editions of this volume. Dori Smith is a programmer and journalist who, like Tom, has several Visual QuickStart Guides under her belt, including Java 2 for the World Wide Web: Visual QuickStart Guide. Both authors are on the Steering Committee for the Web Standards Project.
Reviews 1
Library Journal Review
JavaScript's popularity shows no signs of waning, so libraries could benefit from up-to-date titles. A clear and cohesive guide recommended for beginners and all libraries, Visual QuickStart updates older editions with coverage of v.1.5, showing how to complete common tasks step by step, with typical and plentiful tips, screen shots, and tables. A companion web site (www.javascriptworld.com) at the time of this review included only scripts from the fourth edition but should soon be updated to include current cut-and-paste scripts and files. Appendixes address JavaScript "genealogy and reference," reserved words, CSS, and additional resources. Everything, also appropriate for beginners and all libraries, covers similar ground but with more background and fewer figures. Notes, cautions, sidebars, tables, and figures break up the text; appendixes provide quick references for HTML tags and JavaScript statements, classes, and objects. For intermediate to advanced users, Cookbook jumps right into coding examples. Each "recipe" contains a problem, solution, discussion, and useful See Also references; the book's coverage of common "how-to" questions ranges from concatenating strings to embedding XML data in web pages. Cookbook's discussion of both JavaScript and DHTML and clear explanations of common coding issues make it a fantastic reference for larger libraries. (c) Copyright 2010. Library Journals LLC, a wholly owned subsidiary of Media Source, Inc. No redistribution permitted.
Table of Contents
Introduction | p. xi |
Chapter 1 Getting Acquainted with JavaScript | p. 1 |
What JavaScript Is | p. 2 |
JavaScript Isn't Java | p. 3 |
Where JavaScript Came From | p. 4 |
What JavaScript Can Do | p. 5 |
What JavaScript Can't Do | p. 6 |
The Snap-together Language | p. 7 |
Handling Events | p. 9 |
Values and Variables | p. 10 |
Assignments and Comparisons | p. 11 |
What Tools to Use? | p. 12 |
Chapter 2 Start Me Up! | p. 13 |
Where to Put Your Scripts | p. 15 |
Hiding Scripts from Old Browsers | p. 16 |
Putting Comments in Scripts | p. 17 |
Alerting the User | p. 18 |
Confirming a User's Choice | p. 20 |
Prompting the User | p. 22 |
Redirecting the User | p. 23 |
Redirecting the User with a Link | p. 25 |
Browser Detection | p. 26 |
Chapter 3 Language Essentials | p. 29 |
Detecting Browser Plug-ins | p. 30 |
Around and Around with Loops | p. 32 |
Writing with Loops | p. 35 |
Using For/In Loops | p. 37 |
Using Do/While Loops | p. 39 |
Checking if Java Is Enabled | p. 41 |
Functions | p. 43 |
Using Multi-level Conditionals | p. 46 |
Working with Functions That Return Values | p. 48 |
Handling Errors | p. 50 |
Putting More than One Script on a Page | p. 52 |
Scrolling Status Bars | p. 54 |
Status Bar Messages | p. 57 |
Chapter 4 Image Basics | p. 59 |
Creating Rollovers | p. 61 |
Creating More Effective Rollovers | p. 63 |
Putting Multiple Rollovers on a Page | p. 65 |
Triggering Rollovers from a Link | p. 67 |
Making Multiple Links Change a Single Rollover | p. 69 |
Working with Multiple Rollovers | p. 72 |
Using a Function to Code Multiple Images with a Single Rollover | p. 75 |
Using a Function to Code Multiple Rollovers | p. 77 |
Chapter 5 More Fun with Images | p. 79 |
Creating Cycling Banners | p. 81 |
Creating Multiple Cycling Banners | p. 84 |
Making the Banner Cycling Wait for the User | p. 86 |
Adding Links to Cycling Banners | p. 87 |
Building Slideshows | p. 89 |
Building Wraparound Slideshows | p. 92 |
Displaying a Random Image | p. 94 |
Cycling Images with a Random Start | p. 96 |
Displaying Multiple Random Images | p. 97 |
Combining a Rollover with an Image Map | p. 99 |
Chapter 6 Frames, Frames, and More Frames | p. 103 |
Keeping a Page out of a Frame | p. 105 |
Forcing a Page into a Frame | p. 106 |
Forcing a Site into a Frame | p. 108 |
Loading a Frame | p. 111 |
Creating and Loading a Dynamic Frame | p. 113 |
Sharing Functions Between Frames | p. 115 |
Storing Information in Frames | p. 118 |
Loading Multiple Frames at Once | p. 121 |
Browser Detection with Frames | p. 125 |
Working with Iframes | p. 127 |
Chapter 7 Working with Browser Windows | p. 131 |
Opening a New Window | p. 132 |
Loading Different Contents into a Window | p. 134 |
Opening a New Window Using an Image Link | p. 136 |
Opening Multiple Windows | p. 138 |
Opening Multiple Windows Simultaneously | p. 140 |
Scrolling a Window | p. 142 |
Updating One Window from Another | p. 144 |
Creating New Pages with JavaScript | p. 146 |
Closing a Window | p. 148 |
Creating a Control Panel | p. 150 |
Positioning a Window on the Screen | p. 152 |
Displaying an Alert when a Window is Loaded | p. 154 |
Chapter 8 Form Handling | p. 155 |
Verifying Passwords | p. 157 |
Using Images as Submit Buttons | p. 159 |
Select-and-Go Navigation | p. 163 |
Changing Menus Dynamically | p. 166 |
Selecting Menu Items | p. 170 |
Working with Radio Buttons | p. 173 |
Setting One Field with Another | p. 176 |
Validating Zip Codes | p. 180 |
Validating Email Addresses | p. 184 |
Chapter 9 Forms and Regular Expressions | p. 193 |
Validating an Email Address with Regular Expressions | p. 195 |
Validating a File Name | p. 200 |
Extracting Strings | p. 203 |
Formatting Strings | p. 206 |
Formatting and Sorting Strings | p. 210 |
Formatting and Validating Strings | p. 212 |
Chapter 10 Making Your Pages Dynamic | p. 215 |
Putting the Current Date into a Web Page | p. 216 |
Working with Days | p. 218 |
Customizing a Message for the Time of Day | p. 219 |
Displaying Dates by Time Zone | p. 220 |
Converting Military Time to AM/PM | p. 223 |
Creating a Countdown | p. 226 |
Working with Referrer Pages | p. 229 |
Writing Text into a Document on the Fly | p. 230 |
Date Methods | p. 233 |
Chapter 11 Handling Events | p. 235 |
Handling Window Events | p. 236 |
Mouse Event Handling | p. 242 |
Form Event Handling | p. 249 |
Key Event Handling | p. 252 |
Chapter 12 JavaScript and Cookies | p. 255 |
Baking Your First Cookie | p. 257 |
Reading a Cookie | p. 260 |
Showing Your Cookies | p. 261 |
Using Cookies as Counters | p. 263 |
Deleting Cookies | p. 265 |
Handling Multiple Cookies | p. 267 |
Displaying "New to You" Messages | p. 269 |
Chapter 13 Introducing CSS | p. 273 |
Saying it with Style | p. 275 |
Styles with Class | p. 279 |
Changing Fonts with CSS | p. 282 |
Checking Your ID | p. 284 |
Styles and Spans | p. 287 |
Distinguished Links | p. 289 |
Positioning Absolutely | p. 291 |
Chapter 14 Working with DHTML | p. 293 |
DHTML Browsers & "Standards" | p. 294 |
Moving an Object in Two Dimensions (Netscape 4.x only) | p. 295 |
Moving an Object in Two Dimensions (Internet Explorer Win/Mac) | p. 298 |
Moving an Object in Two Dimensions (Netscape 6+ only) | p. 300 |
Moving an Object in Two Dimensions (Cross-browser) | p. 303 |
Moving an Object in Three Dimensions (Netscape 4.x only) | p. 305 |
Moving an Object in Three Dimensions (Netscape 6+ only) | p. 308 |
Moving an Object in Three Dimensions (Cross-browser) | p. 310 |
Moving DHTML Text (Cross-browser) | p. 312 |
Modifying a DHTML Drop Shadow (IE Windows) | p. 314 |
Rotating a DHTML Shadow (IE Windows) | p. 316 |
Modifying a DHTML Glow (IE Windows) | p. 317 |
Chapter 15 User Interface Design with JavaScript | p. 319 |
Pull-Down Menus | p. 320 |
Sliding Menus | p. 325 |
Tool Tips | p. 328 |
Click-Anywhere Form Fields | p. 332 |
Chapter 16 Applied JavaScript | p. 335 |
Using an External .js File | p. 336 |
A Slideshow with Captions | p. 340 |
A Silly Name Generator | p. 343 |
Bar Graph Generator | p. 348 |
An Object-oriented Bar Graph Generator | p. 356 |
Style Sheet Switcher | p. 361 |
Chapter 17 Manipulating Nodes | p. 371 |
About Node Manipulation | p. 372 |
Adding Nodes | p. 374 |
Deleting Nodes | p. 376 |
Deleting Specific Nodes | p. 378 |
Inserting Nodes | p. 381 |
Replacing Nodes | p. 384 |
Chapter 18 Bookmarklets | p. 387 |
Your First Bookmarklet | p. 388 |
Changing a Page's Background Color | p. 392 |
Web-safe Colors | p. 393 |
Word Lookups | p. 395 |
Viewing Images | p. 397 |
Displaying ISO Latin Characters | p. 400 |
Converting RGB Values to Hex | p. 401 |
Converting Values | p. 403 |
A Bookmarklet Calculator | p. 404 |
Chapter 19 Working with Visual Tools | p. 407 |
The Pros and Cons of Visual Tools | p. 408 |
Using Behaviors in Dreamweaver | p. 413 |
Flying Objects in Adobe GoLive | p. 417 |
Creating Pop-Up Menus in Fireworks | p. 420 |
Customizing Dreamweaver | p. 423 |
Chapter 20 Debugging Common Errors | p. 427 |
The Built-in Debugging Aids | p. 428 |
JavaScript Debuggers | p. 429 |
Common Errors | p. 431 |
Following Variables While a Script is Running | p. 435 |
Viewing Variables in Another Window | p. 436 |
Writing Error Messages to Another Window | p. 438 |
Appendix A JavaScript Genealogy and Reference | p. 441 |
JavaScript Versions | p. 442 |
ECMAScript | p. 445 |
Browsers and JavaScript | p. 446 |
Object Flowchart | p. 447 |
The Big Object Table | p. 451 |
Appendix B JavaScript Reserved Words | p. 463 |
Appendix C Cascading Style Sheets Reference | p. 467 |
Appendix D Where to Learn More | p. 475 |
Finding Help on the Web | p. 476 |
Books | p. 481 |
Index | p. 483 |