IE 10: Window.open() Javascript method behaves differently in IE 10 browser
-
2012년 5월 3일 목요일 오후 5: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
모든 응답
-
2012년 5월 3일 목요일 오후 9: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^_^
- 답변으로 제안됨 doctoroftypeMVP 2012년 5월 3일 목요일 오후 9:44
-
2012년 5월 4일 금요일 오후 1:21
Rob,
Its a fresh machine and there is no any third party add on running on it.
Thanks,
Nitin
-
2012년 5월 9일 수요일 오전 1:54중재자
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”.
- 답변으로 표시됨 Allen Li - MSFTModerator 2012년 5월 25일 금요일 오전 2:32
-
2012년 11월 25일 일요일 오전 2:21sorry is there any solution for that thats code open all tabs in new window but in ie over metro Works well

