X52.9755 Lecture 8: Thursday, April 9, 1998

In-class examples

  1. Last week's example of changing the value of a property of an object.
  2. One of the students wrote Monday's child.
  3. I wrote a multi-way if on the board last week.
  4. Document has moved (the old way).
  5. Document has moved (the new way). Look at the status line before you click.
  6. 100 Bottles of Beer on the Wall
  7. The COLOR attribute of the <FONT> tag.
  8. The HEIGHT and WIDTH attributes of the <IMG> tag.
  9. An array of words.
  10. Nested loops.
  11. Last week, we made one cookie; this week, we'll make three. Uses arrays and for loops.
  12. Package statements into a function.
  13. Event handlers in a client-side imagemap
  14. List of the names of the event handlers:
    1. World Wide Web Consortium HTML documentation
    2. Netscape JavaScript documentation
    3. Flanagan, pp. 162-163.
    4. Wagner, p. 220.
  15. Event handlers in a form.

Style sheet

World Wide Web Consortium deprecates the <FONT> tag.

Helvetica


SIZE = 1
Pack my box with five dozen liquor jugs.
SIZE = 2
Pack my box with five dozen liquor jugs.
SIZE = 3
Pack my box with five dozen liquor jugs.
SIZE = 4
Pack my box with five dozen liquor jugs.
SIZE = 5
Pack my box with five dozen liquor jugs.

Roman


SIZE = 1
Pack my box with five dozen liquor jugs.
SIZE = 2
Pack my box with five dozen liquor jugs.
SIZE = 3
Pack my box with five dozen liquor jugs.
SIZE = 4
Pack my box with five dozen liquor jugs.
SIZE = 5
Pack my box with five dozen liquor jugs.