JavaScript and DHTML : Solutions and Examples for Web Programmers |

Item specifics

Publication Year: 2003 Publisher: O'Reilly Media, Incorporated
Language: English Weight: 1.6 lbs
Format: Paperback Product Group: Book
Binding: Paperback IsTextBook: Yes
Author: Danny Goodman UPC:

0636920004677

ISBN:

9780596004675

EAN:

0636920004677

JavaScript and DHTML : Solutions and Examples for Web Programmers

About this product

Synopsis
On numerous online forums for JavaScript and DHTML, the majority of questions begin with “How do I…'” This new Cookbook provides the answers. After reading thousands of forum threads over the years, author and scripting pioneer Danny Goodman has compiled a list of problems that frequently vex scripters of various experience levels. He has now applied state-of-the-art ECMA and W3C DOM standards and used best practices to create this extensive collection of practical recipes that can bring your web pages to life. The JavaScript & DHTML Cookbookis all about adding value to the content of a web page. The book focuses on practical and sensible applications of scripting, rather than flying images and gratuitous color changes. For every problem Goodman addresses, there’s a solution or “recipe”–a focused piece of code that web developers can insert directly into their applications. Yet, rather than just cut-and-paste code, you also get explanations of how and why the code works, so you can learn to adapt the problem-solving techniques to your designs. The recipes range from simple tasks, such as manipulating strings and validating dates in JavaScript, to entire libraries that demonstrate complex tasks, such as cross-browser positioning of HTML elements and sorting tables. This book contains over 150 recipes on the following topics: Working with interactive forms and style sheets Presenting user-friendly page navigation Creating dynamic content Producing visual effects for stationary content Positioning HTML elements Managing browser windows and multiple frames This book is the ideal companion to O’Reilly’s JavaScript: The Definitive Guideand Dynamic HTML: The Definitive Reference. If you own either of these books, the JavaScript & DHTML Cookbookis a must. On numerous online forums for JavaScriptTM and DHTML, the majority of questions begin with “How do I…'” This new Cookbook provides the answers with a comprehensive collection of problems, solutions, and practical examples. The book’s recipes range from simple tasks, such as manipulating strings and validating dates in JavaScript, to entire libraries that demonstrate complex tasks, such as cross-browser positioning of HTML elements and sorting tables. The majority of questions that show up on the numerous online forums for JavaScript and DHTML begin with How do I…’ This text aims to answer those questions. Danny Goodman has read thousands of forum threads and compiled lists of the problems that scripters of various experience levels frequently encounter. Rather than wrestle with the same problems that countless others have worked through before, you can take advantage of this unique and extensive collectionof practical recipes and adapt them to your own applications.

Product Identifiers
ISBN-10 0596004672
ISBN-13 9780596004675
eBay Product ID (ePID) 2428524

Key Details
Author Danny Goodman
Number Of Pages 544 pages
Format Paperback
Publication Date 2003-05-01
Language English
Publisher O’Reilly Media, Incorporated
Publication Year 2003

Additional Details
Copyright Date 2003
Illustrated Yes

Dimensions
Weight 25.6 Oz
Height 1 In.
Width 7 In.
Length 9.2 In.

Target Audience
Group Scholarly & Professional

Classification Method
LCCN 2003-284351
LC Classification Number QA76.625

