📄 16.19 showmodaldialog方法.html
字号:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
</head>
<body>
<script>
var sFeatures;
var para;
para="<br>this is a test<br>showModalDialog方法测试" ;
para=para+"<br>在关闭该窗口以前,其他窗口无法获得焦点";
sFeatures="center=yes;edge=raised;status=yes;";
sFeatures=sFeatures+"dialogHeight=250 px;dialogWidth=250 px";
window.showModalDialog("dialog.html",para,sFeatures);
</script>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -