diff options
Diffstat (limited to 'view/contact_slider.tpl')
-rw-r--r-- | view/contact_slider.tpl | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/view/contact_slider.tpl b/view/contact_slider.tpl new file mode 100644 index 000000000..9b8a52320 --- /dev/null +++ b/view/contact_slider.tpl @@ -0,0 +1,4 @@ +<div id="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', '|', '$coworkers', '|', '$oldfriends', '|', '$acquaintances', '|', '$world' ], onstatechange: function(v) { $("#contact-closeness-mirror").val(v); } }); +</script> |