jQuery Slider Gallery (slider with Scrollbar) stopped working after Update to jQuery 1.5
<p>I love the Slider Gallery on <a href="http://jqueryfordesigners.com/slider-gallery/" rel="nofollow">http://jqueryfordesigners.com/slider-gallery/</a>, but unfortunately it stopped working after I updated jquery + jqueryUI. Any Ideas, how to improve the code [Or an similar Tutorial/Script], to get it back to work? The javascript looks like this:</p>

<pre><code>window.onload = function () {
        var container = $('div.sliderGallery');
        var ul = $('ul', container);

        var itemsWidth = ul.innerWidth() - container.outerWidth();

        $('.slider', container).slider({
            min: 0,
            max: itemsWidth,
            handle: '.handle',
            stop: function (event, ui) {
                ul.animate({'left' : ui.value * -1}, 500);
            },
            slide: function (event, ui) {
                ul.css('left', ui.value * -1);
            }
        });
    };
</code></pre>

<p>The HTML/CSS is pretty simple; An Container (the div.SliderGallery) with hidden Overflow and 100% width, an ul with the Content inside and the Scrollbar in a div. Works fine with an old jQuery-Version (1.3 or something), but doesn't do anything with V1.5.</p>

<p>Thank you very much, </p>

<p>Best regards</p>

<p>Lucas</p>
