Home | History | Annotate | Download | only in frontend

Lines Matching defs:slider

997 /* Adds a row to the table. The row contains an input box and a slider. */
1008 /* This is similar to slider_input, but uses log scale for the slider. */
1025 /* The common implementation of linear and log-scale sliders. Each slider has
1028 * function update(v) - update the slider (and the text box) to the value v.
1030 * function hide(h) - hide/unhide the slider.
1053 var slider = document.createElement('input');
1054 slider.defaultValue = Math.log(initial_value);
1055 slider.type = 'range';
1056 slider.className = 'nslider';
1057 slider.min = mapping(min_value);
1058 slider.max = mapping(max_value);
1059 slider.step = step;
1060 col_slider.appendChild(slider);
1063 slider.value = mapping(box.value);
1067 slider.onchange = function() {
1068 box.value = inv_mapping(slider.value);
1074 slider.value = mapping(v);
1082 slider.style.visibility = v;