-
Book Overview & Buying
-
Table Of Contents
jQuery 1.3 with PHP
By :
In every chapter of this book, I will provide a few code examples. If you wish to try them out, you will need to replicate the test environment I'm using here.
On my test server, my directory layout (within the public_html directory) is like this:
./php_and_jquery ./php_and_jquery/jquery.min.js ./php_and_jquery/jquery-ui.css ./php_and_jquery/jquery-ui.min.js ./php_and_jquery/1-tests ./php_and_jquery/2-contextual_help [... others from various chapters ...] ./php_and_jquery/ckeditor ./php_and_jquery/images ./php_and_jquery/jquery-validate [... other plugins ...]
You can see that there's a common theme—everything has its own subdirectory. The jQuery library is kept in the root directory, ./php_and_jquery/, along with the jQuery UI library (when we use it). We will discuss where to get these from in Chapter 2, Quick Tricks.
Here is the root directory of my own test server. It shows the libraries we will use throughout the book, and two test directories (9-5 and 9-4):

When creating your own test server, it should end up looking like this.
You can start out with the empty directories. Each chapter will explain what new files to download and where to get them from.
Each of the examples has a number of screenshots, so you can verify your own tests against what my tests display.
Change the font size
Change margin width
Change background colour