Posted by : Ryo Apri 2 Jun 2012

Trik Blogger kali ini hanya lah membuat Random Image pada Header Blog ...langsung aja ....


Pada posting kali ini cukup simpel kok scriptnya

1.Masuk ke blogger >> Edit HTML
2.Cari kode <body>
3.dan letakkan kode berikut dibawah kode <body>


<script type="text/javascript">
var banner= new Array()
banner[0]="URL Gambar"
banner[1]="URL Gambar"
banner[2]="URL Gambar"
banner[3]="URL Gambar"
var random=Math.round(3*Math.random());
document.write("<style>");
document.write("#header {");
document.write(' background:url("' + banner[random] + '") no-repeat left TOP;');
document.write(" }");
document.write("</style>");
</script>

Save

Jika ingin menambahkan gambar bisa diedit sendiri semoga bermanfaat

Leave a Reply

Subscribe to Posts | Subscribe to Comments

Welcome to My Blog

Banner

banner banner banner banner

Follow

Blog, Blogger, Tips, Tricks, Music, Ryo, Apri, R-Ryuzaki™, Ryo Apri, Science, software, template, colour code, social, Game, l-nino Blog, Blogger, Tips, Tricks, Music, Ryo, Apri, R-Ryuzaki™, Ryo Apri, Science, software, template, colour code, social, Game, l-nino

- Copyright © 2013 RLanzer -Robotic Notes- Powered by Blogger - Designed by Johanes Djogan -