08 July 2012

Tutorial : Letak CCTV Dalam Blog

Photobucket

1. Dashboard > Design/Layout > Add A Gadget > Html/JavaScript
2. Copy kod bawah ini
<div style="position: fixed; top: 0px; right: 0px;">
<center><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEitkqcE-dHPBNvegHCU2_FTcOWCBgm-NvXR2p_ZoWSaQ_HjVs8eeSI1SpRjiivb7MxzfGqud8Xdhyphenhyphen6LqbbdkZOL3-LcDeUtPf10op9TGvfc96K2ftbFCUrOWY-0od_CQIqdi20dDtjGjd8/s1600/cctv.gif"/></center></div>
3. Save

Nota Tuto :
RED : Korang boleh tukar kepada 'left' juga

Tutorial : Disable Right Click without Alert

Photobucket

1. Dashboard > Design > Add Gadget > Html/JavaScript
2. Copy code di bawah dan paste dekat ruangan html/javascript
<script language=JavaScript>
<!--
//Disable right click script III- By Renigade (renigade@mediaone.net)
//For full source code, visit http://www.dauspozi.com
var message="";
///////////////////////////////////
function clickIE() {if (document.all) {(message);return false;}}
function clickNS(e) {if
(document.layers||(document.getElementById&&!document.all)) {
if (e.which==2||e.which==3) {(message);return false;}}}
if (document.layers)
{document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}
document.oncontextmenu=new Function("return false")
// -->
</script>
3. Save

Tutorial : Disable Right Click

Photobucket

1. Dashboard > Design > Add a Page element > html/javascript
2. Copy code kat bawah ni
<script language=JavaScript>
<!--
//edit by unwanted

var message="Masukkan Mesej Anda Disini";
///////////////////////////////////
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>
4. Save dan lihatlah hasilnya

Nota Tuto :
Merah : Letakkan mesej korang dekat situ ekk

'Segmen : Bloglist Winter SheLittleSunshine'

Photobucket


Tag :
Anda yang membaca

'Segmen:Saya nak jadi followers bertuah dalam blog Chocolate-Vochelle.'

Photobucket


 
Copyright© All Rights Reserved by Khairunnisa Hassan