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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

New window name and focus

Status
Not open for further replies.

Ineedjava

Technical User
Apr 14, 2001
21
US
I have a question concerning this javascript code that is used to create a pop-up window to display photos:

newWind=window.open("","winnam");
output=&quot;<HTML><BODY> blah blah blah </BODY></HTML>&quot;
newWind.document.write(output);
newWind.document.close();
newWind.focus();

The focus command for the popup window works in all browser versions except in the new IE browser for AOL under Windows XP. In that browser version, the popup window doesn't get the focus and ends up behind the main browser window. Any suggestions to correct this?

Thanks!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top