473,320 Members | 1,861 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,320 software developers and data experts.

Can you detect when a browser slide bar is moved?

I want to create a routine that detects when the browser scroll/slider
bar is moved, executing a JavaScript() function,.....is this possible
at all?

Jul 23 '05 #1
13 1684
On 14 Feb 2005 21:08:20 -0800 Matt MC wrote:
I want to create a routine that detects when the browser scroll/slider
bar is moved, executing a JavaScript() function,.....is this possible
at all?


Why is it people always want to try to take 100% control of MY browser?
There are some things that are meant NOT to be touched.
Please leave it alone thank you.
All that will do is force your visitors to leave, quickly.
Jul 23 '05 #2
Richard wrote :
On 14 Feb 2005 21:08:20 -0800 Matt MC wrote:
I want to create a routine that detects when the browser scroll/slider
bar is moved, executing a JavaScript() function,.....is this possible
at all?


Why is it people always want to try to take 100% control of MY browser?
There are some things that are meant NOT to be touched.
Please leave it alone thank you.
All that will do is force your visitors to leave, quickly.


He didnt say he wanted to take control of it. He said that he wanted to
detect it.

--
dance with children in the rain

Jul 23 '05 #3
Matt MC wrote:
I want to create a routine that detects when the browser scroll/slider
bar is moved, executing a JavaScript() function,.....is this possible
at all?


Read this thoroughly:

<URL:http://www.quirksmode.org/viewport/compatibility.html>

Attempting any viewport dimension detection and logic is fraught
with danger. You may be interested in scrollLeft - abuse at your
own peril.
--
Fred
Jul 23 '05 #4
On Mon, 14 Feb 2005 23:20:38 -0600, "Richard" <An*******@127.001>
wrote:
Why is it people always want to try to take 100% control of MY browser?


Because for you, RtS, we think we'd do a better job of driving it.

Jul 23 '05 #5
Matt MC wrote:
I want to create a routine that detects when the browser scroll/slider
bar is moved, executing a JavaScript() function,.....is this possible
at all?

You may be interested in scrollLeft - no, forget it. I just noticed
someone else has posted that answer with the URL as well, so ignore me.

One thing springs to mind though... *why8 do you want to detect it? You
obviously want to do something and (frankly) I'd rather you didn't. Its
my browser, set up my way at my chosen size doing what I choose to let
it do. Please don't interfere with it.
Jul 23 '05 #6
Matt MC wrote:
I want to create a routine that detects when the browser scroll/slider
bar is moved, executing a JavaScript() function,.....is this possible
at all?

Can a TV company detect when I turn up teh volume on my television set?

--
www.fixaphoto.co.uk
for photographic restorations
Jul 23 '05 #7
Els
Fat Sam wrote:
Matt MC wrote:
I want to create a routine that detects when the browser
scroll/slider bar is moved, executing a JavaScript()
function,.....is this possible at all?

Can a TV company detect when I turn up teh volume on my
television set?


Only if you live next door to them :-)

--
Els http://locusmeus.com/
Sonhos vem. Sonhos vão. O resto é imperfeito.
- Renato Russo -
Now playing: Squeeze - Dr. Jazz
Jul 23 '05 #8
Fat Sam wrote:
Can a TV company detect when I turn up teh volume on my television

set?

Actually depending on the system, the capabilities to do so are there.

--
-=tn=-

Jul 23 '05 #9
Fat Sam wrote:
Can a TV company detect when I turn up teh volume on my television

set?

They don't need to. They do it for you when the commercials come on.

Jul 23 '05 #10
Yep, actually this is for a <iframe> area with a terms of use
agreement, that I want people to completely read before triggering an
event.

Jul 23 '05 #11
Matt MC wrote:
Matt MC wrote:
I want to create a routine that detects when the browser scroll/slider
bar is moved, executing a JavaScript() function,.....is this possible
at all?
... actually this is for a <iframe> area with a terms of use
agreement, that I want people to completely read before triggering an
event.


Use a form with a submitbutton ("accepted") at the end of the terms of use.
If it's a long text, split the text up in smaller parts. At the bottom of
each part buttons like "Read part 1", "Read part 2", "Part 3" ... Acceptance
only possible when all parts are opened.
Since it seems to be important: use server side scripting instead of JS.

--
Nico
http://www.nicoschuyt.nl
Jul 23 '05 #12
Matt MC wrote:
Yep, actually this is for a <iframe> area with a terms of use
agreement, that I want people to completely read before triggering an
event.


You can't guarantee that they actually read anything. If you
want them to scroll to the bottom, put your accept/decline
buttons at the very bottom of the iFrame.
--
Fred
Jul 23 '05 #13
Google groups seems to have something like the OT requested, that
causes a "Topic:" <div> overlay when the scrollbar is moved past a
certain point. Not sure how they did it though.........

Jul 23 '05 #14

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: selowan | last post by:
Hi, In VB6 Pro SP5, I have a form that contains an MSFlexGrid and a few other textboxes and comboboxes. I am using the technique from MSDN article Q241355, which describes how to tab and edit in...
15
by: Andrew | last post by:
Last night I was reading about implementing my own stack. The example given pushes items on and off the stack at the start and end of each procedure (ie. in a std module). What's not so clear is...
0
by: Ata | last post by:
Hello, I am trying to copy the contents of the output of SQL Reporting Services to a PowerPoint slide. For this, I am using SQL Reporting Services to obtain an IMAGE stream, which I paste to the...
1
by: onewebclick | last post by:
Is there a way to detect a browser cache is full using javascript or HTML thorugh a web page and inform the user to clear the cache to improve performance of the website. It looks like google's...
9
by: hzgt9b | last post by:
I am using a web browser control to display some PPT slides saved as HTML. My client has recently asked that the background of the browser be changed to sonething other than white so that the...
5
by: Daniel | last post by:
how to detect who redirects traffic to a aspx page? is this info passed along in request object or can sites anonymously redirect traffic to other sites?
6
by: hb | last post by:
Hi, Would you please tell me how to detect if the client's browser is closed? I need such event to trigger a database modification. Thank you hb
1
by: timnels | last post by:
I have a control that paints a borderless form below it to act as a grid combo box. When the parent for is moved I need the control to detect that the parent form is moving/moved and move the...
7
by: raylaur | last post by:
I'm using a javascript "slide" function to move a <div> layer in 10 pixel increments from one location on a page to another. The layer contains a GIF image. It's basically a side panel that flies out...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

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.