<script> //Function Name WinDialog //作用:弹出网页对话框 //调用方法 //指定长宽:WinDialog('url','300px','300px') //简单调用:WinDialog('url') //更多JS实例脚本请访问:
www.xf03.com
function WinDialog(url, width, height) { var obj = new Object(); if (width == undefined) { width = '400px'; } if (height == undefined) { height = '300px'; } window.showModalDialog(url,name,'dialogWidth='+width+';dialogHeight='+height+';toolbar=no;directories=no;status=no;menubar=no;scrollbars=no;resizable=no;modal=no'); } </script> <a href="#" οnclick="WinDialog('
http://www.xf03.com')">
网页对话框</a>
用JS弹出网页对话框
最新推荐文章于 2021-01-18 00:40:01 发布