Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Restore page that is minimised

Status
Not open for further replies.

Shazza

Technical User
Aug 21, 2000
38
NZ
I am currently opening a page with the following code,

function ShowDetails(value)

{


var filename

window.parent.open( "ProSoftFileDetails.asp?id=" + value, filename)


}

This successfully achieves my goal of not creating a new window each time the function is called however if the page is minimised instead of closed, when the next page is called by this function it is called successfully but remains minimised, this causes confusion (understandably) for the users as they do not understand they have to restore the window concerned. This is actually an DHTML question I guess but ...hopefully someone can help.
Thanks in advance
 
You need to set the new window to focus whenever it loads a new page.

newWin = open(...);
newWin.onload = someAction();
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top