does anyone know how to make a website that has a background that changes every time you go to the home page just like the tumblr home page.

There are variety of ways to accomplish this, but a simple solution may include assinging a random background image to the page every time the page is loaded.

This would involve storing the path of the images in a javascript array and generating a random number within the length of the array. This random number will be used for selecting the array index that holds the picture for the background image.

Here's a demo:

The script may look something like this...

  var backImg = [

var rnd = Math.floor(Math.random() * backImg.length);   

if (document.body){ = 'url(' + backImg[rnd] + ')';

Why dont you give it a try, post some of your own code and see if you can build upon the sample above..

try aimated gif or use refresh component and serve different version of the page. but best is to use javascript or php