Head banner image changing on reload for Blogger Blog

Posted by Unknown


Head banner image changing on reload for Blogger Blog


Today i am saying about an interesting thing .Head banner changing trick for blogger
This is a simple blogger hack.when you add this, your blogger blog's header image will change after RELOAD the webpage on your browser.
 Follow the instructions :)

  • Sign In to your blogger account.
  • Go to Template->Edit HTML
  • Find ]]></b:skin> and paste the following code before it.
#header {
background: url("your header image url in quotes") no-repeat left bottom;
margin:0;
padding:2px;
}
  • Then copy the below script  and place above the </head> tag:

<script type="text/javascript">
var banner= new Array();

banner[0]="1st image url";
banner[1]="2nd image url";
banner[2]="3rd image url";
banner[3]="4th image url";
banner[4]="5th image url";
var random=Math.round(4*Math.random());

document.write("<style>");
document.write("#header {");
document.write(' background:url("' + banner[random] + '") no-repeat left TOP;');
document.write(" }");
document.write("</style>");
</script>
you are done...:)
If any problem with this blogger trick please leave comment,don't hesitate to ask,we are happy to help you:)

{ 1 comments... read them below or add one }

ACT House and Landscaping Maintenance said...

In the present stressful life, you need to live in a beautiful space for having peace of mind Landscaping and garden maintenance services are trending all over the world and changing the meaning of what living in a green looks like. Landscaping and gardening make your personal space more mesmerizing and pleasant as well as benefit your health and mind.

You need to be really genius for landscaping and gardening and thus professionals are needed to do it in best way. Thus, the best way is to hire professionals for garden landscaping maintenance in Canberra. They know exactly which plant will suit at what place in your garden to plant the right green at the right place.

Post a Comment