| Dashboard |
- Cintun Amoiyya -
Tutorial Background Berbeza (Layout Sahaja)
Monday | 10:51 PM

Assalamualaikum wbt.
Ollaaala~

Hari ni, tuto tentang background yang berbeza, setiap kali kita bukak page. My mean, in the same blog. Contoh :- Bila korang, tekan untuk entry- background kulit harimau, and then, bila tekan untuk about me, background kullit kucing pulak. Haa. Nak tahu macam mana. Here we go !

Pengguna Layout

1. Dashboard > Design > Page Element > Add A Gadget > HTML/Javascript
2. ctrl+c kod di bawah ni :-


<script type="text/javascript">
var background= new Array()
background[0]="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgBypXJwPufaIBIRRThSGPmF6SPx39iU_KWFzrsxKYW72IGJcDVFK6vQhCSe-Fj3ES6DDVm5LpM9Hlt0QZanhIE0IkiJh0fwdGFcAOQ4er5Wxp6ikS2bWbwzAgR8LxjdG1FmSkj0xBa/s200/body-bg.png"
background[1]="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh0w3qmtDAxh8eAvqHGevr4Bno6wKesA2vSR2vPOsxZB6ll7MdHgu0P6UYaF_zqsMSi09AD9UJq2jDrk_Z49L3RfsKqtk-bEAq04Hr2TbLKlW7hwdY0Or9_Z7BX_3cuyKJqu64LamAY/s200/fd-babydisney.jpg"
background[2]="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiRPv1z70rXUV-cZ6aahtX6GcNpLrIuxaKJYIB7Pyf-WVRBRNIvdsGs57WmnRHaZqBRln-x9AmEMY_Zk6juQyusNO62GFfO21fl0X4VJ9glPiXPbJ56OxsVb_TqR-R0aVI_k8wDdX_P/s200/0003a-background.jpg"
var random=Math.floor(3*Math.random());
document.write("<style>");
document.write("body {");
document.write(' background:url("' + background[random] + '") repeat top center;');
document.write(" }");
document.write("</style>");
</script>
- Yang warna merah tu, url background korang. Mesti lain-lain tau !

Hokay dah, kalau yang pengguna BLOGSKIN/TEMPLATE, i takdapat lagi nak buat kod-kod dia. Hokay. Babai

p/s : Kalau takjadi kasi tau dekat shoutbox eh =)


Older Post | Newer Post
Amoi Next Door

Emak saya cakap :
muka saya 10% macam abah, 50% macam mak, 40% macam Amoi :)
Facebook | Tumblr
Let's Friend Human

Dah Follow ? Thanks so mash. Sorry sangat guys, kalau nak suruh AMOI follow balik, leave ur message dekat Facebook, Twitter eh. Sure 100% AMOI akan follow balik! Marah sama shoutbox tau. Buat perangai! Okey, Ciao :)
Credits
Fully Editted by: Amoi_Ninie
Skin by : Iezanh Ijan
Best View : Google Chrome