I have a parent window that opens a new window.
if the new window is already open but minimized or behind the parent I want to bring the focus to that window. (bring it to the front)
Code:<script> if(newWin) // if the newWin exists... { newWin.focus; //bring it to the front } { nextWin=window.open('help_page.asp','newWin','status=no,resizable=yes,scrollbars=yes,location=no,left=170,top=200,width=700,height=570,menubar=no'); } </script> "
This seems logical but doesn't give me the results I want.
I get an error saying newWin is not defined...?
any suggestions are appreciated.
Thanks




Reply With Quote