Posted by member 25290 on 2003-04-16 20:26:35 link

Hi folks
I'm from Brazil and having the same problem with some sites at the institution I work for. They use a javascript go() function. The problem is that after executing window.open it looses the focus and the page is loaded in the same browser window that submitted it. Is there any workaround I can use? I loved to hearing from LiteStep again. I used it sometime ago with Win98. I would love to use it at my job and I cannot change the javascript code because it's working on all browser versions (Linux and Windows) we've tested so far.
Here follows the function text:
function go ( )
{
formPage = document.formPage;
wOpen = window.open( "", "new_page", "top=10,left=10,height=530,width=785,menubar=no,location=no,resizable=yes,scrollbars=yes,status=yes" );
setTimeout("formPage.submit(); wOpen.focus();",200);
}