aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-07-18 23:11:20 -0700
committerfriendica <info@friendica.com>2012-07-18 23:11:20 -0700
commitf0fd22d01bbf57dd5d50e36f6b1e1a1cc7bd2af5 (patch)
tree14563cbffa421058c11a3293acc484b32cdf28fc /view
parentd92a4a686dd989613cfb628896902c7a4f21c522 (diff)
downloadvolse-hubzilla-f0fd22d01bbf57dd5d50e36f6b1e1a1cc7bd2af5.tar.gz
volse-hubzilla-f0fd22d01bbf57dd5d50e36f6b1e1a1cc7bd2af5.tar.bz2
volse-hubzilla-f0fd22d01bbf57dd5d50e36f6b1e1a1cc7bd2af5.zip
dynamically building the page query - start simple
Diffstat (limited to 'view')
-rw-r--r--view/main_slider.tpl8
1 files changed, 7 insertions, 1 deletions
diff --git a/view/main_slider.tpl b/view/main_slider.tpl
index a559eae22..8792fe1dc 100644
--- a/view/main_slider.tpl
+++ b/view/main_slider.tpl
@@ -1,4 +1,10 @@
<div id="slider" style="height: 32px; position: relative; left: 5%; width: 90%;"><input id="main-range" type="text" name="cminmax" value="0;99" /></div>
<script>
- $("#main-range").slider({ from: 0, to: 99, step: 1, scale: ['$me', '$intimate', '|', '$friends', '|', '$coworkers', '|', '$oldfriends', '|', '$acquaintances', '|', '$world' ] });
+ $("#main-range").slider({ from: 0, to: 99, step: 1, scale: ['$me', '$intimate', '|', '$friends', '|', '$coworkers', '|', '$oldfriends', '|', '$acquaintances', '|', '$world' ], onstatechange: function(v) {
+ var carr = v.split(";");
+ network_cmin = carr[0];
+ network_cmax = carr[1];
+ var newcmd = buildCmd();
+ var f;
+ } });
</script>