Hi. What's the best way to display an image, disabling the user's ability
to right-click on it?
I believe you have to use <body oncontextmenu=" return false">. Would the
following work?
var x = "<head><\/head><body oncontextmenu=" return false"><img
src='temp.jpg' border=0><\/body>"
top.document.op en()
top.document.wr ite(x)
top.document.cl ose()
Since this is a frameless site, I don't think this would work, at least
would never get to the close()...Denni s
to right-click on it?
I believe you have to use <body oncontextmenu=" return false">. Would the
following work?
var x = "<head><\/head><body oncontextmenu=" return false"><img
src='temp.jpg' border=0><\/body>"
top.document.op en()
top.document.wr ite(x)
top.document.cl ose()
Since this is a frameless site, I don't think this would work, at least
would never get to the close()...Denni s
Comment