CSS-Tricks is brought to you in part by Media Temple, the web hosting that we both use and recommend.
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.
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.
I think you are right. I have done some research online and I came to the same conclusion.
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.
You must be logged in to reply to this topic.
Search for Stuff
Browse the Archives
Get the Newsletter
... or get the RSS feed