ChrisB: open und focus

Beitrag lesen

Hi,

var test = window.open("test1.html", "");
test.focus();

Im FF wird das Fenster im Vordergrund geöffnet, im IE nicht. Wie kann man das im IE hinbekommen?

MSDN - focus method:
"Windows Internet Explorer 8 and later. The focus method no longer brings child windows (such as those created with the open method) to the foreground. Child windows now request focus from the user, usually by flashing the title bar. To directly bring the window to the foreground, add script to the child window that calls the focus method of its window object."

MfG ChrisB

--
“Whoever best describes the problem is the person most likely to solve the problem.” [Dan Roam]