Hello.
The site I am building has a banner. It will be randomly chosen from about 10 different banners on page load. A background image for the page will be chosen depending on the banner loaded.
EXAMPLE:
A person visits my site. The page has a randomly loaded blue banner and thus a blue, checkered background. The visitor goes to another page on the site. That page has a red banner randomly loaded, and thus a red, striped background.
I need a script to do that. It needs to be either Javascript or PHP. Does that make sense?
Thanks in advance.
MegaMan1311
The site I am building has a banner. It will be randomly chosen from about 10 different banners on page load. A background image for the page will be chosen depending on the banner loaded.
EXAMPLE:
A person visits my site. The page has a randomly loaded blue banner and thus a blue, checkered background. The visitor goes to another page on the site. That page has a red banner randomly loaded, and thus a red, striped background.
I need a script to do that. It needs to be either Javascript or PHP. Does that make sense?
Thanks in advance.
MegaMan1311