View Full Version : Close other popups
06-22-2009, 10:56 AM
Is there anyway to close all popups in a html script?
06-22-2009, 11:46 AM
Store the name in an array when you open the popups, and loop through the array to close all open windows.
document.activePopup = new Array;
"The whole aim of practical politics is to keep the populace alarmed (and hence clamorous to be led to safety) by menacing it with an endless series of hobgoblins, all of them imaginary." - H.L. Mencken 1880-1956, American Editor, Author, Critic, Humorist
Powered by vBulletin® Version 4.2.2 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.