📄 鼠标右键菜单.htm
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0031)http://js.wanxu.com/menu/07.htm -->
<HTML><HEAD><TITLE>鼠标右键菜单</TITLE>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<META http-equiv=目录类型 content="文本/html; 字符集=gb2312">
<STYLE type=text/css>A {
COLOR: white; FONT-STYLE: normal; TEXT-DECORATION: none
}
A:hover {
BACKGROUND: red; COLOR: yellow; FONT-STYLE: normal; TEXT-DECORATION: none
}
.white {
COLOR: #ffffff
}
TABLE {
FONT-SIZE: 9pt
}
</STYLE>
<STYLE>.skin0 {
BORDER-RIGHT: black 1px solid; BORDER-TOP: black 1px solid; VISIBILITY: hidden; BORDER-LEFT: black 1px solid; WIDTH: 150px; CURSOR: default; LINE-HEIGHT: 1px; BORDER-BOTTOM: black 1px solid; FONT-FAMILY: Verdana; POSITION: absolute; BACKGROUND-COLOR: black; TEXT-ALIGN: left
}
.skin1 {
BORDER-RIGHT: buttonhighlight 0px outset; BORDER-TOP: buttonhighlight 0px outset; FONT-SIZE: 9pt; VISIBILITY: hidden; BORDER-LEFT: buttonhighlight 0px outset; WIDTH: 120px; CURSOR: default; BORDER-BOTTOM: buttonhighlight 0px outset; FONT-FAMILY: Arial, Helvetica, sans-serif; POSITION: absolute; BACKGROUND-COLOR: #000000; TEXT-ALIGN: center
}
.menuitems {
PADDING-RIGHT: 10px; PADDING-LEFT: 10px
}
</STYLE>
<META content="MSHTML 6.00.2800.1106" name=GENERATOR></HEAD>
<BODY bgColor=#336699 leftMargin=0 topMargin=0>
<TABLE style="FONT-SIZE: 9pt" cellSpacing=0 cellPadding=0 width="100%"
border=0><TBODY>
<TR bgColor=#336699>
<TD colSpan=3 height=18> </TD></TR>
<TR>
<TD width=18 bgColor=#336699></TD>
<TD align=middle bgColor=#ffffff><BR>
<TABLE height=355 cellSpacing=0 cellPadding=0 width="56%" border=0>
<TBODY>
<TR>
<TD vAlign=top width=16 rowSpan=2>
<TABLE class=white style="FONT-SIZE: 11pt" cellSpacing=0
cellPadding=0 width="100%" border=0>
<TBODY>
<TR borderColor=#336699 bgColor=#336699>
<TD
style="BORDER-RIGHT: double; BORDER-TOP: double; BORDER-LEFT: double; BORDER-BOTTOM: double"
height=70><STRONG><A
href="http://js.wanxu.com/menu/07.htm">演<BR><BR>示</A></STRONG></TD></TR>
<TR borderColor=#009900 bgColor=#009900>
<TD
style="BORDER-RIGHT: double; BORDER-TOP: double; BORDER-LEFT: double; BORDER-BOTTOM: double"
height=70><STRONG><A
href="http://js.wanxu.com/menu/07c.htm">源<BR>代<BR>码</A></STRONG></TD></TR></TBODY></TABLE></TD>
<TD width=8 bgColor=#336699 rowSpan=2> </TD>
<TD
style="BORDER-RIGHT: double; BORDER-TOP: double; FONT-SIZE: 12pt; BORDER-LEFT: double; BORDER-BOTTOM: double"
vAlign=top borderColor=#336699 align=middle
height=335><BR><B>鼠标右键菜单</B>
<HR align=center width="92%" SIZE=1>
<TABLE width="100%" border=1>
<TBODY>
<TR>
<TD width="100%">提示:点击鼠标右键看看!</TD></TR></TBODY></TABLE></TD></TR>
<TR>
<TD class=white bgColor=#336699 height=20>当前位置:<A
href="http://js.wanxu.com/">首 页</A><A
href="http://js.wanxu.com/index.htm">→JavaScript</A><A
href="http://js.wanxu.com/menu/index.htm#2">→下拉菜单</A>→鼠标右键菜单</TD></TR></TBODY></TABLE><BR></TD>
<TD width=18 bgColor=#336699></TD></TR>
<TR>
<TD bgColor=#336699></TD>
<TD align=middle bgColor=#336699 height=35><FONT color=#ffffff><A
href="mailto:pc728@wanxu.com">··万旭网站工作室 设计发布··</A></FONT> </TD>
<TD bgColor=#336699> </TD></TR></TBODY></TABLE>
<SCRIPT language=JavaScript1.2> <!-- Begin var menuskin = "skin1"; // skin0, or skin1 var display_url = 0; // Show URLs in status bar? function showmenuie5() { var rightedge = document.body.clientWidth-event.clientX; var bottomedge = document.body.clientHeight-event.clientY; if (rightedge < ie5menu.offsetWidth) ie5menu.style.left = document.body.scrollLeft + event.clientX - ie5menu.offsetWidth; else ie5menu.style.left = document.body.scrollLeft + event.clientX; if (bottomedge < ie5menu.offsetHeight) ie5menu.style.top = document.body.scrollTop + event.clientY - ie5menu.offsetHeight; else ie5menu.style.top = document.body.scrollTop + event.clientY; ie5menu.style.visibility = "visible"; return false; } function hidemenuie5() { ie5menu.style.visibility = "hidden"; } function highlightie5() { if (event.srcElement.className == "menuitems") { event.srcElement.style.backgroundColor = "highlight"; event.srcElement.style.color = "white"; if (display_url) window.status = event.srcElement.url; } } function lowlightie5() { if (event.srcElement.className == "menuitems") { event.srcElement.style.backgroundColor = ""; event.srcElement.style.color = "black"; window.status = ""; } } function jumptoie5() { if (event.srcElement.className == "menuitems") { if (event.srcElement.getAttribute("target") != null) window.open(event.srcElement.url, event.srcElement.getAttribute("target")); else window.location = event.srcElement.url; } } // End --> </SCRIPT>
<DIV class=skin0 id=ie5menu onmouseover=highlightie5()
style="LEFT: 280px; TOP: 28px" onclick=jumptoie5(); onmouseout=lowlightie5()>
<DIV>
<TABLE height="97%" cellSpacing=1 cellPadding=0 width="98%" align=center
bgColor=#000000>
<TBODY>
<TR><A href="http://www.wanxu.com/" target=_blank>
<TD
onmouseover="this.style.backgroundColor='#999900'; this.style.cursor='hand';"
onmouseout="this.style.backgroundColor='#99cc33';" bgColor=#99cc00 height=20
onload="window.defaultStatus='00009876.4567.net';" scroll="no">
<CENTER><BR>首页<BR><BR></CENTER></TD></A></TR>
<TR><A href="http://js.wanxu.com/" target=_blank>
<TD
onmouseover="this.style.backgroundColor='#ff9900'; this.style.cursor='e-resize';"
onmouseout="this.style.backgroundColor='#ffcc00';" bgColor=#ffcc00
height=20>
<CENTER><BR>网页特效 <BR><BR></CENTER></TD></A></TR>
<TR>
<TD
onmouseover="this.style.backgroundColor='#ff6633'; this.style.cursor='e-resize';"
onmouseout="this.style.backgroundColor='#ff9900';" vAlign=center
bgColor=#ff9900><A href="http://js.wanxu.com/menu/07c.htm"
target=_blank><BR>
<CENTER>源代码 <BR><BR></CENTER></A></TD></TR>
<TR><A href="http://js.wanxu.com/menu/07.htm">
<TD
onmouseover="this.style.backgroundColor='#ff9900'; this.style.cursor='e-resize';"
onmouseout="this.style.backgroundColor='#ffcc00';" vAlign=center
bgColor=#ffcc00><BR>
<CENTER>演示</CENTER><BR></TD></A></TR></TBODY></TABLE></DIV></DIV>
<SCRIPT language=JavaScript1.2> if (document.all && window.print) { ie5menu.className = menuskin; document.oncontextmenu = showmenuie5; document.body.onclick = hidemenuie5; } </SCRIPT>
</BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -