最新回答 / 问到底
//能有我的标准?<!DOCTYPE html><html> <head> <title> new document </title> <meta http-equiv="Content-Type" content="text/html; charset=gbk"/> <script type="text/javascript"> // 新窗口打开时弹出确认框,是否打开 function o...
2015-03-17
最新回答 / _Exception
function openWindow(){ var window= confirm("你确定打开网页?"); if(window==true){ var url = prompt("请输入网址","http://www.imooc.com/"); window.open('http://www.imooc.com','_blank','width=400px,height=500px,menubar=...
2015-03-17
已采纳回答 / 暧月的猫
window.open('http://www.imooc.com','_blank','width=400,height=500',menubar=no,toolbar=no); 里面no要加引号要不会认为是变量的。 window.open('http://www.imooc.com','_blank','width=400,height=500',menubar='no',toolbar='no');
2015-03-16