HTML and CSS Reference
ora inG a JaV
a Ja V
a Ja V V
be applied to code developed by other programmers. Over the past years, an ever-growing commu-
nity of developers have created and published a very robust universe of freely available open source
Interface (YUI), Prototype, MooTools, script.aculo.us, and jQuery to further extend the power of
recommend that you find a framework you like and use it exclusively, at least for
a while. This approach should help you code more efficiently with fewer errors;
two-step process. First, you link to the external file or files that make up the library. You can either
download the framework and incorporate it into your site or, if available, create an absolute link to a
call just the function you need and pass any arguments that relate to your HTML and/or CSS code.
Take a look at an example that uses the jQuery framework to fade in an image when the page loads.
http://jquery.com and download the latest version, which, as of this writ-
ing is version 1.4.2.
Two different versions of jQuery are available, one for production and the other
for development. The production version is compressed and not readable. The
development version can be examined in any text editor. When you're just start-
ing out, I recommend you download the development version.
system, preferably in a scripts folder of your site root.
work functions work by identifying the page element you want to affect, typically through use of the
id or class attribute. In this example, there is a photo on the page with the id of fadePhoto :
<img id=”fadePhoto” src=”/images/DebraDance.jpg” width=”613” height=”685” />