Using the YUI
This week you will adapt your existing website to use the YUI toolkit, then leverage YUI to add snazzy additional features.
See grading sheet. Your new use of YUI should be complex/sophisticated enough to justify the fact that this is a 2-week lab. Creativity/difficulty will count here: you can expect creative use of a complex element (or multiple simpler elements) to earn more points than a single YUI button added to your page.
2. Here is what you what you want to have when you are finished. Suggested plan of attach for getting there is below:
4. Ensure your page works with Firefox. Having it work on IE is encouraged but not required.
5. Ensure all your pages validate and that you have met all requirements.
NOTE: all HTML files must validate as XHTML without errors for full credit.
1) All of your files for Lab04 should be in a folder called "Lab04" (without the quotes) on the Web drive.
2) Your main page for Lab04 should be called "index.html" (without the quotes) and placed inside the folder Lab01.
3) All files must be complete and saved to your Web drive before you submit the hardcopy of your assignment. Do NOT modify your files after you have submitted your assignment.
4) Turn in the following hardcopy on or before the due date, stapled together in the following order (coversheet on top):
a) A completed assignment coversheet. Your comments will help us improve the course.
b) A completed grading sheet.
c) The first page of the output of the W3C validator, as run on the final version of your Lab04/index.html. This should show that your document correctly validated, but turn it in anyway if you can’t get your page to validate.
d) A printout of the source to your Lab04/index.html file (not the rendered page that you normally see with Internet Explorer/Firefox). Truncated lines are not acceptable – use Crimson Editor vice Notepad if needed for printing. You could also paste into Microsoft Word etc. if needed.
1) What URLs to use to get the YUI stuff? You can either use:
a) The copies direct from YUI, e.g, a URL like http://yui.yahooapis.com/2.8.2r1/build/menu/menu-min.js
The local copy of the latest YUI CSS and
To convert between the URLs given in the YUI documentation to a local URL, delete everything up to and including the “build” part of the address, then replace the beginning with “/Users/cs/lmcdowel/courses/it452/yui/”. For example, the URL
would turn into
and the debug version is
Very helpful CGI
module: Add the following to the top of your Perl programs, and all kinds
of errors will now appear in the browser instead of the browser replying just
use CGI::Carp qw(fatalsToBrowser warningsToBrowser);
Remember also that, for IT452, this is required for all