473,395 Members | 1,581 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

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 1046
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: venkatesh | last post by:
Hi Members, I have used the below mentioned code to open a html page in a new browser. The window size is 200 x 300. In that browser, I've given code to open another browser of the same size....
4
by: HolaGoogle | last post by:
hi there, i've 2 questions for you guys.... 1: is there any way to "force" a session_onend(), session timeout or at least call my logout method when a user leaves the application window without...
3
by: Mel | last post by:
is it possible to place a large number of URL's in a scrolled window inside my broser page ? i can not place one URL on each line and generate 100's of pages thanks Mel
3
by: Fred Atkinson | last post by:
I've installed the following Javascript on my Web page and it is working fine. It brings up a little pop up message (not an ad). <script language="JavaScript"><!--...
6
by: Mel | last post by:
is it possible to have URL links inside a list box ? WITHOUT the use of JavaScript? thanks for your help Mel
1
by: PWalker | last post by:
Hi, I have several webpages that have around 50+ thumbnail images in it in a table structure spanning (3 columns) x (17+ rows). Each thumbnail is wrapped in the following piece of javascript: ...
9
by: Yaro | last post by:
Hello DB2/NT 8.1.3 Sorry for stupid questions. I am newbe in DB2. 1. How can I read *.sql script (with table and function definitions) into a database? Tool, command... 2. In Project Center...
2
by: lucky33 | last post by:
I am having a problem with locating my database window. I click on the database window in the toolbar but the database window does not pop up. I checked under tools and startup and the check is...
4
by: greg | last post by:
I am able to use the PIL module to capture a screen or specific window. My problem is when capturing a window (on windows XP) I can only capture the "visible" portion of the window. Is there any...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.