views:

264

answers:

0

I'm trying to make a timeline with jScrollHorizontalPane & jQuery. I've come this far: http://bewoog.nl/isabella/dev/history.html. This timeline starts in the past though and I want it to start in the present, so the scrollbar needs to start on the right side (see the timeline on the british council venice biennale website).

I can imagine the script needs to calculate the width of 'jScrollPaneDrag' and subtract that from the total width of 'jScrollPaneContainer' and add that amount to the left property in the css of 'jScrollPaneDrag', but I don't have a clue how to translate this to jquery. Can anybody help me? Thanks.