[thelist] Bringing windows to the foreground with javascript

Link, Jeff R Link.Jeff at emeryworld.com
Thu, 20 Jan 2000 21:54:56 -0000


That works, but an easier solution would be to focus the window after
opening it...

var newWin =
window.open('','examlpe','scrollbars=yes,resizable=yes,width=500,height=350'
);
  newWin.document.write(output);
  newWin.document.close();
  newWin.focus();

If this is wrong, somebody *please tell me* because this is how I've been
doing it. 

~jeff link

-----Original Message-----
From: Bart Johnston [mailto:00217289@bigred.unl.edu]

I did find manage to find a solution though, right after I sent my question
to the list (of course).  For those who may be interested I added this code
to each of the glossary definitions.

<body onload="this.window.focus();return true;">

works like a charm...