Its time to set up an example environment that we can use throughout the remainder of the chapter. This is the same idea as the previous chapter. However, if you walked through the examples in the previous chapter, should start with a new copy of the theme CSS files here. The changes made in the previous chapter might interfere with what we're trying to illustrate here:
If you haven't already, download and extract the jQuery UI package into a directory called
jqueryui
from http://jqueryui.com/download.At the same level as the
jqueryui
directory, create a newindex.html
file with the following content:<html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Transforming Interaction States</title> <link href="jqueryui/development-bundle/themes/base/jquery.ui.all.css" rel="stylesheet" type="text/css" /> <script src="jqueryui/js/jquery-1.5.x.min.js" type="text/javascript"><...