diff options
author | redmatrix <redmatrix@redmatrix.me> | 2015-06-11 15:53:06 -0700 |
---|---|---|
committer | redmatrix <redmatrix@redmatrix.me> | 2015-06-11 15:53:06 -0700 |
commit | bc8840eab5298aef6902ac0751adf91df5232188 (patch) | |
tree | 1e3b6a34a2d94651d6b03b8c179a654f7a7596dd /view/tpl/main_slider.tpl | |
parent | dc7de1299139e79265fe2abece004e907dfb8ed0 (diff) | |
parent | aac9d60f2db4cca4892b6f470a65d19cac7aa0ef (diff) | |
download | volse-hubzilla-bc8840eab5298aef6902ac0751adf91df5232188.tar.gz volse-hubzilla-bc8840eab5298aef6902ac0751adf91df5232188.tar.bz2 volse-hubzilla-bc8840eab5298aef6902ac0751adf91df5232188.zip |
Merge https://github.com/redmatrix/redmatrix into pending_merge
Diffstat (limited to 'view/tpl/main_slider.tpl')
-rwxr-xr-x | view/tpl/main_slider.tpl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/view/tpl/main_slider.tpl b/view/tpl/main_slider.tpl index d88bc1370..a4e2e1925 100755 --- a/view/tpl/main_slider.tpl +++ b/view/tpl/main_slider.tpl @@ -1,7 +1,9 @@ <div id="main-slider" class="slider" ><input id="main-range" type="text" name="cminmax" value="{{$val}}" /></div> <script> +$(document).ready(function() { var old_cmin = 0; var old_cmax = 99; + $("#main-range").jRange({ isRange: true, from: 0, to: 99, step: 1, scale: [{{$labels}}], width:'100%', showLabels: false, onstatechange: function(v) { var carr = v.split(","); if(carr[0] != bParam_cmin) { @@ -32,4 +34,5 @@ page_load = true; liveUpdate(); } +}); </script> |