Forum Moderators: open
var i = 1;
var speed = 15;
function scrolldown()
{
var tmp = i;
for (; i<=tmp+716; i++)
{
i += speed;
window.scroll(i,1)
}
}
function scrollup()
{
var tmp = i - 716;
if (tmp <= 0) {
tmp = 1;
}
for (; i>=tmp; i--)
{
i -= speed;
window.scroll(i,716);
}
}
however, in Navigator, when the button is pressed to activate the scroll, the scroll will happen, however when the page gets to the end of the scroll, it automatically jumps back to where it started?
I've never played around with window.scroll(), but that surely is strange behavior you're reporting. I've been staring at your code for a while, and also searching the web for reported problems -- no luck so far.
I'm going to keep at this for you, and in the mean time, maybe someone else can see right through the issue for us both. Hang in there.
[lextalkington.com...]
You'll have to click on v2.0, a pop-up opens and you'll see a move button. In Explorer it works great, just not in navigator.
thanks for any future advice!
Lex