Scrolling
Backgrounds


How do you like this effect? It's called a scrolling background. It's another very easy effect that goes in your body tag.


Vertical scroll


<body background="URL of your background" yspeed="5">


You can change the numbers to make the background scroll faster or slower. If you want to go in the opposite direction just add a minus sign to the number.

yspeed="-5"


Here's the code to make your background
scroll horizontally

<body background="URL of your background" xspeed="5">

Again any time you want to change to the opposite direction just add a minus sign to the number.

xspeed="-5"


The scroll effect on this page is diagonal, here's the code.

<body background="URL of background" xspeed="2" yspeed="2">


Have Fun!

Note:  This effect does not work well with animated gifs. They will run slowly and maybe not at all.

~Back~


Site Meter