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