Y
YBOTI
I am attempting to use a css behavior to disable or change the context
menu for images, via the oncontectmenu event.
I have no trouble getting my custom action to work (a simple alert()
box), but after that, the context menu still comes up. My objective is
to do this without having to tag each image with a "return false" as
in the javascript method, and in this instance I would like to avoid
imbedding a javascript in the code.
Is there a way to do this within the construct of the behavior defined
in an attached script in the .htc file, or am I stuck tagging my
images?
menu for images, via the oncontectmenu event.
I have no trouble getting my custom action to work (a simple alert()
box), but after that, the context menu still comes up. My objective is
to do this without having to tag each image with a "return false" as
in the javascript method, and in this instance I would like to avoid
imbedding a javascript in the code.
Is there a way to do this within the construct of the behavior defined
in an attached script in the .htc file, or am I stuck tagging my
images?