
    $('#testDivOut2').append("Scroll value: " + pos + "px");
  });
</pre>


</div>

<script type="text/javascript">
    $(function(){

      $('#testDiv').slimscroll({
        alwaysVisible: true
      }).bind('slimscroll', function(e, pos) {
        $('#testDivOut').append("Reached " + pos + ", ");
      });

      $('#testDiv2').slimscroll().bind('slimscrolling', function(e, pos) {
        $('#testDivOut2').append("Scroll: " + pos + "px, ");
      });

    });
</script>


<script type="text/javascript">
