This tutorial will help you how to put a random images for blogger user.
- Find code <b:skin><![CDATA[
- Copy this script before <b:skin><![CDATA[
</script>
<script type='text/javascript'>
var gambar= new Array()
gambar[0]="http://URLADDRESS_Image1"
gambar[1]="http://URLADDRESS_Image2"
gambar[0]="http://URLADDRESS_Image3"
gambar[1]="http://URLADDRESS_Image4"
var random=Math.floor( 2 *Math.random())
document.write("<style>");
document.write("#header {");
document.write(' background:url("' + gambar[random] + '") no-repeat top left ;');
document.write(" }");
document.write("</style>");
</script>
1. Add more images by add more image URL address..
2. To add the code you need to parsing the script. This page will help you.
how to make logo on header blogger??see my blog...blackantbit.blogspot.com
ReplyDeleteHow can I rotate my background image?
ReplyDeleteThis is how the code looks like that holds my background image:
body {
background:$bgcolor;
margin:0;
color:$textcolor;
font:x-small Georgia Serif;
font-size/* */:/**/small;
font-size: /**/small;
text-align: center;
background-color:#000000;
background-image: url(http://i542.photobucket.com/albums/gg419/srk8887/blogspot%20theme/bg_iRadar_001.jpg);
background-attachment: fixed;
background-position: top left;
background-repeat: no-repeat;
border-color:#ffffff;
border-width:0px ;
border-style: solid;
}
Isn't working for my blog. Is there something with new blogger minima template that has to be done to disable the original header?
ReplyDeleteHmm... does this code still work in blogger because I am having trouble finding any 'random' image codes that work... any suggestions?
ReplyDeletewhat about random blog background color ( or image)? anyone can help? could we use these code too? im not sure i have that skill. so please help
ReplyDeletethanks.. working great
ReplyDeleteTruly, this article is really one of the very best in the history of articles. I am a antique ’Article’ collector and I sometimes read some new articles if I find them interesting. And I found this one pretty fascinating and it should go into my collection. Very good work! The Random Blogger
ReplyDelete