Amazon.co.uk Review
JavaScript has become the language no Web developer can do without, mainly because it runs in both Internet Explorer and Netscape Navigator.
Sams Teach Yourself JavaScript in 24 Hours explains how to include JavaScript code in Web pages, in order to achieve effects such as rollover buttons, navigation menus, pop-up windows, animated graphics and simple forms. The material is presented in 24 short chapters, each of which concludes with a summary, a quiz and several exercises.
In its fundamentals JavaScript is similar to other programming languages, so early chapters teach essential concepts such as variables, functions, arrays, operators and loops. There is also good coverage of how to control a Web page by programming its DOM (Document Object Model) and responding to events such as button clicks and mouse movements. The author explains that there are incompatibilities between different browsers, and shows how to write code that works in all recent browsers, if necessary by detecting which one is in use. There is also a guide to troubleshooting and handling errors. The most advanced chapters require either Internet Explorer or Netscape 6.0, because of limitations in the DOM presented by Netscape Navigator 4.0. Towards the end, you learn how to create a complete poker game that runs in a browser.
This hands-on guide is ideal for those Web page authors who want to dip a toe into the world of Web scripting. --Tim Anderson
Book Description
Sams Teach Yourself JavaScipt in 21 Days is an entry-level tutorial for the reader with absolutely no programming background, but who wants to add interactivity to a Web site. Written by a best-selling JavaScript and networking author, this new second edition has been thoroughly updated to cover the latest version, JavaScript 1.5.
See all Product Description