Only 44 hours left in the trailboss' kickstarter!

New rewards and stretch goals. CLICK HERE!



Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Scrollbars, simultaneously  RSS feed

 
Robertovich Wartins
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
look into onscroll and scrollTop or scrollLeft

Eric
 
Robertovich Wartins
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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):

 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!