• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

restore minimized window

 
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hai:
I have opened popup window from main window. i have minimized my popup window. Now the thing that when i click the poopwindow again from main window that time already minimzed window will restore.

i mean when ever click the popup window it will open but if u have already opend that time the minimized window should be restore.

can u give a reply as soon as possible

Thanks & Regards
Deva
 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

Try using the name attribute in the window.open function
window.open(url,name)

If u call window.open with the same name, it will use the already opened window.

However, this doesnt seem to work on Netscape 8.0 which uses tabbed windows within the browser.

Cheers
 
deva siva
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
thanks for your immediate reply, but i have called popup window using window.open(url,...) it is working fine.

my thing is that, suppose we have not closed the popup window we just minimized the popup window.(it is opend)

now again i call the popup window on mainwindow. that time the popup window is already opend. so when u click again popup window that time the minimized window should be restore on desktop.

bye
dev
 
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You shuold store the window.open into a variable

var winPop = window.open(.....);

then you can use that variable

winPop.focus();

Eric
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic