我正在使用javascript的window.open打开用户单击指定宽度和高度(760x581)的浏览器窗口,并且这可以在Internet上正常工作资源管理器,Safari和Firefox,但谷歌浏览器给我的问题。在其他浏览器中,正确使用高度作为内容的高度,但在Google Chrome浏览器中,实际浏览器窗口高度为581像素,而不是内容。有没有办法来解决这个问题?window.open高度在谷歌浏览器不同于其他浏览器
<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>
作为一个便笺,'点击此处'几乎不是一个好的链接文本。 ;) – 2010-08-11 20:21:04
哈哈很明显,只是一个例子;-) – 2010-08-11 20:22:21