这个功能感觉很讨厌啊,恶意死循环弹窗就得关闭浏览器,感觉很蠢啊啊啊啊,不喜欢javascript。
2015-06-15
最新回答 / qq_丅雨迗_0
window.open('http://www.imooc.com','width=400,height=500,menubar=no,toolbar=no')
2015-06-14
最新回答 / qq_驰兮_0
function changewh(){ var myobj=document.getElementById("txt"); myobj.style.height="700px"; myobj.style.width="800px"; }
2015-06-14
<script type="text/javascript"> ... </script>
应该放在 <p id="con">... </p> 之后才对吧!
如果放到head中javascript怎么找到"con"呢?
应该放在 <p id="con">... </p> 之后才对吧!
如果放到head中javascript怎么找到"con"呢?
2015-06-14
function openWindow()
{
var judge=comfirm("是否打开网站?");
if(judge==true)
{
var addr=prompt("打开网址:","http://www.imooc.com/");
window.open(addr,'_blank','width=400px','height=500px','menubar=no','toolbar=no');
}
}为什么无法运行呢?
{
var judge=comfirm("是否打开网站?");
if(judge==true)
{
var addr=prompt("打开网址:","http://www.imooc.com/");
window.open(addr,'_blank','width=400px','height=500px','menubar=no','toolbar=no');
}
}为什么无法运行呢?