18 Juli 2016

Automatic New Tab

This tutorial for Designer and Classic Template
  • Dashboard
  • Template
  • Edit HTML
  • Cari code ini (Ctrl+F untuk memudahkan pencarian) :
<head>
  • Paste code ini dibawah code <head>
<base target='_blank'/>
  • Simpan
  • Lihat blog
Credit : Lyssa

16 Juli 2016

Disable Right Click with Alert

This tutorial just for Designer Template

  • Dashboard
  • Tata letak
  • Add a Page element
  • Tambahkan gadget
  • HTML/Javascript
  • Copy code dibawah ini :
<script language=JavaScript>
<!--
//edit by unwanted
var message="Change with your text";
///////////////////////////////////
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>
  • Paste di HTML/Javascript
  • Ganti kalimat Change with your text dengan kalimatmu
  • Simpan
  • Simpan setelan
  • Lihat blog
Credits : Lyssa