I need to open a new window and have the user finish with that window before going back to the parent. I tried the showModalDialog approach but it has too many problems. I used to have a script that would do wwhat I wanted but it dosen't seem to be working:
the parent's code:
and in the parent's body tagCode:var taiWin=0 function openchildwindow() { var intWidth = document.body.offsetWidth / 2 - 225; var intHeight = document.body.offsetHeight / 2 - 200; taiWin= window.open("test.asp","TAI") } function keepchildontop(){ if(taiWin){ taiWin.Focus(); } }
but that isnt working. Any suggestions?Code:<BODY BGCOLOR="#<%= Session("BGColor") %>" TOPMARGIN="0" MARGINHEIGHT="0" MARGINWIDTH="0" LEFTMARGIN="0" onFocus="keepchildontop()">
Thanks in advance,
Michael




Reply With Quote