UI Slider -> Mousewheel?
<p>as you may already know I'm new to jQuery, so Code-Improvements not belonging to this theme are still very allowed.</p>

<p>This is my HTML-Code:</p>

<pre><code>&lt;div style="display: inline-block; width: 120px;"&gt;
    &lt;div&gt;
        Bananas:
        &lt;br /&gt;
        &lt;input id="bananas_amount" /&gt;
        &lt;input id="bananas_amount_percent" /&gt;
    &lt;/div&gt;
    &lt;br /&gt;
    &lt;div id="bananas" style="height:200px;"&gt;&lt;/div&gt;
&lt;/div&gt;
</code></pre>

<p>And this is my horrifying js-code:</p>

<pre><code>$( "#bananas" ).slider({
    orientation: "vertical",
    range: "min",
    min: 0,
    max: 100,
    value: 20,
    step: 5,
    slide: function( event, ui ) {
        $( "#bananas_amount_percent" ).val( ui.value + " %" );

            // the code displays a percentage by standart, but I need the real value, too:
            var bananas_amount_percent = $( "#bananas_amount_percent" ).val();
            var bananas_amount_percent = bananas_amount_percent.replace(" %", "");
            var bananas_amount = Math.round((weight / 100) * bananas_amount_percent);
            $( "#bananas_amount" ).val( bananas_amount + " g" );
    }
});
$( "#bananas_amount_percent" ).val( $( "#bananas" ).slider( "value" ) + " %" );

// again the real value (else the value would not be updatet on reload-reset)
var bananas_amount_percent = $( "#bananas_amount_percent" ).val();
var bananas_amount_percent = bananas_amount_percent.replace(" %", "");
var bananas_amount = Math.round((weight / 100) * bananas_amount_percent);
$( "#bananas_amount" ).val( bananas_amount + " g" );
</code></pre>

<p>(weight is 200)</p>

<p>However, it's working, except one "little" detail: not with the mousewheel!
I already found out that I need this extension: <a href="https://github.com/brandonaaron/jquery-mousewheel/downloads" rel="nofollow">https://github.com/brandonaaron/jquery-mousewheel/downloads</a></p>

<p>But I've really absolutely no idea how to implement this to my Slider (I've 5 on my Site btw).</p>

<p>Help pls,
Thx!</p>
