This is a content box, not a menu. You could make a menu be its contents. Now, to drop on exit (the technical term is 'onunload'), would be pointless but, it will be hard to explain why unless you already know. I'll try:
This box is a part of the page that it drops down over. When the page goes away, so does the box.
That was easier than I thought, please accept my apologies. Anyways, to get the effect of having this box drop down on exit of one page, have it drop down when the next page loads. To get it to disappear when a link on it is clicked, just don't have a box on the page that the link goes to. If the link doesn't load a new page into the current window, give the link an onclick event equivalent to the close box command, ex:
Code:
<a href="some.htm" target="_blank" onClick="dismissbox();return true">Click to Launch Some Page in a New Window and Close this Box</a>
Bookmarks