• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 221
  • Last Modified:

jquery scroll

I have two boxes with a scroll bar respectively on a page,

how do I achieve this with jquery? when I scroll the first box, the second scrolls simultaneously, and their scroll bar are on the same position all the time.
1 Solution
If you are using jquery's slider widget, you can fire an event on slide on any of the sliders and get/set the value of a slider through it's value method.

This way.
thisValue = get this slider slideValue
set other slider slideValue = thisValue

For further reference check:

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now