CS 290w
Assignment 2
DUE Friday, October 1, 1999 by 11:59 p.m.
Must use the turnin
program.
Advanced Reference Request form. (Total 40 pts)
- Modify your Reference Request form so that when a user clicks
the submit button, it brings up a confirm box asking if they really want
to submit their data. If they select "OK", then Netscape should proceed and
mail their data. If they select "CANCEL", then it should cancel the process.
After the user selects "OK" or "CANCEL", bring up a message in an alert box
telling them that their mail was either successfully sent or that the cancel was successful.
(20 pts)
- If the user clicks on the reset button, then bring up a confirm box
that asks if the user really wants to reset their data. If they select "OK"
then reset all form data. If they select "CANCEL", then don't reset form data.
After the user selects "OK" or "CANCEL", bring up a message in an alert box telling them
of their success.
(20 pts)
Writing the user's name to your Web page. (Total 10 pts)
- Ask the user for their name when the page loads. (5 pts)
- Write that name to your page. (5 pts)
Name Swapping. (Total 35 pts)
- Create two images, one with your first name and one with your last name.
(5 pts)
- Put the image with your first name on a page, and have it switch to the image with
your last name when the mouse is on the image. (15pts)
- Have the image switch back to the image with your first name when the
mouse is not over the image. (15 pts)
Javascript Pop up Navigator Window. (Total 15 pts)
- Open an HTML document in a Navigator Window using Javascript.
(5 pts)
- The Navigator window should have a width of approximately 370 pixels
and a height of 370. It should not have scroll bars, tool bars or a menu bar.
(5 pts)
- The HTML document opened in the Navigator should give some information
regarding you or your site.
(5 pts.)
Use the turnin command before Friday, October 1, 1999 11:59 p.m.
turnin -c cs290w -p project2 filename(s)
Total points possible: 100.