Advanced Javascript: .
Advanced JavaScript, Third Edition provides an in-depth examination of the most important features of JavaScript. Beginning with an overview of JavaScript, the book quickly moves into more advanced features needed for complex yet robust JavaScript scripts, such as objects, arrays, and date and time functions. Additionally, various features of JavaScript that are essential for modern web pages are discussed, including manipulating the status bar, creating dynamic calendars, and working with forms, images, and the Document Object Model. Numerous examples illustrate how to implement various techniques.Topics covered how to enhance your web pages with LED signs, banners, and images; implementing cookies to store and retrieve information; the structure of the Document Object Model and how it can be used to view, access, and change an HTML document; Security measures to protect private information while using the Internet.
1116862881
Advanced Javascript: .
Advanced JavaScript, Third Edition provides an in-depth examination of the most important features of JavaScript. Beginning with an overview of JavaScript, the book quickly moves into more advanced features needed for complex yet robust JavaScript scripts, such as objects, arrays, and date and time functions. Additionally, various features of JavaScript that are essential for modern web pages are discussed, including manipulating the status bar, creating dynamic calendars, and working with forms, images, and the Document Object Model. Numerous examples illustrate how to implement various techniques.Topics covered how to enhance your web pages with LED signs, banners, and images; implementing cookies to store and retrieve information; the structure of the Document Object Model and how it can be used to view, access, and change an HTML document; Security measures to protect private information while using the Internet.
86.95 In Stock
Advanced Javascript: .

Advanced Javascript: .

by Chuck Easttom
Advanced Javascript: .

Advanced Javascript: .

by Chuck Easttom

eBook

$86.95 

Available on Compatible NOOK devices, the free NOOK App and in My Digital Library.
WANT A NOOK?  Explore Now

Related collections and offers


Overview

Advanced JavaScript, Third Edition provides an in-depth examination of the most important features of JavaScript. Beginning with an overview of JavaScript, the book quickly moves into more advanced features needed for complex yet robust JavaScript scripts, such as objects, arrays, and date and time functions. Additionally, various features of JavaScript that are essential for modern web pages are discussed, including manipulating the status bar, creating dynamic calendars, and working with forms, images, and the Document Object Model. Numerous examples illustrate how to implement various techniques.Topics covered how to enhance your web pages with LED signs, banners, and images; implementing cookies to store and retrieve information; the structure of the Document Object Model and how it can be used to view, access, and change an HTML document; Security measures to protect private information while using the Internet.

Product Details

ISBN-13: 9781449627225
Publisher: Jones & Bartlett Learning
Publication date: 08/29/2007
Sold by: Barnes & Noble
Format: eBook
Pages: 591
File size: 3 MB

About the Author

Adjunct Lecturer, Georgetown University, Adjunct Professor, University of Dallas

Table of Contents

