Overview
The Web doesn¿t stand still¿not even for a minute¿and neither do the languages that Web pages are based on. That¿s why you need this eagerly anticipated update to the popular JavaScript for the World Wide Web: Visual QuickStart Guide. Through a combination of task-based instruction and strong visuals, best-selling authors and Web gurus Tom Negrino and Dori Smith take you step by step through all of today¿s JavaScript essentials: creating navigation bars and other user interface elements, producing dynamic images and smart forms, controlling and detecting browsers, creating and manipulating windows, validating user entries in Web forms, and more. Whether you¿re a beginning scripter who wants a thorough introduction to the topic or a more advanced scripter who needs a convenient reference, you¿ll find what you need here¿in straightforward language peppered with tips and techniques drawn from the authors¿ years of experience. By the end of the volume, you¿ll be able to smoothly integrate HTML, JavaScript, and CSS to bring your Web sites to life.
Special revised and expanded edition of this text on JavaScript for the Internet, offering a visually-oriented tutorial in JavaScript, what it can do, and how to use it. Highlights important code samples in bold color, and provides convenient thumbtabs for easy referencing. Also provides a companion Web site with additional free materials.
Synopsis
The Web doesn¿t stand still¿not even for a minute¿and neither do the languages that Web pages are based on. That¿s why you need this eagerly anticipated update to the popular JavaScript for the World Wide Web: Visual QuickStart Guide. Through a combination of task-based instruction and strong visuals, best-selling authors and Web gurus Tom Negrino and Dori Smith take you step by step through all of today¿s JavaScript essentials: creating navigation bars and other user interface elements, producing dynamic images and smart forms, controlling and detecting browsers, creating and manipulating windows, validating user entries in Web forms, and more. Whether you¿re a beginning scripter who wants a thorough introduction to the topic or a more advanced scripter who needs a convenient reference, you¿ll find what you need here¿in straightforward language peppered with tips and techniques drawn from the authors¿ years of experience. By the end of the volume, you¿ll be able to smoothly integrate HTML, JavaScript, and CSS to bring your Web sites to life.
Library Journal
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. Copyright 2003 Reed Business Information.
Editorials
From Barnes & Noble
The Barnes & Noble ReviewWeb scripting is about getting the job done quickly and well. You don’t want more technical overhead than necessary. You want “news you can use” -- presented cleanly and simply, so it’s easy to use.
If you need to learn JavaScript, here’s a book that reflects the practical spirit of web scripting: JavaScript for the World Wide Web: Visual QuickStart Guide, Fifth Edition.
Updated for the latest browsers, this book takes you through all the fundamentals, from variables and events through DHTML and debugging. You’ll start with a quick overview and a little history: what JavaScript is (and isn’t); what it can (and can’t) do; where to place your scripts; how to hide scripts from ancient, stupid browsers; and how to intelligently comment them so you’ll remember what on Earth you were thinking.
Next, it’s on to basic meat-and-potatoes interactivity: alerting, prompting, and redirecting users; confirming their choices; and detecting browsers and plug-ins. You’ll then move on to what may be the world’s No. 1 use for JavaScript: rollovers.
Authors Tom Negrino and Dori Smith show how to create more effective rollovers; insert and manage multiple rollovers on the same page; trigger rollovers from links; change several links from a single rollover; and use functions to streamline your rollover code.
Building on what you’ve learned, you’ll learn how to create “cycling” ad banners, image maps, and slide shows. Want to open multiple windows? Change the contents of a window? Update one window from another? Precisely position windows on the screen? It’s all here.
The authors cover just about everything you might want to do with forms, from authentication to “select-and-go” navigation, menu selections to email address validation. There’s even a chapter on regular expressions, which let you manipulate whatever text users throw at you.
Want to add dynamic features to your page? Here’s how, starting with simple stuff (displaying the current date) and moving on to slicker techniques (working with referrer pages, writing text into documents “on the fly.”) There’s a full chapter on JavaScript event handling and another on placing, reading, and using cookies.
You’ll learn the basics of driving CSS and DHTML with JavaScript -- including detailed coverage of differences between IE Mac and Windows, Netscape 4.x and 6. Since Negrino and Smith are active members of the Web Standards Project Steering Committee, they’re well placed to advise on those maddening cross-platform/browser issues.
Next, they introduce several advanced user interface techniques (pull-down and sliding menus, tool tips, and click-anywhere form fields); then show how to minimize the amount of code you have to write and manage. Neat feature: a full chapter on “bookmarklets,” those surprisingly useful one-line scripts that nestle in your URL line and control your browser without even using web pages.
Increasingly, folks write JavaScript within their web designware. This edition adds a full chapter on using Dreamweaver, FrontPage, Fireworks, and GoLive as JavaScript editors. There’s practical debugging coverage, plus concise references to JavaScript, its objects, and the basics of CSS.
Clear writing, lean code, easy access, task-based focus: can’t beat it. Bill Camarda
Bill Camarda is a consultant, writer, and web/multimedia content developer. His 15 books include Special Edition Using Word 2000 and Upgrading & Fixing Networks for Dummies, Second Edition.