1
我在設計中使用Featherlight version 1.5.0。我可以在這個片段中的JavaScript禁用縮略圖右鍵:禁用Featherlight.js右鍵單擊
<script type="text/javascript">
$('img').bind('contextmenu', function(e) {
return false;
});
</script>
但是,這並不與鏈接圖片,點擊縮略圖時會彈出工作。無論如何,可以在鏈接圖像上禁用右鍵單擊功能?
你爲什麼要禁用右鍵單擊?我懷疑它是用戶友好..閱讀[this](http://stackoverflow.com/questions/737022/how-do-i-disable-right-click-on-我的網頁) – guradio