I want to respond to a
right-click via checking "event.button == 2" like so:
-
"mousedown
#imgPostTravelBottom": function (event) {
if (event.button
== 2) {
$(
"#dialog" ).removeClass('hide');
$(
"#dialog" ).dialog();
}
},
...but although it works (the
dialog displays - in the middle of the page), so does the
browser's element-specific context menu; for example, when
right-clicking on an img, the browser invokes a context menu which
displays menu items such as "Save image as..." etc.
Can I suppress the displaying of
that context menu?