Tutorial : Disabled Right Click.


Hey. Hari nieh aku rajin nak buat tutorial. Haa, tutorial apekah itu ? Jeng jeng jeng. Alaaahh, title lah derr. Tak kan terus bace entry nieh. Mesti bace title dulu kan. Hehe, tutorial disabled right click nieh aku gune jugak. Ce, korang highlight ayat aku nieh pastuh click kanan mouse korang tuh.

Haa, dye tak keluar ape-ape pon kan ? So, tak dek orang nak copy paste kite punye words kan. Hehe, okay-okay. Kalau nak follow tutorial aku nieh. Silakan silakan. Tapi jangan lupe picit like dekat bawah tuh nanti and tinggalkan sekali comment anda tau. Hehe, jom kite start.

Disabled Right Copy with Note
Dashboard > Design > Add a Gadgets > HTML/JavaScript
Copy code bawah nieh and korang paste dekat HTML/JavaScript.
<!--
//Disable right mouse click Script
//By Maximus (maximus@nsimail.com) w/ mods by DynamicDrive
//For full source code, visit http://www.dynamicdrive.com
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>

Tukarkan ayat color merah tuh kepada ayat anda.
Tekan save dan lihat lah hasilnye.

Disabled Right Click Without Note
Dashboard > Design > Edit HTML > Tick Expanf Widgets > F3
Search code nieh dulu :
<body expr:class='&quot;loading&quot; + data:blog.mobileClass'>
atau 
<body>
Kalau dah jumpe antara dua code nieh delete code tuh dan gantikan dengan code baru nieh.
<body oncontextmenu='return false;'>
Okay, lepas tuh korang save lah macam biasa and lihat hasil nye. Siap !

credit to : Atikha


Tutorial : Tukar Olderpost, Newerpost dan Home Jadi Gambar Comel.


Hello, kelmarin tak silap aku ade orang tanye macam mane nak buat olderpost, newerpost and home macam aku nieh. Aku dah tak ingat sape, sorry ek. Hehe, nieh dye yang aku cakap kan tadi.


Dashboard > Design > Edit HTML > Tick Expand Widgets > F3

Search code yang berwarna pink tuh saje kay. Nieh code for newerpost.
expr:title='data:newerPageTitle'><data:newerPageTitle/>
Okay, lepas tuh tukar code pink tuh kepada code nieh.
<img src='http://i947.photobucket.com/albums/ad318/hannacrazee/Decorated%20images/go5.png'/>
Nieh pulak code untuk olderpost.
expr:title='data:olderPageTitle'><data:olderPageTitle/>
Tukar code warna pink nieh kepada code nieh. Ulang step yang same.
<img src='http://i561.photobucket.com/albums/ss52/angelicxmelody/Web%20materials/go5.png'/>
And last kali code untuk home. Ingat, search code color pink nieh jeh.
expr:href='data:blog.homepageUrl'><data:homeMsg/>
Nieh code dye.
<img src='http://i561.photobucket.com/albums/ss52/angelicxmelody/Web%20materials/home1.png'/>
Okay, preview dulu. Kalau dah jadi save lah. Jangan lupe like dan comment sekali. Jangan lah kedekut. Hee, gurau saje lah.

credit to : Nieysa


Tutorial : Membuat Blockquote.


Semalam aku ade post kan pasal blockquote aku tak menjadi. So, this is the problem. Actually, template designer tak pakai code nieh .post blockquote rupenye. Aku gune template designer, so memang tak kan jumpe lah code tuh. Then, kepada anyone yang gune template designer. Nieh cara untuk buat menyelesaikan blockquote.

Dashboard > Design > Edit HTML > Tick Expand Widgets > F3
Dye akan keluar satu kotak kan ? Okay, and then search words nieh. 

.post-body {
Then dekat bawah code .post-body { tuh ade code macam nieh.

.post-body {
font-size: 110%;
line-height: 1.4;
position: relative;
}

Okay, jumpe tak ? Lepas tuh copy code bawah nieh and paste di bawah code atas nieh tadi.

.post blockquote {
background: url(URL KORANG);
border-top: 2px dashed #FF0080;
border-left: 2px dashed #FF0080;
border-right: 2px dashed #FF0080;
border-bottom: 2px dashed #FF0080;
margin:1em 20px;
}

So dye akan jadi macam nieh.

.post-body {
font-size: 110%;
line-height: 1.4;
position: relative;
}
.post blockquote {
background: url(URL GAMBAR);
border-top: 2px dashed #FF0080;
border-left: 2px dashed #FF0080;
border-right: 2px dashed #FF0080;
border-bottom: 2px dashed #FF0080;
margin:1em 20px;
}
Yang URL GAMBAR tuh, background yang di kehendaki. Yang warna biru tuh pulak jenis warna yang di minati. Hehe, boleh cari kat sini warna dye.

Preview and lihat hasilnye. Kalau tak jadi, tanye okay.

credit to :  Nor'ain