Introducing HTML and JavaScript / 1: |
Introducing the Tools / 1.1: |
What Is an HTML Document? / 1.1.1: |
What Is JavaScript? / 1.1.2: |
How Do You Create HTML/JavaScript Documents? / 1.1.3: |
Some Typographic Conventions Used in This Book / 1.1.4: |
Where Can You Find More Information About HTML and JavaScript? / 1.1.5: |
Your First HTML/JavaScript Documents / 1.2: |
Accessing HTML Documents on the Web / 1.3: |
Another Example / 1.4: |
HTML Document Basics / 2: |
Documents, Elements, Attributes, and Values / 2.1: |
Essential Elements / 2.1.1: |
Some Other Important Elements / 2.1.2: |
HTML Syntax and Style / 2.2: |
Using the script Element / 2.3: |
Creating and Organizing a Web Site / 2.4: |
Selecting and Using Colors / 2.5: |
Using Cascading Style Sheets / 2.6: |
HTML Tables, Forms, Lists, and Frames / 2.7: |
The table Element / 3.1: |
Basic Table Formatting / 3.1.1: |
Subdividing Tables into Sections / 3.1.2: |
Merging Cells Across Rows and Columns / 3.1.3: |
The form and input Elements / 3.2: |
Creating Pull-Down Lists / 3.3: |
Combining Tables and Forms / 3.4: |
E-Mailing the Contents of Forms / 3.5: |
The List Elements / 3.6: |
Using HTML Frames / 3.7: |
More Examples / 3.8: |
Selecting Cloud Types from a List of Possibilities / 3.8.1: |
A Simple "Split Window" Application / 3.8.2: |
Fundamentals of the JavaScript Language / 4: |
Capabilities of JavaScript / 4.1: |
Some Essential Terminology / 4.2: |
Structure of JavaScript Code / 4.3: |
JavaScript Statements / 4.3.1: |
Statement Blocks / 4.3.2: |
Comments / 4.3.3: |
Data and Objects / 4.4: |
Data Declarations and Variables / 4.4.1: |
Data Types / 4.4.2: |
Literals / 4.4.3: |
Case Sensitivity / 4.4.4: |
Objects and Methods for Input and Output / 4.4.5: |
String Methods / 4.4.6: |
Tokens, Operators, Expressions, and Statements / 4.5: |
Tokens / 4.5.1: |
Arithmetic Operators / 4.5.2: |
The Assignment Operator / 4.5.3: |
Shorthand Arithmetic/Assignment Operators / 4.5.4: |
The JavaScript Math Object / 4.6: |
Comparison Operators and Decision-Making Structures / 4.7: |
Relational and Logical Operators / 4.7.1: |
The if Construct (Branching Structures) / 4.7.2: |
The switch Construct / 4.7.3: |
Loop Structures / 4.8: |
Count-Controlled Loops / 4.8.1: |
Conditional Loops / 4.8.2: |
Using JavaScript to Change Values in Form Fields / 4.9: |
Solving the Quadratic Equation / 4.10: |
Rectangular Rule Numerical Integration / 4.10.2: |
Using Arrays in HTML/JavaScript / 5: |
Basic Array Properties / 5.1: |
Some Operations on Arrays / 5.2: |
Manipulating Stacks and Queues / 5.2.1: |
More about Array Methods / 5.2.2: |
Creating Two-Dimensional Arrays / 5.4: |
Using Arrays to Access the Contents of Forms / 5.5: |
Accessing values of type="text" Fields / 5.5.1: |
Accessing type="radio" and type="checkbox" Fields / 5.5.2: |
Accessing Multiple Options Chosen in |
Hiding the Contents of a JavaScript Script / 5.6: |
Checking IDs and Passwords / 5.7: |
Magic Squares / 5.7.2: |
JavaScript Functions / 6: |
The Purpose of Functions in Programming / 6.1: |
Defining JavaScript Functions / 6.2: |
Using JavaScript Functions With HTML Forms / 6.3: |
Passing Numerical Values to a Function / 6.3.1: |
Using Entire Forms as Input / 6.3.2: |
Using Arrays to Return Output Values / 6.3.3: |
Some Global Methods and Event Handlers / 6.4: |
Global Methods / 6.4.1: |
Using Event Handlers with Forms and Functions / 6.4.2: |
Recursive Functions / 6.5: |
Passing Values from One Document to Another / 6.6: |
Revisiting the JavaScript sort () Methods / 6.7: |
Dewpoint Temperature / 6.8: |
Loan Repayment Schedule / 6.8.2: |
Legendre Polynomials / 6.8.3: |
Array-Derived Pull-Down Menus / 6.8.4: |
Creating a "Password-Protected" HTML Document / 6.8.5: |
Creating a Server-Side Environment with PHP / 7: |
Getting Started with PHP / 7.1: |
Preventing Multiple Submissions from a Form / 7.2: |
Working with PHP / 8: |
Structure of PHP Scripts / 8.1: |
Calculations with PHP |
More About PHP File Input/Output / 8.3: |
Calculating Volumes of Solid Objects / 8.4: |
Processing .bmp Image Files / 8.4.2: |
Transforming and Displaying Images / 8.4.3: |
Self-Contained HTML/JavaScript/PHP Documents / 8.4.4: |
PHP Arrays / 9: |
Array Definition / 9.1: |
Array Sorting / 9.2: |
Stacks, Queues, and Line Crashers / 9.3: |
The Quadratic Formula Revisited / 9.4: |
Reading checkbox Values / 9.4.2: |
Building a Histogram Array / 9.4.3: |
Shuffle a Card Deck / 9.4.4: |
Manage a Data File / 9.4.5: |
Recursive insertion Sort / 9.4.6: |
Summary of Selected PHP Language Elements / 10: |
Data Types and Operators / 10.1: |
Operators / 10.1.1: |
Conditional Execution / 10.2: |
Case-Controlled Conditional Execution / 10.2.1: |
Loops / 10.3: |
Condition-Controlled Loops / 10.3.1: |
Functions and Language Constructs / 10.4: |
File Handling and I/O Functions / 10.4.1: |
String Handling Functions / 10.4.2: |
Math Constants and Functions / 10.4.3: |
Array Functions and Language Constructs / 10.4.4: |
Miscellaneous Functions and Constructs / 10.4.5: |
Using PHP from a Command Line / 11: |
Using Graphics with PHP / 12: |
Introduction / 12.1: |
Writing GD Graphics Applications for Displaying Data / 12.2: |
Getting Started / 12.2.1: |
Pie Charts / 12.2.2: |
Horizontal Bar Charts / 12.2.3: |
Vertical Bar Charts / 12.2.4: |
Line Graphs / 12.2.5: |
Summary of Some GD Graphics Functions / 12.3: |
Create and Destroy Images / 12.3.1: |
Draw Lines and Shapes / 12.3.2: |
Display Text / 12.3.3: |
Appendices |
List of Document Examples / A.l: |
Displaying Special Characters in an HTML Document / A.2: |
ASCII Character Codes / A.3: |
Strategies for Solving Computational Problems / A.4: |
Exercises |
Glossary |
Index |
Output Examples in Color |
Introducing HTML and JavaScript / 1: |
Introducing the Tools / 1.1: |
What Is an HTML Document? / 1.1.1: |
What Is JavaScript? / 1.1.2: |
How Do You Create HTML/JavaScript Documents? / 1.1.3: |
Some Typographic Conventions Used in This Book / 1.1.4: |