首页 > 代码库 > JavaScript示例五(右键菜单)

JavaScript示例五(右键菜单)

<!doctype html>
<html lang="en">
 <head>
  <meta charset="UTF-8">
  <title>上下文/鼠标右键 菜单示例</title>
 </head>
 <body>
  <div id="myDiv">右键点击文字区域获取上下文菜单</div>
  <ul id="myMenu" style="position:absolute;visibility:hidden;background-color:siler">
	<li><a href=http://www.mamicode.com/"http://www.126.com">126.com>

JavaScript示例五(右键菜单)