469,573 Members | 1,551 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,573 developers. It's quick & easy.

Question about window being scrolled

Hi,

Ok, I want to know if it's possible to let some javascript "monitoring" function know if the browser
window is currently being scrolled, either via the scroll wheel or via the vertical handle. I want
to stop a certain piece of code from executing (it uses the settimeout callback) while the user
scrolls up or down and then resume when the scroll has ended.

I could repeatedly check for changes in scroll value but I'm curious to know if such a thing is, so
to speak, built-in.

Thanks
Nov 21 '06 #1
1 993
Henri wrote:
Hi,

Ok, I want to know if it's possible to let some javascript "monitoring"
function know if the browser window is currently being scrolled, either
via the scroll wheel or via the vertical handle. I want to stop a
certain piece of code from executing (it uses the settimeout callback)
while the user scrolls up or down and then resume when the scroll has
ended.

I could repeatedly check for changes in scroll value but I'm curious to
know if such a thing is, so to speak, built-in.

Thanks
don't bother: I just came across the onscroll event.
Nov 21 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by venkatesh | last post: by
3 posts views Thread by Mel | last post: by
3 posts views Thread by Fred Atkinson | last post: by
6 posts views Thread by Mel | last post: by
9 posts views Thread by Yaro | last post: by
2 posts views Thread by lucky33 | last post: by
4 posts views Thread by greg | last post: by
reply views Thread by suresh191 | last post: by
4 posts views Thread by guiromero | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.