oh i should have been using "ui.value" instead:
$('.borge').css('height', ui.value * 10);
i guess - this seems to work.
On Jan 4, 7:51 pm, Janmansilver <[email protected]> wrote:
> I want to scale images via Jquery's UI slider much like this:
>
> $('.imageExample').css('height', ui.handle.css('left'));
>
> But I don't want to do it in a "ratio 1:1 way" i would like to say:
>
> $('.imageExample').css('height', ui.handle.css('left') / 200 * 100 );
>
> But this does not work? How do I do math operations in Jquery /
> JavaScript correctly?