标签:javascript
<html> <head> <meta charset="utf-8" /> <script type="text/jscript" language="javascript"> function pp() { var width = screen.width; var height = screen.height; var someValue = window.showModalDialog("new.html","","dialogWidth="+width+"px;dialogHeight="+height+"px;status=no;help=no;scrollbars=no") } </script> </head> <body> <input type="button" value = "弹出" onclick = "pp()"> </body> </html>(2)弹出的窗口new.html
<html> <head> <meta charset="utf-8" /> <title>弹出的窗口</title> <style type="text/css"> body{ background-image:url(new.jpg); background-repeat:no-repeat; } </style> </head> <body> </body> </html>
JavaScript特效实例011-弹出全屏显示的网页模式对话框
标签:javascript
原文地址:http://blog.csdn.net/yejinwei1220/article/details/45765767