BN.com Gift Guide

Learn Javascript

Overview

Learn JavaScript by Chuck Easttom takes a practical approach to demonstrating how to enhance web pages using JavaScript. Written specifically for those who are new to JavaScript, the book begins with introductions to HTML and JavaScript and progresses through the process of developing a fully functional commercial web site. As new concepts are introduced, they are thoroughly explained and then applied to the web site project. Along the way, the reader learns about such topics as the Document Object Model, ...
See more details below
Available through our Marketplace sellers.
Other sellers (Paperback)
  • All (8) from $4.69   
  • New (1) from $50.00   
  • Used (7) from $4.69   
Close
Sort by
Page 1 of 1
Showing All
Note: Marketplace items are not eligible for any BN.com coupons and promotions
$50.00
Seller since 2014

Feedback rating:

(193)

Condition:

New — never opened or used in original packaging.

Like New — packaging may have been opened. A "Like New" item is suitable to give as a gift.

Very Good — may have minor signs of wear on packaging but item works perfectly and has no damage.

Good — item is in good condition but packaging may have signs of shelf wear/aging or torn packaging. All specific defects should be noted in the Comments section associated with each item.

Acceptable — item is in working order but may show signs of wear such as scratches or torn packaging. All specific defects should be noted in the Comments section associated with each item.

Used — An item that has been opened and may show signs of wear. All specific defects should be noted in the Comments section associated with each item.

Refurbished — A used item that has been renewed or updated and verified to be in proper working condition. Not necessarily completed by the original manufacturer.

New
Brand new.

Ships from: acton, MA

Usually ships in 1-2 business days

  • Standard, 48 States
  • Standard (AK, HI)
Page 1 of 1
Showing All
Close
Sort by
Sending request ...

Overview

Learn JavaScript by Chuck Easttom takes a practical approach to demonstrating how to enhance web pages using JavaScript. Written specifically for those who are new to JavaScript, the book begins with introductions to HTML and JavaScript and progresses through the process of developing a fully functional commercial web site. As new concepts are introduced, they are thoroughly explained and then applied to the web site project. Along the way, the reader learns about such topics as the Document Object Model, JavaScript objects, hyperlinks, date and time, strings, and dynamic menus. The book also explains how to create simple games using JavaScript and includes a chapter on tips and tricks. The appendixes contain command references for HTML and JavaScript, and a listing of online resources for further study.
Read More Show Less

Product Details

  • ISBN-13: 9781556228568
  • Publisher: Wordware Publishing, Inc.
  • Publication date: 12/1/1901
  • Pages: 256
  • Product dimensions: 7.52 (w) x 9.26 (h) x 0.79 (d)

Meet the Author

Chuck Easttom has several years of professional software development experience using Java, JavaScript, Visual Basic, C, and C++. His career has included software consulting in the financial industry, telecommunications software product development, and web development. He currently teaches computer science courses at a private technical college in Dallas, Texas, and holds over 20 computer certifications. He is also the author of Advanced JavaScript, Second Edition.
Read More Show Less

Table of Contents

