artdirectoreric
Instructor
I am redesigning a golf site and the owner wants to swap out a photo in the upper-left corner every time the page is visited. The problem is this photo is screened back and behind the navigation bars. In other words, it's broken up into about 7 different pieces. I can easily name all of the photos so they form a set, like photo1_1, photo2_1, photo3_1, photo4_1, etc., etc. What I would then need is a way to randomly generate a number and use that variable to tell the code which set of pictures to display. I realize this is probably for the javascript forum, but I wanted to start here.