aboutsummaryrefslogblamecommitdiffstats
path: root/view/contact_slider.tpl
blob: 9b8a523204b1d1aa3149d07373cd8dedf802284f (plain) (tree)
1
2
3
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>