Essential JavaScript for Web Professionals

Essential JavaScript for Web Professionals

2.83 (6 ratings by Goodreads)
By (author) 

List price: US$29.99

Currently unavailable

Add to wishlist

AbeBooks may have this title (opens in new window).

Try AbeBooks

Description

Enhance your Web site functionality with JavaScript! Essential JavaScript for Web Professionals provides the reader with practical projects and realistic solutions. This real-world approach to JavaScript engages the reader, as more complex projects build on simpler problems from earlier in the book. Projects include rollovers, pulldown menus, and navigation tools. More complex problems include error handling, logins, creating pages on the fly from data held in multidimensional arrays, and more.show more

Product details

  • Paperback | 352 pages
  • 157 x 227.6 x 24.6mm | 557.93g
  • Pearson Education Limited
  • Prentice-Hall
  • Harlow, United Kingdom
  • English
  • Revised
  • 2nd Revised edition
  • 0131001477
  • 9780131001473

Table of contents

Introduction. Acknowledgments. About the Author. 1. Dynamism and Detection. Project I: Browser Detection and Cloaking-Dynamically Generating Platform-Specific Content. Creating External CSS Files. Debugging JavaScript Code. Inserting a Script into Your HTML. JavaScript Objects and Hierarchies. Conditional Statements. Reviewing the Script. Project II: Dynamic Content Creation-Printing Out the Copyright Information and Last-Modified Date. External JavaScript Files. Introduction of the Last-Modified Property. Dynamically Printing Nonstring Data. Reviewing the Script. Recap. Advanced Projects. 2. Image Rollovers. Project I: Image Rollover Script. Creating and Inserting the Image Objects. Image Rollover Functions. Creating and Inserting the Event Handlers. Reviewing the Script. Project II: Multiple Image Rollover Script. Creating and Inserting the Image Objects. Inserting the Rollover Functions. Creating and Inserting the Event Handlers. Reviewing the Script. Project III: Random Banner Ad Rotator Script. Creating and Inserting the Image Objects. Random Image Generator Function. Dynamically Printing Out the Image. Reviewing the Script. Recap. Advanced Projects. 3. JavaScript for Navigation. Project I: JavaScript and Pull-Down Menus-Getting to Where You Want to Go! Creating the Navigation Function. Inserting the Event Handler. Using onChange for Instant Gratification. Reviewing the Script. Project II: Using Multiple Pull-Down Menus for Navigation. Creating the Arrays. Creating the Drill-Down Menu Function. Creating the Navigation Function. Inserting the Event Handlers. Reviewing the Script. Project III: Using JavaScript on a Log-in Page. Inserting the Event Handler. Reviewing the Script. Project IV: Using CSS/DHTML with JavaScript for Navigation. Introduction to CSS/DHTML. Creating the Menu Layers. Creating the Navigation Function. Creating and Inserting the Event Handlers. Reviewing the Script. Recap. Advanced Projects. 4. Error Handling in Forms. Project I: Dynamically Selecting Multiple Form Fields. Creating the Change Checkbox State Function. Inserting the Event Handlers. Reviewing the Script. Project II: Error Handling of Forms. Checking Forms for Empty Text Box Fields. Making Sure a Pull-Down Menu Option Was Chosen. Checking Email Addresses for . and @. Checking for Area Codes in Phone Numbers. Making Sure Zip Codes Have Only Numbers. Project III: Letting the User Know What's Wrong. Reviewing the Script. Recap. Advanced Projects. 5. JavaScript Windows and Frames. A Look at the WINDOW Object. Project I: Creating, Populating, and Closing Windows with JavaScript. Creating and Defining the Arrays. Creating the Function. Inserting the Event Handlers. Reviewing the Script. Project II: Using JavaScript to Talk Between Frames. Figuring Out Your Frame Hierarchy. Creating a Function to Check Which Section You Are In. Inserting the Event Handler. Reviewing the Script. Project III: Makingshow more

About Dan Barrett

DAN BARRETT is co-owner of Smashing Pixels, a Web design firm located in the San Francisco Bay area. He has more than eight years of Web design, 3D animation, and modeling experience, working with clients that include Hewlett-Packard, Novell, PeopleSoft, Restoration Hardware, Electronic Arts, and Pacific Bell. His sites have earned numerous awards, including several International Web Page Awards and Macromedia's Flash Site of the Day.show more

Rating details

6 ratings
2.83 out of 5 stars
5 0% (0)
4 17% (1)
3 67% (4)
2 0% (0)
1 17% (1)
Book ratings by Goodreads
Goodreads is the world's largest site for readers with over 50 million reviews. We're featuring millions of their reader ratings on our book pages to help you find your new favourite book. Close X