aboutsummaryrefslogtreecommitdiffstats
path: root/mod/network.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/network.php')
-rw-r--r--mod/network.php21
1 files changed, 21 insertions, 0 deletions
diff --git a/mod/network.php b/mod/network.php
index 5ce7a9b57..a136e12d6 100644
--- a/mod/network.php
+++ b/mod/network.php
@@ -89,6 +89,27 @@ function network_init(&$a) {
);
}
+ $a->page['content'] .= '<div id="slider-range" class="ui-slider ui-slider-horizontal ui-widget ui-widget-content ui-corner-all">
+<div class="ui-slider-range ui-widget-header" style="margin-left: 30px; margin-right: 30px;"></div>
+<a class="ui-slider-handle ui-state-default ui-corner-all" href="#" style="left: 0%;"></a>
+<a class="ui-slider-handle ui-state-default ui-corner-all" href="#" style="left: 100%;"></a>
+</div>
+ <script>
+ $(function() {
+ $( "#slider-range" ).slider({
+ range: true,
+ min: 0,
+ max: 500,
+ values: [ 75, 300 ],
+ slide: function( event, ui ) {
+ $( "#amount" ).val( "$" + ui.values[ 0 ] + " - $" + ui.values[ 1 ] );
+ }
+ });
+ $( "#amount" ).val( "$" + $( "#slider-range" ).slider( "values", 0 ) +
+ " - $" + $( "#slider-range" ).slider( "values", 1 ) );
+ });
+ </script>
+';
// search terms header