Popup Windows: dependent
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
popup script
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
this popup.
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).
Copyright 1997-2002 Idocs Inc. Content in this guide is offered freely to the public under the terms of
the Open Content License and the Open Publication License.
Contents may be redistributed or republished freely under these terms so long as credit to the original creator and
contributors is maintained.
InMotion Web Hosting Customer Support
M-F 8am - 7pm PST
213-239-0050
More information can be found at the
InMotion Hosting Main Site
|
|
|