Basically here is my code (Authenticator.jsp):
window.location.replace("Login.html"); // replace method also takes care of history
window.open ("Main.html", "Welcome logged in user");
Expected behaviour:
- We basically open the Main.html in a popup once a user has logged in.
- The current window must point to Login.html and main should open in a popup.
Actual behaviour:
- Main.html is opened in a popup
- Authenticator.jsp switches back to Login.html, BUT this Window gets focus !! and is shown in Front of my popup !!
Is there a solution for this ? This behaviour occurs in IE6 (I havent checked IE7 and IE8), it does not occur in Firefox and chrome