Noget i denne stil?
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "
http://www.w3.org/TR/html4/loose.dtd"><head><meta http-equiv="content-type" content="text/html; charset=iso-8859-1"><title>Ingen titel</title>
<style type="text/css">
#mycontext{position:absolute;top:0px;left:0px;
display:none;width:200px;border:1px solid #000;}
</style>
<script type="text/javascript">
var dmcy=0;var dmcx=0;
var IE=((document.all)&&(navigator.userAgent.indexOf('Opera')== -1))?true:false;
if(!IE)document.captureEvents(Event.mousemove);
document.onmousemove=function (e){
if(IE){
dmcst=(tmenu=document.documentElement.scrollTop)?tmenu:document.body.scrollTop;
dmcsl=(lmenu=document.documentElement.scrollLeft)?tmenu:document.body.scrollLeft;
dmcy=event.clientY+dmcst;dmcx=event.clientX+dmcsl;
}else{dmcy=e.pageY;dmcx=e.pageX;}
}
document.oncontextmenu=function(){mycontext(''+dmcy+'',''+dmcx+'');return false}
document.onclick=function(){
document.getElementById("mycontext").style.display="none";
}
function mycontext(tmpy,tmpx){
tmp=document.getElementById("mycontext").style;
tmp.top=dmcy+"px";
tmp.left=dmcx+"px";
tmp.display="block";
}
</script>
</head>
<body>
Højre klik ;o)
.<br>.<br>.<br>.<br>.<br>.<br>.<br>.<br>.<br>.<br>.<br>.<br>.<br>.<br>.<br>.<br>.<br>.<br>.<br>.<br>.<br>.<br>.<br>.<br>.<br>.<br>.<br>.<br>.<br>.<br>.<br>.<br>.<br>.<br>.<br>.<br>.<br>
<img src="testbillede.gif"><img src="testbillede2.gif"><img src="testbillede3.gif">
<div id="mycontext"><a href="#etandetmenupunkt">test1</a><br><a href="#etandetmenupunkt">test2</a></div>
</body></html>