Premier Press - JavaScript Professional Projects
Table of Contents
BackCover
JavaScript Professional Projects
Introduction
What Is the Project Case Study?
Part I: JavaScript Essentials
Chapter 1: JavaScript Programming Basics
Lexical Definition
Data Types
Variables
Operators
Summary
Chapter 2: Selection and Repetition Statements
Repetition Statements
Summary
Chapter 3: Arrays and Strings
Strings
Summary
Chapter 4: JavaScript Functions
Invoking Functions
Functions Scope
Functions as Data
Example Functions
Summary
Chapter 5: Object-Oriented JavaScript
Object Properties
Object Methods
JavaScript Native Objects
Inheritance and Polymorphism
Summary
Chapter 6: JavaScript Events and Timers
JavaScript User-Created Events
Modifier Keys
Binding Events to Elements
Event Propagation
JavaScript Timers
Summary
Chapter 7: The Document Object Model
DOM HTML Elements
Using the DOM
Summary
Chapter 8: Handling and Validating Forms
Handling Events During Data Entry
Form Validation Prior to Submission
Enabling and Disabling Form Fields
Summary
Chapter 9: Windows and Frames
Working with the Popup Object
Working with Frame, Frameset, and Iframe Objects
Understanding the Difference between Parent and Top Frames
Accessing Code between Windows and Frames
Summary
Chapter 10: Handling Web Browser, Screen Resolution, and Color Depth Differences
Creating a Multi-Browser Compatible Web Page
Handling Screen Resolution Issues
Handling Screen Color Depth Issues
Summary
Chapter 11: Client-Side Data as Cookies
Summary
Chapter 12: Ensuring JavaScript Security
Using Signed Scripts
Chapter 13: Handling Errors and Debugging Scripts
Displaying Errors in Internet Explorer
Understanding Error Messages
Using Try-Catch Blocks
Exploiting the OnError() Method
Finite Steps to Debugging
Summary
Part II: Applying Your Skills - The Center Park School Project
Chapter 14: Project Overview - Introducing Center Park School
Planning the Center Park Web Site
JavaScript Functionality: Special Features of the Center Park Web Site
Summary
Chapter 15: Creating a JavaScript Calendar
Perpetual Calendar for Scheduling
Pop-Up Calendar for Form Completion
Displaying the Pop-up Calendar
Rotating the Pop-up Calendar
Inter-Window Communications
Summary
Chapter 16: Creating an Online Test or Survey
Creating the Test
Creating the Test Grader
Summary
Chapter 17: Creating a Client-Side Shopping Cart
Item Selection and Addition to the Cart
Viewing Cart Contents
Checkout and Purchase
Summary
Chapter 18: Setting Up a Members-Only, Password-Protected Web Site
Simple Password Checking
Hiding a Password in the Form Page
Suppressing a Context Menu for Web Pages
The Problem with JavaScript Security
A Password-Protected Site
Summary
Chapter 19: Creating Hyperlinked Ad Rotators
Creating a Self-Changing Hyperlinked Text Ad
Platform-Independence
Summary
Chapter 20: Using JavaScript to Create Dynamic HTML (DHTML) Effects
Mouseover Image Rotations
Custom Color Schemes
Summary
Chapter 21: Project Wrap-up - Center Park Web Site Functional Overview
JavaScript-Specific Features of the Center Park Web Site
Post-Project Review: The Center Park Web Site
The Center Park Web Site: Complete Code Listing
Summary
Index
Index_A
Index_B
Index_C
Index_D
Index_E
Index_F
Index_G
Index_H
Index_I
Index_J
Index_K
Index_L
Index_M
Index_N
Index_O
Index_P
Index_Q
Index_R
Index_S
Index_T
Index_U
Index_V
Index_W-Z
List of Figures
List of Tables
List of Sidebars