detect clicking scroll bar 
Author Message
 detect clicking scroll bar
How can I detect that the user is click on the scroll bar but not the
content in an element which is overflow property is set to "scroll"?

--
____________________
Leo Chan



Mon, 21 Jul 2003 13:58:36 GMT  
 detect clicking scroll bar
You can capture scrolling

<DIV ONSCROLL="alert(event.type)"
     STYLE="overflow: scroll;
            width: 200px; height: 200px;"
<SCRIPT>
for (var i = 0; i < 30; i++)
  document.write(i + ' Kibology<BR>');
</SCRIPT>
</DIV>

Quote:

> How can I detect that the user is click on the scroll bar but not the
> content in an element which is overflow property is set to "scroll"?

> --
> ____________________
> Leo Chan

--

        Martin Honnen
        http://javascript.faqts.com/
        http://home.t-online.de/home/martin.honnen/jsgoddies.html



Tue, 22 Jul 2003 21:07:52 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Detect clicking of scroll bar

2. Detect when Vertical scroll bar is present?

3. vertical scroll bars to scroll a maximized form??

4. Scroll bar colors

5. embedded scroll bar problems...

6. disable a scroll bar?

7. print of SPAN with scroll bars - how to?

8. Can listbox display horizontall scroll bar?

9. Scroll bars- hta's again (Michael H.)

10. Scroll bars- hta's again

11. Replacing a scroll bar

12. Scroll bars- hta's again

 

 
Powered by phpBB® Forum Software