最新回答 / weixin_慕盖茨5207985
我试了一下,这个可行<!DOCTYPE html><html> <head> <title> new document </title> <meta http-equiv="Content-Type" content="text/html; charset=gbk"/> <script type="text/javascript"> function openWindow(){var a=confirm(...
2019-02-11
最新回答 / 慕粉1471436281
function openWindow() { var lz=confirm("打开网址吗?"); if(lz==true) { var lzz; lzz=prompt("网址",'http://www.imooc.com/'); window.open(lzz,'_blank','width=400px,height=500px,menubar=no,toolbar=no'); } }
2019-02-09
最新回答 / qq_慕姐7305722
function changeColor(){ txt.style.color="yellow"; txt.style.background="blue";这写错了,应该是txt.style.backgroundColor}
2019-02-08
最新回答 / 慕桂英3007397
function openWindow(){ var queren=confirm("真的要打开,大人的世界吗"); if(queren==true) { var shuru=prompt("你真的已经满18岁了吗","http://www.imooc.com"); if(shuru!=null) { window.open(shuru,"_blank",'width=400px,height=500px,menubar=n...
2019-02-07
最新回答 / weixin_慕丝0168358
<!DOCTYPE html><html> <head> <title> new document </title> <meta http-equiv="Content-Type" content="text/html; charset=gbk"/> <script type="text/javascript"> function openWindow(){var open=confirm("确认新建窗...
2019-02-03