Tuesday, November 07, 2006

for 11/14 .. javascript

Using the following page as a starting point :

http://multimedia.dvc.edu/web/monday/form.htm

develop a (minimum) 5 question quiz that will tell the user what questions they got wrong and right when they press the submission button.

You are free to experiment with other implementations of javascript to provide interactivity with forms...or to adapth the code in the above link to give more detailed results.

At the very least come to class with the quiz questions formated inside of a form tag so we can work on the javascript in class.

Sunday, November 05, 2006

for Election Day

Create a folder on your web site called "backgrounds". In it you should have an index.htm file that links to 5 different experiments with creating page backgrounds.

Possibilities include:

repeat
x-repeat
y-repeat

a style class like the one below:

.seriousbusinessman {
margin: 0;
padding: 0;
position: fixed;
float: left;
top: 0;
left: 0;
width: 1000px;
height: 800px;
background-image: url(??????????);
border: 0px solid #ff0000;
}

where the ????? is replaced by the path to an image file.

You can also use a style with the "background-position"
property to position a background along the bottom:

i.e.

body {
background-image: url(images/bg.jpg);

background-repeat: repeat-x;

background-position: bottom;
}

Each experiment should use a different image that is
appropriate to the method used.

Repeat: A folder in your root directory named "backgrounds"...
containing an images directory and an index file that links to 5
other html documents that experiment with 5 different backgrounds.