Js弹出窗口代码,window.open方法

时间:2014-07-16 23:11:06   收藏:0   阅读:256

<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方法,布布扣,bubuko.com

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!