MMDT1022 HTML II and Javascript
Week 10


Week 10

Read chapter 9 in the book.  This chapters is about Handling Events.


Lab 10

Do: 

Part A:  Modify Scripts 9.19-9.20 from the book so that it displays the value of a pressed key from the code that was sent to you via email to print the keycode to the screen.  You can get the code directly from the book website.  Run the script in as many browsers as possible (at least 3) , and report back (write your results in comments in your code printout) what the values are for numeral "0", lower case "a", upper case "A", up arrow, down arrow, left arrow, and right arrow.

Part B:  Enhance the script further so that pressing the up arrow starts the slideshow from the beginning.  Use your own graphics (at least 6).

Grading Criteria Points
15
A folder created in the site root labeled "lab10" 1
Part A as described above. 6
Part B as described above. 6
Assignment in on time. 2