hey guys, I've already used the jqueryUI draggable function to implement drag&drop behaviour.
This time I wonder if it is easily possible to implement a drag-behaviour to a horizontal scrollbar?
E.g. I have a div-container with images and paragraphs in it. The container has overflow-x scroll and so a scrollbar appears and lets me scroll horizontally through all contents of the container.
Is it possible to implement a drag behaviour so when I click on an image i can drag the entire inner-contents of the container horizontally within the bounds of the container.
sounds complicated I know :) but my plan is actually really simpel. check out this example: http://jsfiddle.net/TT9hq/2/
I just want to be able to drag the contents inside of each horizontal-scrollbar-container like I would use the scrollbar itself.