onContextMenu="rclick(event);"
where rclick(e) is your piece of JavaScript:function rclick(e) { var targ if (!e) var e = window.event; if (e.target) targ = e.target else if (e.srcElement) targ = e.srcElement; e.returnValue=false; oFrm=document.forms[0]; oFrm.action="YourProtocolHere:"+targ.name; oFrm.submit(); return false; }Then you catch your protocol in oBrowser.BeforeNavigate2, make sure cancel=.t. so it doesn't try to navigate anywhere. You may also add code to catch some coordinates (browser's event object has a few properties which may help, but you'll need to recalculate the position) so to know where to show your VFP popup.