Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Pop-up getting minimized

 
Luke Zechariah
Ranch Hand
Posts: 128
  • Mark post as helpful
  • send pies
  • 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.
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • 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: 128
  • Mark post as helpful
  • send pies
  • 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: 128
  • Mark post as helpful
  • send pies
  • 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic