Random Acts of Vanity

I’ve been wanting to create a random header script to make b!c! a little less static. I thought I had figured out the PHP code pretty well, but just wasn’t able to get it to work. Now with some jiggering about with the bits and bobs under the hood, it finally works. Every time b!c! is refreshed the script ought to work its magic and hopefully a new image will appear. Of course it is random, so repeats will occur as well.

At the moment I have 14 images to randomly appear in the header. That number will most likely change now that I know I can get it to work. Some are good, some are works in progress and some are just ideas that should probably be binned. I have other images and ideas to add as well so ultimately they will all be weeded down to a handful that I think are strong.

While I would love to take all the credit for this, I got some help from Rob who has a nice script and offered suggestions via email. All of which were helpful and greatly appreciated.

Share B!C! And Make the World a Better Place:
  • Digg
  • del.icio.us
  • MisterWong
  • Reddit
  • StumbleUpon
  • Technorati

related articles



Leave a Reply