<html>
<head>
<title>Open Window</title>
<script language="JavaScript">
function OpenWindow()
{
thisWin = window.open("", null, "width=300,height=400")
thisWin.document.write("<head><title>newWindow</title></head>")
thisWin.document.write("<body><center>This is a new window!</center></body>")
}
</script>
</head><body>
<center>
<input type="button" value="Creat New Window" onClick="OpenWindow()">
</center>
</body>
</html>
<head>
<title>Open Window</title>
<script language="JavaScript">
function OpenWindow()
{
thisWin = window.open("", null, "width=300,height=400")
thisWin.document.write("<head><title>newWindow</title></head>")
thisWin.document.write("<body><center>This is a new window!</center></body>")
}
</script>
</head><body>
<center>
<input type="button" value="Creat New Window" onClick="OpenWindow()">
</center>
</body>
</html>
解决方案 »
- jQuery如何选中已知id的span标签?
- html 参数问题
- 请问这个日期控件谁有,有图
- 如何获得表格的实际高度 求助
- 听说about:blank不支持.我一共30分了,全给你们了!
- 这个弹出框的js原码怎么写?
- ****************我郁闷!!!进者有分!!!另外请孟子E章 梅花rain 思归等人解答!!********************
- 关于button的显示文本
- 如何用Javascript脚本清除密码及表单内容(急!!!)
- 为什么以下函数在IE5。01以下版本都不能正常运行?????
- 上传图片时用javascript判断文件名不能包含中文和空格?
- 如何实现可折叠(通过按钮或操作来隐藏和显示)的顶帧和左帧。
你可以用 css样式 + 图片 在页面上来模拟那样的效果
我的意思就是希望能从打开的窗口访问网络的状态.
比如,地球在转动的时候表示还在访问网络,
显示microsoft图标的时候表示没访问.请叫高手,怎么解决比较好?