The onLoad and onUnload Methods


This page displays a "hello" dialog when you load it, and a "goodbye" dialog when you unload it. Annoying, isn't it?
This is done through event handlers specified in this document's <BODY> tag. Aside from that tag, the rest of the document doesn't affect the dialogs.