Contents


On-line Guides
All Guides
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems

How To Guides
Xen Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions

 

 

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. Published under the terms of the Open Content License Design by Interspire