Jump to content


Randomising+CSS


1 reply to this topic

#1 st3wy

    Young Padawan

  • Members
  • Pip
  • 19 posts
  • Location:Australia, Perth

Posted 25 June 2008 - 06:45 AM

Hey guys,

What i will have for my website in progress, is about 5 different coloured banners. What I want to know is, is there a way to have the 5 banners randomised when reloading the website, but also when a specific banner is loaded it will allocate with the same colour of the banner to all the headings to the site

for example, banner1.jpg(blue banner) is loaded, so all the headings that i specify on the site are all hued blue., banner2.jpg(red banner) is loaded, all headers = red... and so on

Thanks in advance

#2 godsdead

    Young Padawan

  • Members
  • Pip
  • 21 posts

Posted 25 June 2008 - 08:40 AM

Yea you can do with with either PHP or javascript, do a quick search for a tut =p





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users