-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating
jQuery 2.0 Development Cookbook
By :
In the previous recipe, we created a basic website that would allow you to provide content to a user and update it manually relatively easy. In most situations, this would not be enough. Most websites today rely on some form of database to provide them with rich, new content on a regular basis, and it should be no different with mobile websites. This recipe will show you how to use PHP with jQuery Mobile to create dynamic pages with content served from a web server.
You are going to need to create the following directory structure in the web root of your web server. In the following figure, www is the web root; this may be different for you:

In the web root of your web server (www), create an includes folder and the files index.html and categories.php. Within the includes folder, create a subfolder named jquery-mobile and ensure all the jQuery Mobile library files have been copied into it. Also, within the includes folder, create script.js and...
Change the font size
Change margin width
Change background colour