|
Instant JavaScript
Publisher:
WROX
Author: Nigel McFarlane
ISBN: 1861001274
Publication Date: February, 1998
Retail Price: $24.95
I'm always using JavaScript in the articles and tutorials I write for WebDeveloper.com and InternetWorld. And believe it or not, I still find myself reaching for a reference book every now and then.
I used to always reach for O'Reilly's JavaScript, the Definitive Guide, but then I got a copy of Instant JavaScript by WROX. It features all the basic JavaScript information that you might need to reference, such as variables, data, statements, functions and objects, etc., but it also has something even better: tips that will save you time and much effort.
Chapter 3, for instance, is about Windows and Frames. This is one of the most useful chapters in the whole book, but specifically, it's the tips that you'd search all day for, or bang your head on your keyboard trying to figure out. Have you ever created a page that you'd like to prevent from appearing in someone else's frameset? Instant JavaScript shows you how to stop that from happening with one line of code:
if (parent.frames[1])parent.location. href=self.location.href;
Try and put this page in a frameset and you'll see the above code in action! The same section also shows how to stop your framed page from being displayed out of its frame, again using one line of code! The book presents such time-savers throughout each chapter. Examples are given, and specifics are cited. Chapters include:
- Language Tour
- Browsers and other hosts
- Windows and Frames
- Multimedia and Plugins
- Forms and CGI
- Privacy and Security
- Disappearing Data
- Applets and Java
- Dynamic HTML and JavaScript
The appendix section is almost as valuable, with a separate appendix for ECMAScript,
Core Language enhancements, The Browser Object Model, Reserved Key Words and even HTML and JavaScript. While the book is only 400 pages, you'll soon find your copy dog-eared and well worn.
Author Nigel McFarlane has written a very readable, useful reference book for Web developers. If I had to choose one JavaScript reference to keep on my desk, there's no question what it would be. With sections like "Discouraging onlookers," "Common Syntax Errors" and "Making it go faster," Instant JavaScript would be the only logical choice.
Selections include:
|