<script language='javascript'>
function abcd()
{
window.event.returnValue=false;
//this.ele=newPoint;
document.all.menu.style.left=event.x-10;
document.all.menu.style.top=event.y-10;
//return newPoint;
}
document.oncontextmenu = abcd;
</script>
<html>
<head></head>
<body>
<div id="menu" style="width:200;height:100;position:absolute;z-index:0;background-color:buttonface" title="座席">
</div>
</body>
</html>
function abcd()
{
window.event.returnValue=false;
//this.ele=newPoint;
document.all.menu.style.left=event.x-10;
document.all.menu.style.top=event.y-10;
//return newPoint;
}
document.oncontextmenu = abcd;
</script>
<html>
<head></head>
<body>
<div id="menu" style="width:200;height:100;position:absolute;z-index:0;background-color:buttonface" title="座席">
</div>
</body>
</html>
function abcd()
{
window.event.returnValue=false;
menu_obj = document.getElementById('menu');
menu_obj.style.display = '';
menu_obj.style.left=event.x-10;
menu_obj.style.top=event.y-10;
}
document.oncontextmenu = abcd;
</script>
<html>
<head></head>
<body>
<div id="menu" style="width:200;height:100;position:absolute;z-index:0;background-color:buttonface;display:none" title="座席">
</div>
</body>
</html>
<script language='javascript'>
function abcd()
{
window.event.returnValue=false;
menu.style.display = '';
menu.style.left=event.x-10;
menu.style.top=event.y-10;
}
document.oncontextmenu = abcd;
document.onclick = function(){
menu.style.display = 'none';
}
</script>
<html>
<head></head>
<body>
<div id="menu" style="width:200;height:100;position:absolute;z-index:0;background-color:buttonface;display:none" title="座席">
</div>
</body>
</html>