After including jQueryUI the only javascript is:
$("#scrollbox").draggable({
axis: 'y',
drag: function(event, ui) {
$(document).scrollTop(ui.position.top);
},
});
The document scrolling has compounding effect on the drag-able div (which I thought had a fixed position). It causes the scroll to run away. Take out the document scrolling and it works fine, just without that page scrolling I want.
Any ideas?
Thanks!