I need to to open a new window in the background with JavaScript, and make sure the original is stil
Posted
by IsaacL
on Stack Overflow
See other posts from Stack Overflow
or by IsaacL
Published on 2010-02-02T02:04:56Z
Indexed on
2010/05/26
1:41 UTC
Read the original article
Hit count: 222
I have a window I'm opening with a Javascript function:
function newwindow()
{
window.open('link.html','','width=,height=,resizable=no');
}
I need it that once the new window opens that the focus returns to the original window. How can I do that? And where do I put the code - in the new window, or the old one? Thanks!
© Stack Overflow or respective owner