Acknowledgments xi
Introduction xiii
Chapter 1 HTML Primer 1
Images and Hyperlinks 4
Colors and Backgrounds 6
Tables 7
Lists 9
Marquee 11
Summary 11
Chapter 2 JavaScript Primer 13
Essential Tools 13
Choosing a Browser 14
Basic JavaScript Structure 14
The [left angle bracket]SCRIPT[right angle bracket] Tag 14
Internal Scripts 14
External Scripts 15
Placing JavaScript Code 15
JavaScript Conventions 16
Using the Semicolon 16
Case Sensitivity 17
Comments 17
Using Quotes 17
Your First Script 18
Fundamental JavaScript Concepts 20
Data Types and Variables in JavaScript 20
JavaScript Operators 22
JavaScript Statements 23
Multiple Statements 23
Nested Statements 24
JavaScript Expressions 24
JavaScript Function Declarations 25
Calling Functions 26
Dialog Boxes 28
Alert Boxes 28
Confirm Boxes 28
Prompt Boxes 29
if Statement 30
Summary 31
Chapter 3 Alerts, Prompts, and User Feedback 33
Alert Boxes 33
Prompt Boxes 35
Writing Back to the Web Page 38
Antique Bookstore Project 41
Summary 42
Chapter 4 Image Effects 43
The Image Object 43
Rollover 44
Slide Show 46
Image Preview 51
Banner Ads 53
Image Pop-up 54
Antique Bookstore Project 56
Summary 57
Chapter 5 Background Effects 59
Document Object 59
Changing the Background Color 59
Changing the Background Image 62
More Background Effects 68
Antique Bookstore Project 70
Summary 73
Chapter 6 The Document Object Model 75
The window Object Hierarchy 75
document Object 76
history Object 76
The document Object 77
The window Object 80
The navigator Object 83
Using the history Object 84
Antique Bookstore Project 85
Summary 86
Chapter 7 Working with Date and Time 87
Time of Day 87
Day of Week 89
Setting Timeout 92
Antique Bookstore Project 93
Summary 95
Chapter 8 Working with Cookies 97
Baking Your First Cookie 97
setCookie 99
getCookie 100
Calling the Functions 101
Bake Another Cookie 102
Antique Bookstore Project 106
Summary 109
Chapter 9 Working with the Status Bar 111
Image Data 111
T-Banners 114
Antique Bookstore Project 118
Summary 119
Chapter 10 Creating Dynamic Menus 121
Pop-Up Menus 121
Drop-Down Menus 124
Pull-Down Menus 125
Expanding Menus 129
Antique Bookstore Project 132
Summary 134
Chapter 11 Working with Forms 135
Form Basics 135
Text Fields and Buttons 137
Options 138
Radio Buttons 140
Check Boxes 141
Event Handlers in Form Elements 143
onSubmit 143
onReset 145
Synopsis of Form Elements 146
Antique Bookstore Project 147
Summary 147
Chapter 12 Strings in JavaScript 149
Creating Strings 149
String Length 149
String Methods 151
charAt() 151
indexOf() 152
lastIndexOf() 153
substring() 153
Number-to-String Conversion 154
Empty String Concatenation 155
Antique Bookstore Project 155
Summary 155
Chapter 13 Math in JavaScript 157
Mathematical Operators 157
The Math Object 159
Constants 159
E 160
LN2 160
LN10 160
LOG2E 160
LOG10E 161
PI 161
SQRT2 161
Math Methods 161
Arithmetic Methods 162
abs() 162
ceil() 162
floor() 162
log() 163
max(), min() 163
pow() 163
round() 163
sqrt() 164
Trigonometric Methods 164
cos() 164
Antique Bookstore Project 166
Summary 168
Chapter 14 Adding Plug-ins 169
Putting a Plug-in into Your HTML 169
Using Plug-ins in JavaScript 170
What Plug-ins are Already Installed? 174
LiveAudio 175
Antique Bookstore Project 179
Summary 179
Chapter 15 Objects in JavaScript 181
Properties 181
Using Properties 181
Methods 182
Using Methods 183
Object-Oriented Concepts 183
Building Your Own Objects 184
Constructor Functions 185
Summary 186
Chapter 16 Tips and Tricks 187
Inline Frames 187
Browser Detection 189
System Information 189
Finding Mouse Location 190
Password 191
Browser Information 191
Printing the Page 192
Antique Bookstore Project 192
View the Directory 194
Summary 195
Chapter 17 JavaScript Games 197
Press the Button 197
Roll the Dice 200
Viva Las Vegas 202
Summary 207
Chapter 18 ActiveX and JavaScript 209
Theoretical Background 209
Using ActiveX for TCP/IP 210
Ticking Clock 212
Slider Text 213
Summary 215
Chapter 19 Programming and JavaScript 217
General Concepts 217
Arrays 218
Summary 221
Chapter 20 Antique Bookstore Project 223
The Main Screen 223
Inventory Pages 227
Finishing the Pages 232
Summary 235
Appendix A Online Resources 235
Appendix B HTML Reference 239
Appendix C JavaScript Reference 243
Appendix D Common Errors 249
Index 251
Read More Show Less

Customer Reviews

Be the first to write a review
( 0 )
Rating Distribution

5 Star

(0)

4 Star

(0)

3 Star

(0)

2 Star

(0)

1 Star

(0)

Your Rating:

Your Name: Create a Pen Name or

Barnes & Noble.com Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & Noble.com that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & Noble.com does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at BN.com or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation

Reminder:

  • - By submitting a review, you grant to Barnes & Noble.com and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Noble.com Terms of Use.
  • - Barnes & Noble.com reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & Noble.com also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on BN.com. It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

 
Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously

    If you find inappropriate content, please report it to Barnes & Noble
    Why is this product inappropriate?
    Comments (optional)