弹出窗口问题 'width = wid, height = hei, top = 0, left = 0, toolbar=1,location=1,directories=1,status=1,menubar=1,scrollbars=1,resizable=1,titlebar=1'写得有问题。变理和常量都用''引起来是什么意思? 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 window.open("http://www.baidu.com", '', "width =" + wid + ", height = " + hei + ", top = 0, left = 0, toolbar=1,location=1,directories=1,status=1,menubar=1,scrollbars=1,resizable=1,titlebar=1" ) <script>var wid = Math.ceil(screen.width);var hei = Math.ceil(screen.height - 30);//alert(wid);//alert(hei);window.open('', '', 'width ='+ wid+', height ='+ hei+', top = 0, left = 0, toolbar=1,location=1,directories=1,status=1,menubar=1,scrollbars=1,resizable=1,titlebar=1' )</script>测试通过 <html><head><script language="javascript">function checked(){window.open("http://www.google.com","","height=1204,width=800")}</script></head><body onload="checked()"></body></html> 网站制作声音播放问题 刚学到正则这块,大家帮我看下这段js代码 求教, 哪位高手帮忙看一下smartupload的问题啊 咨询一个Jquery绘图插件 HighCharts 使用的问题? B/S模式下计算客户端文件的hash值 关于Jsp几个简单问题 如何把整个页面中的所有元素放入一个动态创建的<div>或<span>中?????????????? 根据checkbox状态改变按钮是否可用 如何在下拉列表中放入图片,请高手赐教,谢谢··· 怎么来测试正则表达式 document.open()
var wid = Math.ceil(screen.width);
var hei = Math.ceil(screen.height - 30);
//alert(wid);
//alert(hei);
window.open('', '', 'width ='+ wid+', height ='+ hei+', top = 0, left = 0, toolbar=1,location=1,directories=1,status=1,menubar=1,scrollbars=1,resizable=1,titlebar=1' )
</script>测试通过
<head>
<script language="javascript">
function checked()
{
window.open("http://www.google.com","","height=1204,width=800")
}
</script>
</head>
<body onload="checked()">
</body>
</html>