silly js q
- Started
- Last post
- 10 Responses
- DutchBoy
function stopScroll() {
clearTimeout(scrolldelay);
}
-----------why can't i get this to work?? gnn and grr!!!! i think that!!
- DutchBoy0
COME ON! GIMME A FUCKIN CLUE!
- DutchBoy0
*bumpeee!
- DutchBoy0
i always help everyone out here!! grrr..
- DutchBoy0
COME ON NOW!
- DutchBoy0
*weeee!!
- mitsu0
show the rest of the scroll code.
- DutchBoy0
function stopScroll() {
clearTimeout(scrolldelay);
}function pageScroll() {
window.menuframe.scrollBy(0,50); // horizontal and vertical scroll increments
setTimeout('pageScroll()',100); // scrolls every 100 milliseconds
}
-------------it's on an iframe!
thx in advance, man!
and keep smiling.
- mitsu0
change this:
setTimeout('pageScroll()',100);
to this:
scrolldelay = setTimeout('pageScroll()',100);
and be sure to declare 'scrolldelay' outside of any functions
- DutchBoy0
thx!!!! i'll try that, mitsu!
