The first step as usual you MUST:
login dashboard =>design=>page elements=>add gadget=>html/javascript
after you copy the code below and paste the html / javascript above.
<script language=javascript>
<!--
var message="write your message HERE";
///////////////////////////////////
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>
In part, write your message HERE depends on what you'd spoken to who tried to right click on your blog. When one right-click it will produce a popup message. HAPPY TRYING!..
0 comments:
Post a Comment
please leave a comment here ..