chbrandt
01-14-2007, 09:05 PM
I dont know if this exists or would have to be written, but how hard would it be to make a javascript that would randomly choose between 6 different include files, onload or refresh, and display just one of the include files. The reason I want to do this may sound goofy, but it's the best way I can think of to do what I'm trying to do..I'm making a website with a main graphic at the top, image rollovers with mouseover effects and then content. The content will stay the same on each page, but if the page is refreshed or revisited, I want the top graphic and rollovers and surrounding background images to change, so the whole page looks different, but has the same content. I was going to do this with one huge background image using CSS, but if I do that, I cant change the rollover buttons with a style switcher, so I just decided to make the 6 individual pages and use an include file script that would randomly choose one of the 6 pages..any ideas?