• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 608
  • Last Modified:

Bring Window to Front

I am using a small window to control another window, I can force a change of page into the main window but I then need to bring this to the front is this possible.

I think that it is something to do with focus but I cannot get this to work.

Many Thanks.

1 Solution
Michel PlungjanIT ExpertCommented:
I answered this in the other message...

msg = window.open(...........)
if (msg.focus) msg.focus();

alternatively put
if (self.focus) self.focus();
else alert('FOCUS!');
in any script in the html you load in the new window
The alert is for MSIE 3.x


Featured Post

The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now