I've never done this exactly but, it should work. Depending upon where you load the dropbox from:
If it is from the framsets page, add this to the script on that page just below the window.onload statement:
Code:
window.onunload=dismissbox
I did a little testing with an alert box and the above seems unreliable but, might work for a frameset.
If you are loading the box from a page inside the frameset, insert this into that page's body tag:
onunload="dismissbox()"
for example:
Code:
<body onunload="dismissbox()">
The above method, for a page, passed the alert box test.
Bookmarks