background-image: url(URL address of your image);

Sunday 25 January 2015

How to disable mouse right click function in Blogspot ?

Disable mouse right click

Blog ser ve mi hawi vialte hna, Mouse hmangin ka Blog chung ka chiahmi pawl Copy Or dangdang hna lak hna hlah seh ti na duh ahcun fawi tein i cawn kho than a si.A thiam rih lomi le a theih/hngalh rih lomi kan um sual ahcun a tanglei ah tuah ningcang zoh hna u sih.

Hmasa bikah Blogger Log In tuahpiak hmasa law Layout ah kal piak ding..

Blogger Log In=>Layot
































Na kal kho cun Add a Gadget ah kal piak than..

Layout=>Add a Gadget


 Box pakhat a ra lai i HTML/JavaScript kha Click ding..

Add a Gadget=>HTML/JavaScript



Na tlamtling cang ahcun a tanglei Code kan pekmi hi Copy law, Mah Box chungah khan Paste ding..

<script language=javascript>

var message="Function Disabled!";

///////////////////////////////////
function clickIE4(){
if (event.button==2){
alert(message);
return false;
}
}

function clickNS4(e){
if (document.layers||document.getElementById&&!document.all){
if (e.which==2||e.which==3){
alert(message);
return false;
}
}
}

if (document.layers){
document.captureEvents(Event.MOUSEDOWN);
document.onmousedown=clickNS4;
}
else if (document.all&&!document.getElementById){
document.onmousedown=clickIE4;
}

document.oncontextmenu=new Function("alert(message);return false")

// 
</script>






Na Paste kho cang ahcun Save hmeh law, na Blog ah kal piak law Right Click a ngah ti lomi kha na hmuh lai..

Lung sau tein a ka relpiak tu nan dih lak cungah lunglawmhnak tampi ka ngeih. Nan tlamtling hram dih ko seh..