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