已采纳回答 / Ready_鞠
window.open('http://www.baidu.com','weight=200px','height=800px','menubar=no','toolbar=no') 这句话出问题,首先宽度的单词写错了,还有就是后面几个参数的写法错了,后面四个参数是写在同一个''下的,各个参数用逗号隔开,正确如下window.open('http://www.baidu.com','width=200px,height=800px,menubar=no,toolbar=no')
2016-10-10
已采纳回答 / 慕粉3949715
window.open(url,'_blank',width=400','height=500','menubar="no"','toolbar="no"');中url修改为n_open;width=400','height=500','menubar="no"','toolbar="no"'必须放在一个“”下面。
2016-10-10
已采纳回答 / 永燃的瞳术师楚子航
document.write("hello"); document.getElementById("p1").style.color="blue";
2016-10-10
已采纳回答 / Ready_鞠
function Wopen() { var b=confirm("是否打开"); if(b==true) { var a =prompt("请输入:http://www.imooc.com/"); if(a!=null)//此处 { window.open('http://www.imooc.com','_blank','width=400,heith=500,me...
2016-10-09
已采纳回答 / Ben2613
如果是iframe布局,指的是最外层window(父级)<html><body> <p>这是最外层的window <iframe src="http://www.baidu.com" width="200" height="200" style="float:right"> <!-- 这是里层的window --> </iframe> </p&...
2016-10-09
已采纳回答 / 慕粉3795432
如果点击的按钮是“确定”,那么mymessage为true,则mymessage==true生效,即显示“你是女士”;取消即是mymessage为false。
2016-10-09
已采纳回答 / 慕粉1465360965
<!DOCTYPE HTML><html><head><meta http-equiv="Content-Type" content="text/html; charset=gb2312"><title>className属性</title><style> body{ font-size:16px;} .one{ border:1px solid #eee; width:230px; height:50p...
2016-10-09
已采纳回答 / qq_說些什庅_0
<p id="p1"我是第一段文字</p> ,定义这个元素p的id=p1。和css没有任何关系的。css代码定义#p1只是为了修饰id=p1这个元素的样式,。如果css中不定义#p1,则这个id=p1的元素p启用默认浏览器样式css。
2016-10-08