A "dependent" popup, a concept only recognized by Netscape, means that the popup closes when its opener window closes. Make the popup dependent by setting the
dependent property to
yes in the
open() command. For example, the following command in the
creates a dependent popup. If you use Netscape, try opening the popup, then closing this window.
window.open(href, windowname, 'width=400,height=150,dependent=yes,scrollbars=yes');
which gives us
In Netscape for Windows, when a popup is dependent it does not get an icon in the task bar (the strip along the bottom of the screen).