The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › CSS › Random picture
Hi Guys
I wonder if anybody out there know if there is a (easy) way of have a random picture appearing on my website’s front page? Ideally I would have about 6/7 pictures that I would like to alternate, giving a bit of fresh look to it. Thanks mimo
I don’t think this can be done with CSS !
I think it is a PHP or JS job.
Someone please correct me if I’m wrong.
Thanks
I think you are right. I have done some research online and I came to the same conclusion. Thanks
Yup, JS and PHP would be your two choices there. I prefer PHP myself, but there are tons of options for both.
If you’re looking for something a little fancier, you can take the jQuery route.