• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Pop-up getting minimized

 
Ranch Hand
Posts: 146
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
We are having an application where we are having a pop-up(not a javascript popup but an IE pop-up). This pop-up confirms "yes" or "no". The pop-up is invoked fine. But for some reason after the pop-up is invoked, immediately it gets minimized. Any clue on how make the small window show up(without getting minimized) on getting invoked.
Thank you very much in advance.

Lk.
 
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
An IE pop up. Never heard of such a thing! You talking about window.confirm? Modal window?

Show us the code of this pop up.

Eric
 
Luke Zechariah
Ranch Hand
Posts: 146
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What I meant by IE pop-up window was a really jsp page. Sorry for the confusion. This jsp page is getting minimized. But I found a way:

In the new window, I added this code.

window.opener.blur();
window.focus();

Thanks Eric.

Luke.
 
Luke Zechariah
Ranch Hand
Posts: 146
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What I meant by IE pop-up window was a really jsp page. Sorry for the confusion. This jsp page is getting minimized. But I found a way:

In the new window, I added this code.
<BODY oload="restoreScr();">

function restoreScr()
{
window.opener.blur();
window.focus();
}

Thanks Eric for the reply.

Luke.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic