diff options
author | friendica <info@friendica.com> | 2012-07-15 22:44:05 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-07-15 22:44:05 -0700 |
commit | 945ac38a7376926c54906a18382eaa1d4b983c03 (patch) | |
tree | 379e6a03ad7c5d6418b14936c9e1bd9d49784606 /view/contact_slider.tpl | |
parent | 92d4e6ebb393e964a4ac23aada09f04a965ce001 (diff) | |
download | volse-hubzilla-945ac38a7376926c54906a18382eaa1d4b983c03.tar.gz volse-hubzilla-945ac38a7376926c54906a18382eaa1d4b983c03.tar.bz2 volse-hubzilla-945ac38a7376926c54906a18382eaa1d4b983c03.zip |
contact edit slider
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> |