aspose 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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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
 
Similar Threads
My popup like window wont appear scrollable, help, please.
Issue with scrollbar while printing
Scrolling in a JScrollPane problem
TextArea scrollbar problem
JAVA move vertical scroll bar programatically by moving horizontal scroll bar.