aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes Pop-up getting minimized Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Pop-up getting minimized" Watch "Pop-up getting minimized" New topic
Author

Pop-up getting minimized

Luke Zechariah
Ranch Hand

Joined: Sep 27, 2005
Posts: 123
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

Joined: Nov 08, 2001
Posts: 15376
    
    6
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

Joined: Sep 27, 2005
Posts: 123
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

Joined: Sep 27, 2005
Posts: 123
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Pop-up getting minimized