tkahn/Smooth-Div-Scroll — pull request #16 by richleland (2012-07-03 15:48:41+00:00)
Title: Added setupComplete trigger and Makefile that uses uglify.js

I ran into an issue where I couldn't call ```jumpToElement``` because the position of the elements inside the scrollableArea wasn't yet calculated. The position of the target element was always ```0``` so no jump would occur. To get around this I added a ```setupComplete``` trigger that allows users to know when those position calculations are complete. This allows the following code to be possible:

```
var someElement = $("#some-element");
someElement.smoothDivScroll({
mousewheelScrolling: false,
manualContinuousScrolling: false,
visibleHotSpotBackgrounds: "always",
setupComplete: function() {
someElement.smoothDivScroll("jumpToElement", "id", "another-element");
}
});
```

I've also added a Makefile that contains one item - ```uglify``` that runs uglify.js and outputs to ```js/jquery.smoothdivscroll-1.2-min.js```. This allows you to run ```make``` and have the js minification taken care of.