PDA

View Full Version : oncontext -> function - not windows menu


Jerome
06-18-2003, 06:17 PM
Hi,

document.oncontext=function; works well, but how to disable the original windows menu?

Thanks,
Jerome

fshiu
06-19-2003, 10:02 AM
I dont exactly recommend disabling right click, but

document.oncontextmenu=new Function("return false")