jquery 小技巧
禁用右键:
(document).ready(function
() {
//catch the right-click context menu
$(document).bind(
"contextmenu"
,
function
(e) {
//warning prompt - optional
alert(
"No right-clicking!"
);
//delete the default context menu
return
false
;
});
});