is there a code to disable the mouse right-click and left-click on the legend only?
My forum using phpbb3.
My forum using phpbb3.
SLGray wrote:There is a tutorial for this, but it is for the whole forum. Â You do know that if someone turns off JavaScript in their browser, they can right/left click still?
$(function(){
if (_userdata.user_level==1 || _userdata.user_level==2) return;
$('em:contains(Legend) a').attr('href','/');
});