diff options
Diffstat (limited to 'view/tpl/smarty3/contact_slider.tpl')
-rw-r--r-- | view/tpl/smarty3/contact_slider.tpl | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/view/tpl/smarty3/contact_slider.tpl b/view/tpl/smarty3/contact_slider.tpl new file mode 100644 index 000000000..33cd3fb71 --- /dev/null +++ b/view/tpl/smarty3/contact_slider.tpl @@ -0,0 +1,4 @@ +<div id="contact-slider" class="slider" style="height: 32px; position: relative; left: 5%; width: 90%;"><input id="contact-range" type="text" name="fake-closeness" value="{{$val}}" /></div> +<script> + $("#contact-range").slider({ from: 0, to: 99, step: 1, scale: ['{{$me}}', '|', '{{$intimate}}', '|', '{{$friends}}', '|', '{{$oldfriends}}', '|', '{{$acquaintances}}', '|', '{{$world}}' ], onstatechange: function(v) { $("#contact-closeness-mirror").val(v); } }); +</script> |