HTML, XHTML and CSS All-In-One for Dummies - Andy Harris [3]
Introducing event-driven programming
Creating the XHTML form
Using GetElementById to get access to the page
Manipulating the text fields
Writing to the Document
Preparing the HTML framework
Writing the JavaScript
Finding your innerHTML
Working with Other Text Elements
Building the form
Writing the function
Understanding generated source
Book IV: Chapter 6: Getting Valid Input
Getting Input from a Drop-Down List
Building the form
Reading the list box
Managing Multiple Selections
Coding a multiple selection select object
Writing the JavaScript code
Check, Please: Reading Check Boxes
Building the check box page
Responding to the check boxes
Working with Radio Buttons
Interpreting radio buttons
Working with Regular Expressions
Introducing regular expressions
Using characters in regular expressions
Marking the beginning and end of the line
Working with special characters
Conducting repetition operations
Working with pattern memory
Book IV: Chapter 7: Animating Your Pages
Making Things Move
Looking over the HTML
Getting an overview of the JavaScript
Creating global variables
Initializing
Moving the sprite
Checking the boundaries
Reading Input from the Keyboard
Building the keyboard page
Overwriting the init() function
Setting up an event handler
Responding to keystrokes
Deciphering the mystery of key codes
Following the Mouse
Looking over the HTML
Initializing the code
Building the mouse listener
Creating Automatic Motion
Creating a setInterval() call
Building Image-Swapping Animation
Preparing the images
Building the page
Building the global variables
Setting up the interval
Animating the sprite
Preloading Your Images
Movement and swapping
Building the code
Defining global variables
Initializing your data
Preloading the images
Animating and updating the image
Moving the sprite
Book V: Server-Side Programming with PHP
Book V: Chapter 1: Getting Started on the Server
Introducing Server-Side Programming
Programming on the server
Serving your programs
Picking a language
Installing Your Web Server
Inspecting phpinfo()
Building XHTML with PHP
Coding with Quotation Marks
Working with Variables PHP-Style
Concatenation
Interpolating variables into text
Building XHTML Output
Using double quote interpolation
Generating output with heredocs
Switching from PHP to XHTML
Book V: Chapter 2: PHP and XHTML Forms
Exploring the Relationship between PHP and XHTML
Embedding PHP inside XHTML
Viewing the results
Sending Data to a PHP Program
Creating a form for PHP processing
Receiving data in PHP
Choosing the Method of Your Madness
Using get to send data
Using the post method to transmit form data
Getting data from the form
Retrieving Data from Other Form Elements
Building a form with complex elements
Responding to a complex form
Book V: Chapter 3: Control Structures
Introducing Conditions (Again)
Building the Classic if Statement
Rolling dice the PHP way
Checking your six
Understanding comparison operators
Taking the middle road
Building a program that makes its own form
Making a switch
Looping with for
Looping with while
Book V: Chapter 4: Working with Arrays
Using One-Dimensional Arrays
Creating an array
Filling an array
Viewing the elements of an array
Preloading an array
Using Loops with Arrays
Simplifying loops with foreach
Arrays and HTML
Introducing Associative Arrays
Using foreach with associative arrays
Introducing Multidimensional Arrays
We’re going on a trip
Looking up the distance
Breaking a String into an Array
Creating arrays with explode
Creating arrays with preg_split
Book V: Chapter 5: Using Functions and Session Variables
Creating Your Own Functions
Rolling dice the old-fashioned way
Improving code with functions
Managing variable scope
Returning data from functions
Managing Persistence with Session Variables
Understanding