another site check!
another site check!
Out of context: Reply #3
- Started
- Last post
- 7 Responses
- jevad0
var x = 0;
var dest = 0;
var distance = 0;
var step = 0;
var destination = 0;function scrollit(destination) {
step = 5;
dest = destination;
if (x<dest) {
while (x dest) {
while (x>dest) {
step += (step / 2000);
if(x >= (0+step))
{
x -= step;
scroll(x,0);
}
else { break; }
}if(dest >= 0) { scroll(dest,0); }
x = dest;
}
if (x<1) {x=1}