Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to do random header image?
#1
Hi everyone. I'm trying to improve my sailing clubs website, and was working on a theme for getsimple.
http://www.tdem.co.nz/nbc/

I tried to implement a random header image using this script here:
http://www.alistapart.com/articles/randomizer/

Now, I've tried setting the background image in the css stylesheet by referencing this script, and by hardcoding an image in the template, with the script as source.

In both cases the random image only works if you refresh the page, and even then only sometimes. On my test wordpress install (default theme)
it does work flawlessly on all browsers, but I can't figure out what is used here to accomplish this.

Does anyone know an alternative way of doing this? (Not javascript please)

Any feedback on the theme itself (which isn't finished yet) also welcome.

Thanks, Thomas
Reply


Messages In This Thread
How to do random header image? - by tdem - 2012-10-21, 10:27:32
RE: How to do random header image? - by Carlos - 2012-11-09, 08:22:08
RE: How to do random header image? - by shawn_a - 2012-11-09, 11:36:25
RE: How to do random header image? - by Timbow - 2012-11-09, 23:35:15
RE: How to do random header image? - by shawn_a - 2012-11-10, 00:27:26
RE: How to do random header image? - by Timbow - 2012-11-10, 01:26:54
RE: How to do random header image? - by shawn_a - 2012-11-11, 01:10:20
RE: How to do random header image? - by Timbow - 2012-11-11, 22:55:52
RE: How to do random header image? - by shawn_a - 2012-11-12, 01:36:05
How to do random header image? - by Connie - 2012-10-21, 18:46:40
How to do random header image? - by Carlos - 2012-10-21, 19:33:34
RE: How to do random header image? - by tdem - 2012-11-07, 12:50:02
RE: How to do random header image? - by Timbow - 2012-11-09, 05:49:00
RE: How to do random header image? - by Carlos - 2012-11-09, 06:55:15
RE: How to do random header image? - by Timbow - 2012-11-09, 07:26:02
RE: How to do random header image? - by tdem - 2012-11-09, 11:48:34
RE: How to do random header image? - by Timbow - 2012-11-09, 17:40:55



Users browsing this thread: 2 Guest(s)