|
 |
|
 |
 |
Designing with JavaScript, 2nd Edition
|
by Nick Heinle and Bill Pena
Sales Rank: 202481
|
Discount: 34 %
List Price: $34.95
$26.56
At Amazon

|
|
Paperback: 400 pages
Publisher: O'Reilly Media, Inc.; 2 edition December 15, 2001
Language: English
ISBN-10: 156592360X
ISBN-13: 978-1565923607
Product Dimensions:
9.1 x 8 x 0.6 inches
Shipping Weight: 1.2 pounds
Product Review
Designing with JavaScript opens up a whole new world to Web-design artists, especially those making the leap from a print-design background. Many people liken Web design to print design, but there is nothing interactive about a printed page. Web pages, however, can be completely dynamic, different from moment to moment and responsive to the reader. The best way to take advantage of this is through JavaScript.
Eleven chapters and four appendices cover the basics to the complex, from extracting and validating information using forms to creating rotating images to using DHTML for animation. The first half covers basic yet important issues like an introduction to the syntax of the language, browser detection, setting up forms, and controlling frames and windows. Filled with examples, screen shots, and links to more examples and info, these chapters build a solid foundation for the second half of the book.
Dynamic images, rollovers, using cookies, and creating interactive features using DHTML are some of the features covered later in the book, with numerous practical examples. These chapters are invaluable for the learning designer, as nearly every feature is practically required on a contemporary Web site. The appendices include a handy JavaScript guide to the language, including syntax, handlers, an object guide, and style properties.
Not everything can be handled (yet) through the available WYSIWYG editors, making this book an invaluable reference and one to keep at your fingertips. --Mike Caputo
Book Description
JavaScript is one of the core technologies of the Web. Using JavaScript, you can create dynamic, interactive web pages that include image rollovers, pop-up windows, auto-scrolling frames, intelligent forms, and sophisticated Dynamic HTML effects. Even better, you don't have to be a programming ace to learn enough JavaScript to incorporate these elements into your web pages. Designing with JavaScript shows you how to create the effects you want, without forcing you to wade through pages of dry programmer-speak about variables, operators, and functions. Each chapter demonstrates common JavaScript techniques and explains how to customize them for your own use. Along the way, it introduces basic JavaScript concepts, teaching the language in the context of real-world examples. By the time you finish this book, you'll have a solid foundation of JavaScript knowledge that you can apply to your own web pages. With Designing with JavaScript, you will learn to: - Use JavaScript to produce visual effects, such as image rollovers and rotating billboards
- Launch new browser windows, control frames, and validate form data
- Customize your site by using JavaScript to detect browsers, platforms, and plug-ins
- Use cookies to keep track of visitors, so you can welcome new users while offering customized pages to returning users
- Create a tabbed folder interface, drop-down menus, and a scrolling headline ticker, using the basics of Dynamic HTML
The first edition of Designing with JavaScript taught tens of thousands of web designers how to enliven their pages with JavaScript. This new edition has been updated to cover the latest JavaScript techniques supported by current web browsers. If you are ready to start incorporating JavaScript into your designs, this is the book for you.
Customer Reviews & Comments
Most JavaScript books force you to slog through reams of reference material before you get to the good stuff. This book is not one of them. Nick Heinle, former WebReference expert and WebCoder wunderkind, and Bill Pena have updated Heinle's first edition into O'Reilly's patented Web Studio style intro to JavaScript. Aimed at beginning to intermediate scripters, DWJ2 skips the dry stuff and dives right into practical real-world examples of useful scripts you can easily add to your own pages. Everything from simple descriptive links and remotes, to frames, form validation and arrays, through sniffing, rollovers, personalization through cookies, and more advanced topics are covered. A brief DHTML chapter follows, with some simplified examples of drop-down menus (non-hierarchical), sliding tabs, and scrolling layers with clipping, useful for news feeds. The advanced chapter covers object-oriented scripting and shows how to create a quiz to test your readers. Relational select menus (2-level) illustrate using two-dimensional arrays nicely. I especially enjoyed the section on cross-browser style objects, where the authors demonstrate the use of Netscape's xbStyle object. xbStyle is a simple abstraction layer that removes the complexity of accessing style properties. Using xbStyle you can grab, hide, and move layers without worrying about implementation details of specific browsers. The coolest thing about xbStyle is the layer grabbing technique. xbStyle implements a W3C-like document.getElementById() method for 4.0 browsers! For these older browsers, xbStyle redefines this method, to make its use seamless for scripters manipulating layers (DIVs). This example demonstrates the leveraging power of a well-executed API. This book is a good intro by example to JavaScript.
Comment | Permalink |
(Report this)
|
Designing with JavaScript, 2nd Edition
List Price: $34.95
Discount: 34 %
Available from Amazon
Price: $26.56

| |
|
|
|
|