我正在使用Javascript的window.open在用户单击时打开一个指定宽度和高度(760x581)的浏览器窗口,在Internet Explorer,Safari和Firefox上正常工作,但是Google Chrome出现问题。在其他浏览器中,高度正确地用作内容的高度,但在Google Chrome中,它使实际的浏览器窗口高度为581像素,而不是内容高度。有没有办法解决这个问题?
<a href="http://domain.com/example.php" onclick="window.open('http://domain.com/example.php', '', 'width=760, height=581, top=15, left=15, toolbar=0, menubar=0, scrollbars=1, resizable=1, copyhistory=0, location=0, directories=0, status=1, titlebar=1, personalbar=0');return false">click here</a>