Mombu the Programming Forum sponsored links

Go Back   Mombu the Programming Forum > Programming > Avoid re-creation of child window
User Name
Password
REGISTER NOW! Mark Forums Read

sponsored links


Reply
 
1 27th April 14:33
pef
External User
 
Posts: 1
Default Avoid re-creation of child window



Hi all.

Is it possible to:
1. open a pop-up window (child), when loading a page (parent)-
window.open(....)
2. reload the parent without re-creating the child

I short the my actual JS-code says:

if(!window.wo || window.wo.closed) {
wo = window.open ( ....);
wo.do***ent.write(....);
....
....
wo.do***ent.close();
}
else {
window.wo.focus ();
}

But everytime I reload the parent-page, the pop-up window re-creates.
Therefore I wonder if there's a global variable, that holds all the
browsers childwindows (i.e. an array), that can be accessed to determ if
the child is already open.

Regards
Peter
  Reply With Quote


  sponsored links


Reply


Thread Tools
Display Modes




Copyright © 2006 SmartyDevil.com - Dies Mies Jeschet Boenedoesef Douvema Enitemaus -
666