W e b F a c e
E f f e c t s

Moving Backgrounds

Moving backgrounds are created by using a layer of images that is moved behind the rest of the web page using JavaScript code. The background layer is a table of images that covers the entire web page. This layer needs to be one image longer than what is displayed so as the background layer is moved, more background comes in. The background is moved using the setTimeout function of JavaScript allowing the browser time to react to other events like mouse clicks.


Source Code