我试图打开一个新窗口,出于某种原因,滚动条不会出现在Firefox或IE中,但在Chrome浏览器中可以正常工作& Opera。不会出现在新窗口中的滚动条
这里的按钮上的JavaScript代码(从PHP脚本), 及以下,如果它是更具可读性,也就是输出HTML:
window.open('".BASE_URL."utils/viewProfile.php?key=".$key."',null,'width=1280,height=1024,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbar=1,resizable=1')"
<input class="input-button btn_generic_nav6up" type="button" onclick="window.open('https://domain.com/utils/viewProfile.php?key=8UjKKydCyTx1V7E2A0xklA%3D%3D',null,'width=1280,height=1024,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbar=1,resizable=1')" value="view profile" />
它在IE中工作,但在IE中不起作用? – slf 2009-09-28 15:10:32
oops。那是一个错字。感谢您指出,我现在纠正它。 – GSto 2009-09-28 16:45:38