Microsoft
Software
Hardware
Network
Question : Opening a new window in Firefox does not behave the same as in IE
I have two html files. The first file contains a link that when clicked, opens a new window. When I test the page in IE, the new window opens in a new browser window. When I test the page in FireFox, a new tab is opened and displays the current page and a new window opens in a new browser window but it does not appear on top. So there are two problems to fix:
1. How to prevent Firefox from opening the same window in a new tab of the current browser.
2. How to bring the new browser window that is opened to the top.
Any help would be greatly appreciated since I have to have this demo working by tomorrow and I'm baffled by this.
Another note: I'm using the
tag so I can create a clickable link of text but I'm using javascript to open the window so I can control what the window looks like.
Code Snippet:
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19:
file1.html ... ...
File 2
...
Open in New Window
Select All
Answer : Opening a new window in Firefox does not behave the same as in IE
The new tab is because of the HTML target attribute. In your case, its because of this:
target="_blank"
which is affected by the user preference setting (New pages should be opened in: a new tab);
The new window is due to a javascript window.open:
window.open
which is not "tied" to the user preferences.
Random Solutions
How to pass multiple openargs
File Replication Solution for an Offsite File Server
Voltage Sensor [CPU VRM Voltage] detected a failure
getting error "Object Required"
Do I move system mailboxes when migrating to Exchange 2007 from Exchange 2003
SQL Server 2005 Logins Auditing
SQL Server 2000 Backup File Size is Excessive
Run VBA code for each record in a tabular Access form (Dynaset)
mail server
Differential backup job failed.