Skip to content

граничные случаи #1

Description

@uncle-ben-s

Заюзал ваш плагин. Немного правда переделал его, но суть вопроса не меняется.
На следующем примере видно недоработку.
<input type="range" step="2" min="170" max="189" value="170,180"/>
inter_value = this.value * one_step; $one.width(inter_value);
перекрывает второй ползунок.
Решение: inter_value = (this.value - $this.attr('min')) * one_step;
во всех местах где прописывается эта ширина.
Спасибо за плагин.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions