window.open()
它在其他瀏覽器中工作正常,但在ie-8
的情況下,它顯示一些錯誤,如彈出。javascript.open()方法錯誤
-2
A
回答
0
您可能會被彈出式窗口攔截器阻止。
+0
是的,除了暗示用戶禁用彈出窗口之外,你無法通過代碼來控制它。 – 2011-03-22 05:29:27
0
window.open ("http://www.location.com", "mywindow","status=1,toolbar=1");
允許的參數如下
status The status bar at the bottom of the window.
toolbar The standard browser toolbar, with buttons such as Back and Forward.
location The Location entry field where you enter the URL.
menubar The menu bar of the window
directories The standard browser directory buttons, such as What’s New and What’s Cool
resizable Allow/Disallow the user to resize the window.
scrollbars Enable the scrollbars if the document is bigger than the window
height Specifies the height of the window in pixels. (example: height=’350′)
width Specifies the width of the window in pixels.
(無恥地從here複製)
相關問題
- 1. 在新窗口中運行Javascript.open
- 2. frame.dispose()方法錯誤
- 3. POST.has_key方法錯誤
- 4. GetExtension方法錯誤
- 5. 笨方法錯誤
- 6. autosizeColumn()方法錯誤
- 7. 錯誤onActivityResult方法
- 8. 方法錯誤500
- 9. 錯誤的方法
- 10. CompareTo方法錯誤
- 11. file_put_content()方法錯誤
- 12. async_write方法錯誤
- 13. beginSheetModalForWindow方法錯誤
- 14. java方法錯誤?
- 15. java方法錯誤
- 16. getCountry方法錯誤
- 17. Advise方法錯誤
- 18. Magento致命錯誤:訪問getModelInstance()方法的錯誤方法
- 19. 調用方法錯誤
- 20. Android onClick方法錯誤
- 21. 使用$ .getJSON方法錯誤
- 22. mapper.writeValue()方法中的錯誤
- 23. UserPrincipal.GetAuthorizationGroups()方法的錯誤
- 24. jquery沒有方法錯誤
- 25. 錯誤處理方法
- 26. 錯誤與VB ParseFileText方法
- 27. 調用方法的錯誤
- 28. jQuery的load()方法錯誤
- 29. Documents.Open方法拋出錯誤:
- 30. PriorityList - 入隊方法錯誤
你的意思是'window.open()'?請提供一些與您的問題相關的代碼。 – 2011-03-22 05:24:54
請儘可能提供一些代碼和一些截圖。 – 2011-03-22 05:26:52
文字「有些錯誤」不會削減芥末。你需要明確地告訴我們_everything._ – paxdiablo 2011-03-22 05:31:08