1. 首页
  2. 操作系统
  3. Solaris
  4. 让js弹出窗口居前显示的实现方法

让js弹出窗口居前显示的实现方法

上传者: 2020-12-13 07:29:01上传 PDF文件 47.5KB 热度 12次
具体步骤:方法一:弹出窗口<body>里加上代码:onblur=”self.focus()”:<body onblur=”self.focus()”>方法二:用showModalDialog方法建立模式对话框,它的参数说明如表1.5.2所示。[removed] function topwin(){ window.showModalDialog(http://www.jb1.net,””,”dialogWidth:300px;dialogHeight:300px;scroll:no;status:no”) }[removed]<button onClic
下载地址
用户评论