Js弹出窗口代码,window.open方法
2014-06-27 11:19
190 查看
<html>
<script language=JavaScript>
<!--
function click() {
if (event.button==2) {
window.open('#','popwindows',"toolbar=no,menubar=no,width=200,height=200")
}
}
document.onmousedown=click
//-->
</script>
<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>js弹出窗口代码</title>
<style>
<!--
body{ font-family: Verdana; color: #000080; font-size: 9pt }
-->
</style>
</head>
<body onkeydown="show()">
<p align="center">请点右键</p>
</body>
</html>
<script language=JavaScript>
<!--
function click() {
if (event.button==2) {
window.open('#','popwindows',"toolbar=no,menubar=no,width=200,height=200")
}
}
document.onmousedown=click
//-->
</script>
<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>js弹出窗口代码</title>
<style>
<!--
body{ font-family: Verdana; color: #000080; font-size: 9pt }
-->
</style>
</head>
<body onkeydown="show()">
<p align="center">请点右键</p>
</body>
</html>
相关文章推荐
- JS窗口问题处理:使弹出窗口保持前端显示的几种方法,及window窗体对象open()和showModalDialog()用法
- JS窗口问题处理:使弹出窗口保持前端显示的几种方法,及window窗体对象open()和showModalDialog()用法
- JS窗口问题处理:使弹出窗口保持前端显示的几种方法,及window窗体对象open()和showModalDialog()用法
- JS窗口问题处理:使弹出窗口保持前端显示的几种方法,及window窗体对象open()和showModalDialog()用法
- JS弹出窗口Window.Open详解
- JS中弹出窗口的命令总结window.open window.alert .....
- js window.open 弹出窗口设置 UTF-8编码的问题解决
- 解决弹出的窗口window.open会被浏览器阻止的问题(自定义open方法)
- javascript弹出窗口 window.open使用方法以及参数说明分析篇
- window.open弹出窗口代码
- js关闭当前窗口,window.close()方法只能是window.open打开的才能执行关闭
- Window.ShowModalDialog使用手册 js弹出框 不同于open此弹出窗口不会被阻止
- js解决window.open 被IE弹出窗口阻止程序拦截
- 解决弹出的窗口window.open会被浏览器阻止的问题(自定义open方法)
- 解决弹出的窗口window.open会被浏览器阻止的问题(自定义open方法)
- JS判断鼠标进入容器方向的方法和分析window.open新窗口被拦截的问题
- 在使用JS调用Window.close()方法关闭一个窗口是,如何禁止弹出对话窗口?
- js window.open弹出新的网页窗口
- JS中window.open弹出窗口居中
- Response.Write 出来的 弹出窗口 主要是window.open()方法的应用