Acknowledgmentsxxviii
Introductionxxix
Chapter 1Introduction to JavaScript1
The World Wide Web1
Competition on the Web1
Extending HTML2
CGI Programs3
Helpers, Plug-ins, Applets, and CGI3
What is JavaScript?5
Who Can Benefit from JavaScript?5
The History of JavaScript6
JavaScript in a Browser6
What Can JavaScript Do?7
JavaScript and Java9
JavaScript's Current Status12
The Future of JavaScript13
Chapter 2HTML Primer14
HTML Tags14
Chapter 3Writing Your First JavaScript21
Essential Authoring Tools21
Basic JavaScript Structure22
Conventions28
Your First Script30
Printing JavaScript Output32
Updating a Page32
Summary33
Chapter 4JavaScript Fundamentals34
"Building" a Script34
Data Types in JavaScript34
JavaScript Entities38
Type Conversion39
Mixing Strings and Numbers39
Literals40
Operators45
Making Statements46
Evaluating Expressions47
Testing Evaluation48
Functions48
Control Structures in JavaScript51
Summary67
Chapter 5Object-Oriented Programming68
Objects68
Properties69
Methods72
Using the Array Notation73
Object Based Versus Object Oriented73
Summary74
Chapter 6Functions and Variable Scope75
Variable Scope and Storage Class75
What are Functions?81
Defining and Calling Functions82
Function Parameters82
Returning a Value86
Recursion88
Summary92
Chapter 7Utilizing JavaScript Operators93
Operator Categories93
Mathematical Operators93
String Operators98
Bitwise Operators99
Assignment Operators105
Relational Operators106
Short-Circuit Logical Operators108
More Logical Operators110
Data Type Operator111
Void Operator112
Operator Precedence113
Expressions113
Side Effects114
Summary115
Chapter 8JavaScript by Example--A Review116
Height and Weight Calculator116
Summary131
Chapter 9Events in JavaScript132
Events132
Event Handlers135
Emulating Events via Methods141
Calling Event Handlers Explicitly142
Cancelling Events144
Summary144
Chapter 10Building and Extending Objects145
Creating Instances145
Constructor Functions146
Nested Objects149
Prototype and Object Extensions155
Summary158
Chapter 11Arrays159
What is an Array?159
Some History159
Creating Simple Arrays160
Referring to an Array's Elements161
Creating Dense Arrays162
Array Types163
Array Properties166
Array Methods167
The arguments Array181
Multidimensional Arrays184
Associative Arrays187
Summary190
Chapter 12Time and Date in JavaScript192
The Date Object192
Creating a Date Instance192
Date Numeric Conventions194
Date Method Categories194
get Methods195
The set Methods202
to Methods204
parse Methods205
Time-Related Methods of Other Objects206
Time and Date Examples208
Summary225
Chapter 13JavaScript Math226
Math in JavaScript226
The Math Object226
Constants227
Math Methods230
The Number Object235
Math Examples238
General Plotting Utility245
Summary258
Chapter 14Handling Strings259
String Indexing259
Characters259
Creating Strings259
String Length260
HTML Formatting Methods260
General String Methods262
escape and unescape264
Number-to-String Conversion265
String-to-Number Conversion268
Evaluating Text Expressions270
String Handling Example270
Summary273
Chapter 15Browser Objects274
The Object Hierarchy274
Creating Browser Objects275
The Topmost Objects275
Summary277
Chapter 16Utilizing the Status Bar278
The Status Bar278
Writing to the Status Bar278
Setting a Default Value for the Status Bar281
Banners282
Summary294
Chapter 17URLs and JavaScript295
A Crash Course in URLs295
location Object298
location Properties298
location Methods310
Another Location--document.location (document.URL)312
Search Utilities313
Summary317
Chapter 18Using the History List318
What is a History List?318
The history Object318
History List Length318
History List Entry Indexing319
history Methods319
Security Aspects of the history Object321
Summary321
Chapter 19The document Object--Colors, Output, and Properties322
The document Object322
The title Property322
Colors324
Output Methods and Streams333
Summary335
Chapter 20Forms337
What are HTML Forms?337
JavaScript Form Reference337
form Object338
text Object353
password Object365
textarea Object366
hidden Object369
button, submit, and reset Objects370
checkbox Object376
radio Object383
Select Object388
FileUpload Object401
Summary401
Chapter 21Links, Anchors, and Image Maps403
Defining a Link403
Defining an Anchor404
Defining an Image Map Area404
Links Array405
Anchors Array405
Link and Area Event Handlers406
Link and Area Properties410
Referring Documents411
Summary411
Chapter 22Implementing Cookies413
Maintaining State413
Cookies and HTTP413
Cookies and JavaScript417
Cookie Functions417
Outliner433
Summary443
Chapter 23Images and Graphics444
Defining Images in HTML444
The Image Object445
Demonstration 1: Updating Digital Clock454
Demonstration 2: LED Sign461
Demonstration 3: Netris Deluxe478
Summary512
Chapter 24Frames513
What are Frames?513
Creating Frames513
Targeting Frames516
Nested Frames517
JavaScript and Frames519
Self519
Parent520
Top521
Frames521
An Example: The Color Center523
Frames, Events, and Event Handlers537
Targeting Multiple Frames538
Summary539
Chapter 25Windows540
What are Windows?540
Opening a Window with JavaScript540
Referencing Windows544
Window Names544
Remotes545
Closing a Window549
Scrolling a Window550
Windows, Events, and Event Handlers550
An Example: Accessing a Window's Objects553
Summary567
Chapter 26Evaluation and Compilation568
Evaluating a String568
Function References and Calls570
Compiling Code as a Function571
Summary575
Chapter 27General Software Detection576
Browser Detection576
Checking if Java is Enabled581
Summary581
Chapter 28Plug-ins582
Embedding a Plug-in Object in HTML582
Referencing Plug-ins in JavaScript583
Determining Installed Plug-ins with JavaScript583
Properties of the mime Types Object584
Properties of the plugins Object586
LiveAudio and LiveVideo587
Summary592
Chapter 29LiveConnect--Connecting JavaScript, Java, and Plug-ins593
What is LiveConnect?593
Enabling LiveConnect593
The Java Console593
Netscape Packages594
Java to JavaScript Communication595
JavaScript to Java Communication599
Summary620
Chapter 30JavaScript Extensions for Layers621
Introduction621
Defining a Layer622
The layer Object627
Demonstration: A Pictorial Album of U.S. Presidents630
Summary633
Chapter 31Style Sheets634
Introduction634
Content Layout635
Font Properties635
Text Properties635
Inheritance of Styles635
Creating Style Sheets and Assigning Styles636
Format Properties638
Summary640
Chapter 32Security Issues641
History641
URL to URL Access Security641
The Concept of Tainting642
Summary645
Chapter 33Debugging Scripts646
Types of Errors646
Error Messages647
Manual Debugging Techniques650
Getting It Right the First Time652
Testing Your Script653
Summary654
Chapter 34JavaScript and VRML655
Introduction655
Smaller File Sizes656
Summary657
Chapter 35JavaScript Tips and Tricks658
Transparent Frames658
Browser Detection658
Popup Windows659
From the B&N Reads Blog

Customer Reviews