Ошибка метода windows.open () - PullRequest
0 голосов
/ 22 марта 2011

window.open() javascript, он отлично работает в других браузерах, но в случае ie-8 он показывает какую-то ошибку, например всплывающее окно.

Ответы [ 2 ]

0 голосов
/ 22 марта 2011
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.

(беззастенчиво скопировано с здесь )

0 голосов
/ 22 марта 2011

Возможно, вас блокирует всплывающее окно.

Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...