X52.9755 Lecture 10: Thursday, April 23, 1998

In-class examples

  1. A document cannot write into itself after it has been completely loaded.
  2. But one frame of a window can write into another frame.
  3. View the same document
  4. Are you currently taking any medication?
  5. Open a new window displaying an existing file. Let the two windows deposit greetings in each other's status line.
  6. Open a new window and write a text/html document into it.
  7. Open a new window and write a text/plain document into it.
  8. Open a new window and write a image/x-xbitmap document into it. Here's the same document with image/x-xbitmap changed to text/plain for debugging.
  9. Draw a flag with loops and if statements.
  10. List the MIME types that the browser supports.
  11. Put a Java applet in a page of HTML.
  12. Documentation