Randomise Header Graphic or Tag Line with .js

From Bloggerhacks

Contents

Platform

This feature is available for use with any blog platform, although the instructions in this hack are written for use with Blogger blogs.

Author

Julie Meloni

Home Page

Using JavaScript to Tandomize Things in Your Blog Template

License

Creative Commons Attribution-NonCommercial-ShareAlike 2.5

Skill Level

You must be comfortable with editing JavaScript and your Blogger template.

Description

This how-to describes a method of randomizing header images or taglines (or both) using JavaScript.

Method

(See detailed instructions at the homepage.)

  1. Obtain code from the instructions.
  2. Edit the code as appropriate to your set of header images and/or taglines.
  3. Insert JavaScript snippet into the head element of your Blogger template, per the instructions.
  4. Insert JavaScript into the body element of your Blogger template, per the instructions.
  5. Re-publish your blog.

Sites Using This Hack

Edit this area and add your own link if you are using this hack.

Screenshot of Hack in Use

Randomised Header Image

Personal tools
FreshTags