Table Of Content
Preface 1. Strings 1.1 Concatenating (Joining) Strings 1.2 Accessing Substrings 1.3 Changing String Case 1.4 Testing Equality of Two Strings 1.5 Testing String Containment Without Regular Expressions 1.6 Testing String Containment with Regular Expressions 1.7 Searching and Replacing Substrings 1.8 Using Special and Escaped Characters 1.9 Reading and Writing Strings for Cookies 1.10 Converting Between Unicode Values and String Characters 1.11 Encoding and Decoding URL Strings 1.12 Encoding and Decoding Base64 Strings 2. Numbers and Dates 2.1 Converting Between Numbers and Strings 2.2 Testing a Number”s Validity 2.3 Testing Numeric Equality 2.4 Rounding Floating-Point Numbers 2.5 Formatting Numbers for Text Display 2.6 Converting Between Decimal and Hexadecimal Numbers 2.7 Generating Pseudorandom Numbers 2.8 Calculating Trigonometric Functions 2.9 Creating a Date Object 2.10 Calculating a Previous or Future Date 2.11 Calculating the Number of Days Between Two Dates 2.12 Validating a Date 3. Arrays and Objects 3.1 Creating a Simple Array 3.2 Creating a Multidimensional Array 3.3 Converting Between Arrays and Strings 3.4 Doing Something with the Items in an Array 3.5 Sorting a Simple Array 3.6 Combining Arrays 3.7 Dividing Arrays 3.8 Creating a Custom Object 3.9 Simulating a Hash Table for Fast Array Lookup 3.10 Doing Something with a Property of an Object 3.11 Sorting an Array of Objects 3.12 Customizing an Object”s Prototype 3.13 Converting Arrays and Custom Objects to Strings4. Variables, Functions, and Flow Control 4.1 Creating a JavaScript Variable 4.2 Creating a Named Function 4.3 Nesting Named Functions 4.4 Creating an Anonymous Function 4.5 Delaying a Function Call 4.6 Branching Execution Based on Conditions 4.7 Handling Script Errors Gracefully 4.8 Improving Script Performance5. Browser Feature Detection 5.1 Detecting the Browser Brand 5.2 Detecting an Early Browser Version 5.3 Detecting the Internet Explorer Version 5.4 Detecting the Netscape Navigator Version 5.5 Detecting the Client Operating System 5.6 Detecting Object Support 5.7 Detecting Object Property and Method Support 5.8 Detecting the Browser Written Language 5.9 Detecting Cookie Availability 5.10 Defining Browser- or Feature-Specific Links 5.11 Testing on Multiple Browser Versions 6. Managing Browser Windows 6.1 Setting the Main Window”s Size 6.2 Positioning the Main Window 6.3 Maximizing the Main Window 6.4 Creating a New Window 6.5 Bringing a Window to the Front 6.6 Communicating with a New Window 6.7 Communicating Back to the Main Window 6.8 Using Internet Explorer Modal/Modeless Windows 6.9 Simulating a Cross-Browser Modal Dialog Window 6.10 Simulating a Window with Layers 7. Managing Multiple Frames 7.1 Creating a Blank Frame in a New Frameset 7.2 Changing the Content of One Frame from Another 7.3 Changing the Content of Multiple Frames at Once 7.4 Replacing a Frameset with a Single Page 7.5 Avoiding Being “”Framed”” by Another Site 7.6 Assuring a Page Loads in its Frameset 7.7 Reading a Frame”s Dimensions 7.8 Resizing Frames 7.9 Setting Frameset Specifications Dynamically 8. Dynamic Forms 8.1 Auto-Focusing the First Text Field 8.2 Performing Common Text Field Validations 8.3 Preventing Form Submission upon Validation Failure 8.4 Auto-Focusing an Invalid Text Field Entry 8.5 Changing a Form”s Action 8.6 Blocking Submissions from the Enter Key 8.7 Advancing Text Field Focus with the Enter Key 8.8 Submitting a Form by an Enter Key Press in Any Text Box 8.9 Disabling Form Controls 8.10 Hiding and Showing Form Controls 8.11 Allowing Only Numbers (or Letters) in a Text Box 8.12 Auto-Tabbing for Fixed-Length Text Boxes 8.13 Changing select Element Content 8.14 Copying Form Data Between Pages 9. Managing Events 9.1 Equalizing the IE and W3C Event Models 9.2 Initiating a Process After the Page Loads 9.3 Determining the Coordinates of a Click Event 9.4 Preventing an Event from Performing Its Default Behavior 9.5 Blocking Double Clicks 9.

Price : 3.99

Ends on : Ended

Buy on eBay!

Tbdress-De Sale