renovvations

This commit is contained in:
Ilya Kantor 2015-01-25 18:32:03 +03:00
parent a7c6244292
commit c326ee9cb9
17 changed files with 13 additions and 32 deletions

View file

@ -1,4 +1,3 @@
# Сопоставление значения и слайдера
Как сопоставить позицию слайдера и значение?
@ -24,5 +23,4 @@ pixelsPerValue = (sliderElem.clientWidth-thumbElem.clientWidth) / max;
value = Math.round( newLeft / pixelsPerValue);
```
# Полное решение