⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 test2.html

📁 销售系统,包括配件录入,配件销售,配件修改,设置反点条件,VIP用户网上购买等
💻 HTML
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>右键菜单测试窗口</title>
<script>
var x, y; 
document.onmousemove=moveMouse 
document.onmousedown=click 
function moveMouse() 
{ 
Layer1.style.left = event.clientX - 2; 
Layer1.style.top = event.clientY - 2; 
} 
function click() { 
if (event.button==2) 
{ 
x = event.clientX; 
y = event.clientY; 
Layer1.style.visibility=""; 
window.setTimeout("showMenu();", 500); 
} 
else{ 
HiddenPop(); 
PopMenu.style.visibility='hidden'; 
} 
} 
function showMenu() 
{ 
PopMenu.style.left = x- 2; 
PopMenu.style.top = y- 2; 
PopMenu.style.visibility=""; 
HiddenPop();
}
function HiddenPop()
{
Layer1.style.visibility='hidden'; 
}
</script>
<style type="text/css">
<!--
body {
	font-size: 9pt;
	background-color: #E2F1FE;
}
td {
	font-size: 9pt;
	line-height: 120%;
}
-->
</style>
</head>

<body>
<div id=Layer1 style="position:absolute; width:4px; height:4px; z-index:3; visibility: hidden">
<select style="width:4">
</select>
</div>
<div id=PopMenu style="position:absolute; width:100px; height:100px; z-index:1; visibility: hidden; left: 48px; top: 13px;"> 
  <table border=2 width=100 >
<TH align="center" color="sliver" onclick="">
唯鱼的菜单
</tH>
<tr>
<td> click it!:)
</td>
</tr>
<tr><td><a href="http://www.yy0736.com" target="_blank">夜鹰教学网</a>
</table>
</div> 
<p align="center">在窗口中右击一下看看出什么:)</p>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -