Fr. 60.50

JavaScript & DHTML Cookbook - Solutions & Examples for Web Programmers

English · Paperback / Softback

Shipping usually within 3 to 5 weeks

Description

Read more

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 thatcan bring your web pages to life.The JavaScript & DHTML Cookbook is 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 framesThis book is the ideal companion to O'Reilly's JavaScript: The Definitive Guide and Dynamic HTML: The Definitive Reference. If you own either of these books, the JavaScript & DHTML Cookbook is a must.

List of contents

From the contents:
Preface
1. Strings
1.1 Concatenating (Joining) Strings
1.2 Improving String Handling Performance
1.3 Accessing Substrings
1.4 Changing String Case
1.5 Testing Equality of Two Strings
1.6 Testing String Containment Without Regular Expressions
1.7 Testing String Containment with Regular Expressions
1.8 Searching and Replacing Substrings
1.9 Using Special and Escaped Characters
1.10 Reading and Writing Strings for Cookies
1.11 Converting Between Unicode Values and String Characters
1.12 Encoding and Decoding URL Strings
1.13 Encoding and Decoding Base 64 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

About the author

Danny Goodman is the author of numerous critically acclaimed and best-selling books, including The Complete HyperCard Handbook, Danny Goodman's AppleScript Handbook, and Dynamic HTML: The Definitive Reference. He is a renowned authority and expert teacher of computer scripting languages and is widely known for his "javaScript Apostle" articles at Netscape's ViewSource online developers newsletter. His writing style and pedagogy continue to earn praise from readers and teachers around the world. To help keep his finger on the pulse of real-world programming challenges, Goodman frequently lends his touch as consulting programmer and designer to leading-edge World Wide Web and intranet sites from his home base in San Francisco area.

Summary

Addresses scripting problems and offers codes and discusses how and why the solution works. This book contains recipes for: working with forms and style sheets; presenting page navigation; creating content via Document Object Model scripting; producing visual effects for stationary content; and positioning HTML elements.

Product details

Authors Danny Goodman, Goodman Danny
Publisher O'Reilly Media
 
Languages English
Product format Paperback / Softback
Released 01.01.2007
 
EAN 9780596514082
ISBN 978-0-596-51408-2
No. of pages 744
Weight 885 g
Illustrations w. figs.
Series Cookbooks Ser.
Subjects Natural sciences, medicine, IT, technology > IT, data processing > Programming languages

Web programming, COMPUTERS / Internet / Web Programming, JavaScript DHTML Web 2.0 ajax Dynamic DOM CSS Style XML HTML

Customer reviews

No reviews have been written for this item yet. Write the first review and be helpful to other users when they decide on a purchase.

Write a review

Thumbs up or thumbs down? Write your own review.

For messages to CeDe.ch please use the contact form.

The input fields marked * are obligatory

By submitting this form you agree to our data privacy statement.