IE 10: Window.open() Javascript method behaves differently in IE 10 browser
-
jueves, 03 de mayo de 2012 17:31
It has been observed that the window.open() JavaScript method is behaves differently in IE 10 browser.
Method: Window.opne()
Purpose: To open a page in new browser window.
Syntax:
window.open(URL, name, specs, replace)
Parameter Details:
URL: URL of the page to open.
Name: name of the page
Specs: Comma separated list of items like width, height etc.
Replace: To add current document in history list or not.
All above parameters are optional.
Detail Analysis:
Following are the detail analysis points of IE8 and IE 10 browser:
Method Scenarios
Behavior in IE 8
Behavior in IE 10
window.open(‘Test.html’, ‘MyPage’, ‘width=200,height=100')
Open page in new browser window. Expected behavior.
Open page in new browser window.
Expected behavior.
window.open(‘Test.html’, ‘MyPage’)
Open page in new browser window.
Expected behavior.
Open page in new browser Tab.
Not Expected behavior.
It should be open in new browser window.
Browser version: Windows Internet Explorer 10 Consumer Preview Version 10.0.8250.0
So in second scenario in case of IE 10, new browser window should be open.
I just wanted to know whether it is a known issue of IE 10 browser? any help in this regard is really appreciated.
Thanks,
Nitin
Todas las respuestas
-
jueves, 03 de mayo de 2012 21:44
Scripted windows are controled by your popup blocker and security zone settings. Some third-party addons have their own popup blockers which can affect outcomes for scripted windows.Rob^_^
- Propuesto como respuesta doctoroftypeMVP jueves, 03 de mayo de 2012 21:44
-
viernes, 04 de mayo de 2012 13:21
Rob,
Its a fresh machine and there is no any third party add on running on it.
Thanks,
Nitin
-
miércoles, 09 de mayo de 2012 1:54Moderador
Hi, this occurs due to IE10 setting about pop-up, the default setting is “Let Internet Explorer decide how pop-ups should open”, if you want to open the page in a new window, you can open IE10 option, under “General”, “Tabs”, “When a pop-up is encountered”, please select “Always open pop-ups in new window”.
- Marcado como respuesta Allen Li - MSFTModerator viernes, 25 de mayo de 2012 2:32
-
domingo, 25 de noviembre de 2012 2:21sorry is there any solution for that thats code open all tabs in new window but in ie over metro Works well

