Grow your CSS skills. Land your dream job.

Random picture

  • # December 25, 2009 at 12:41 pm

    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

    # December 25, 2009 at 2:31 pm

    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

    # December 25, 2009 at 5:23 pm

    I think you are right. I have done some research online and I came to the same conclusion.
    Thanks

    # December 27, 2009 at 10:53 pm

    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.

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".