Larger Text Normal Text Smaller Text

IT 180 Web Development I, Fall 2009

 

Lab Exercise 16: Play with Pictures

For class session on 11/04

Be sure to open the Error Console and clear the console messages if necessary.

Make a copy of Lab 16 start page so you can edit it.

Also save copies of all the five images that are in the lab 16 folder (notice that two are .gif and three are .jpg.).

Task 1

Add the script tag necessary for you to use the swap_pic library function that was covered in class.

Task 2

Write an event handler of the click event on the form button. It should change the image to the one determined by the text entered by the user.

Task 3

Write event handlers for the mouseover and mouseout events on the red picture of a button.

Submit your work using Blackboard

Comments to: chang@hood.edu
Last Modified: 02 November 2009. 05:57

 

Hood College Department of Computer Science: Course materials © 1997-2007 by Elizabeth Chang.


 
Valid CSS! Valid XHTML 1.0!