How can I make certain a window will "come to the front" when it is loaded?

Put this as early in the <head> of the page as possible:

<script>
self.focus();
</script>

Alternately you can add onload="self.focus();" to the body tag, like this:

<body onload="self.focus();">

As soon as the window is fully loaded, it will "take focus" and move in front of any other open windows.

Close