how does this welcome page work

Discussion in 'Web Design and Development' started by waloshin, Mar 29, 2009.

  1. waloshin macrumors 68040

    Oct 9, 2008
  2. FourCandles macrumors 6502a

    Feb 10, 2009
    Not sure how technical an answer you're looking for?

    Basically this page uses a script called rotate.php, which calls a random image from a set stored on the server each time the page is loaded.

    Subtle difference in terminology, but it doesn't call a different image each time, just a random image. If you refresh a few times you'll notice that sometimes it calls the same image twice in a row.

    This idea is far more widely used for random headers or banners; in fact I can't remember having seen a site using it for the whole background image before.

Share This Page