File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes HTML, CSS and JavaScript and the fly likes Scrollbars, simultaneously Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Scrollbars, simultaneously" Watch "Scrollbars, simultaneously" New topic
Author

Scrollbars, simultaneously

Robertovich Wartins
Greenhorn

Joined: Nov 21, 2006
Posts: 16
Hello,

question about scrollbars: i need, that one scrollbar is scrolling if another scrollbar is scrolled (both are scrolling simultaneously). How can this be done?
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
look into onscroll and scrollTop or scrollLeft

Eric
Robertovich Wartins
Greenhorn

Joined: Nov 21, 2006
Posts: 16
thanks

this is solution:


and this is example code (maybe some one needs), but works only on IE (firefox seems to doesn't support onScroll):

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Scrollbars, simultaneously