Assignment 4 – Due February 25th, 2009
Must be submitted to WebCT to receive credit

This assignment will be out of 1000 possible points.
You will be modifying a javascript program. Javascript is a powerful tool which works with browser software to add buttons, menus, etc.

PLAY with the web page before you edit it
READ the web page source before you edit it

There are MANY comments in the file.
The comments describe what statements are doing.

This homework should work in the following web-browsers: Internet Explorer, Firefox, and Safari.
If you want more information about javascript, visit http://www.htmlgoodies.com.

You will need to add your name and login so we know who you are: Use a text editor (notepad or textpad) (100 points)

You will need to add the current date – which should update to reflect whatever day it is when viewed. (100 points)

 

Modify the file so that it is possible to say two more things

The pulldown menu only shows one item at a time. I would like to see two items displayed at a time. (100 points)

The textbox for the NAME should be lined up with the menu below it. Add spaces to push the textbox to the right (100 points)

There is a link which points to my web page, it has several problems which you will fix. The link is the text which says Place your mouse on and off of this

·        When the mouse first hovers over the text, the background will turn yellow.  Make it turn pink instead.

·        After moving the mouse off the text, the background remains the same color.  Alter this so that moving the mouse off the text changes the background to blue. (100 points)

·        The command for turning the background blue works the same way as the code that changes it to yellow (or pink), except it reads “onMouseOut” instead of “onMouseOver” (100 points)