[查看演示] 源码如下 ---------------------------------------------------------- <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>右键打开窗口-www.51windows.Net</title>
<style>
<!--
body { font-family: Verdana; color: #000080; font-size: 9pt }
-->
</style>
</head>
<body onkeydown="show()">
<p align="center">请点右键</p>
</body>
</html>
<div style="position: absolute; top: 10; right: 10; width: 148; height: 18;cursor:hand">
<input type="button" name="Button" value="查看源代码" onClick= 'window.location = "view-source:" + window.location.href'></div> |