Memasang 'Random Header Image'.

Tutorial Blogspot

1. Sign in akaun blogger.

2. Pilih Layout --> Edit HTML.

3. Cari kod ini.

]]></b:skin>

4. Copy kod di bawah dan letakkan di bawah kod tadi.


<script type='text/javascript'>
var gbr= new Array()
gbr[0]="http://IMEJ1.png"
gbr[1]="http://IMEJ2.png"
gbr[2]="http://IMEJ3.png"
gbr[3]="http://IMEJ4.png"
gbr[4]="http://IMEJ5.png"
var random=Math.floor(5*Math.random());
document.write("<style>");
document.write("#header {");
document.write(' background:url("' + gbr[random] + '") no-repeat top left;');
document.write(" }");
document.write("</style>");
</script>

5. Gantikan text / kod berwarna biru.

6. Save.

Sumber EasyBlogTricks.

6 comments:

mohdisa said...

menarik tutorial ni, tp malangnya. header aku tak pakai image. hehe

Meryl (proud pinay) said...

hi, lovely greetings from meryl.^_^ have a great week ahead

gem said...

thanks for sharing the code. very helpful .
btw, i left a msg on your cbx.thnks

azizan4444 said...

tutorail yg mnrik,,thanks bro

mohdisa said...

bro, cam mana nak wat komen box cam bro?

SyamZone™ said...

@mohdisa aku dh ziarah & membaca blog ko, comment box ok takde masalah pun.

Post a Comment