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!

Popup window problem

Status
Not open for further replies.

4345487

Programmer
Dec 31, 2002
132
US

Hi,

I have a page with a link to open a popup window created with JavaScript I will insert the code below it works OK in IE6 and FireFox but when I run it in IE7 the popup window always opens behind the parent window did anybody else have this problem.

Thanks with any help.

// This function calls the popup window.
function searchDivisionList(url)
{
var winId=window.open("",url,"width=440,height=640,menubar=no,location=no,toolbar=no,status=no,directories=no,resizable=no,left=550,top=0");

//set focus to the new window
winId.focus();
}

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top