aboutsummaryrefslogtreecommitdiffstats
path: root/demos/slider
diff options
context:
space:
mode:
Diffstat (limited to 'demos/slider')
-rw-r--r--demos/slider/colorpicker.html2
-rw-r--r--demos/slider/default.html2
-rw-r--r--demos/slider/hotelrooms.html2
-rw-r--r--demos/slider/multiple-vertical.html2
-rw-r--r--demos/slider/range-vertical.html2
-rw-r--r--demos/slider/range.html2
-rw-r--r--demos/slider/rangemax.html2
-rw-r--r--demos/slider/rangemin.html2
-rw-r--r--demos/slider/side-scroll.html16
-rw-r--r--demos/slider/slider-vertical.html2
-rw-r--r--demos/slider/steps.html2
11 files changed, 18 insertions, 18 deletions
diff --git a/demos/slider/colorpicker.html b/demos/slider/colorpicker.html
index f453a7c81..e6776805e 100644
--- a/demos/slider/colorpicker.html
+++ b/demos/slider/colorpicker.html
@@ -4,7 +4,7 @@
<meta charset="utf-8">
<title>jQuery UI Slider - Colorpicker</title>
<link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
- <script src="../../jquery-1.8.3.js"></script>
+ <script src="../../jquery-1.9.0.js"></script>
<script src="../../ui/jquery.ui.core.js"></script>
<script src="../../ui/jquery.ui.widget.js"></script>
<script src="../../ui/jquery.ui.mouse.js"></script>
diff --git a/demos/slider/default.html b/demos/slider/default.html
index 5092c6697..461a79967 100644
--- a/demos/slider/default.html
+++ b/demos/slider/default.html
@@ -4,7 +4,7 @@
<meta charset="utf-8" >
<title>jQuery UI Slider - Default functionality</title>
<link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
- <script src="../../jquery-1.8.3.js"></script>
+ <script src="../../jquery-1.9.0.js"></script>
<script src="../../ui/jquery.ui.core.js"></script>
<script src="../../ui/jquery.ui.widget.js"></script>
<script src="../../ui/jquery.ui.mouse.js"></script>
diff --git a/demos/slider/hotelrooms.html b/demos/slider/hotelrooms.html
index 24b6672a1..fd2445fd8 100644
--- a/demos/slider/hotelrooms.html
+++ b/demos/slider/hotelrooms.html
@@ -4,7 +4,7 @@
<meta charset="utf-8">
<title>jQuery UI Slider - Slider bound to select</title>
<link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
- <script src="../../jquery-1.8.3.js"></script>
+ <script src="../../jquery-1.9.0.js"></script>
<script src="../../ui/jquery.ui.core.js"></script>
<script src="../../ui/jquery.ui.widget.js"></script>
<script src="../../ui/jquery.ui.mouse.js"></script>
diff --git a/demos/slider/multiple-vertical.html b/demos/slider/multiple-vertical.html
index 0ce36d50f..bc5bfc399 100644
--- a/demos/slider/multiple-vertical.html
+++ b/demos/slider/multiple-vertical.html
@@ -4,7 +4,7 @@
<meta charset="utf-8">
<title>jQuery UI Slider - Multiple sliders</title>
<link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
- <script src="../../jquery-1.8.3.js"></script>
+ <script src="../../jquery-1.9.0.js"></script>
<script src="../../ui/jquery.ui.core.js"></script>
<script src="../../ui/jquery.ui.widget.js"></script>
<script src="../../ui/jquery.ui.mouse.js"></script>
diff --git a/demos/slider/range-vertical.html b/demos/slider/range-vertical.html
index d024aee2c..4effaf7bc 100644
--- a/demos/slider/range-vertical.html
+++ b/demos/slider/range-vertical.html
@@ -4,7 +4,7 @@
<meta charset="utf-8">
<title>jQuery UI Slider - Vertical range slider</title>
<link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
- <script src="../../jquery-1.8.3.js"></script>
+ <script src="../../jquery-1.9.0.js"></script>
<script src="../../ui/jquery.ui.core.js"></script>
<script src="../../ui/jquery.ui.widget.js"></script>
<script src="../../ui/jquery.ui.mouse.js"></script>
diff --git a/demos/slider/range.html b/demos/slider/range.html
index fce03e3fe..8ee4026f0 100644
--- a/demos/slider/range.html
+++ b/demos/slider/range.html
@@ -4,7 +4,7 @@
<meta charset="utf-8">
<title>jQuery UI Slider - Range slider</title>
<link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
- <script src="../../jquery-1.8.3.js"></script>
+ <script src="../../jquery-1.9.0.js"></script>
<script src="../../ui/jquery.ui.core.js"></script>
<script src="../../ui/jquery.ui.widget.js"></script>
<script src="../../ui/jquery.ui.mouse.js"></script>
diff --git a/demos/slider/rangemax.html b/demos/slider/rangemax.html
index 85385a232..87c79994e 100644
--- a/demos/slider/rangemax.html
+++ b/demos/slider/rangemax.html
@@ -4,7 +4,7 @@
<meta charset="utf-8">
<title>jQuery UI Slider - Range with fixed maximum</title>
<link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
- <script src="../../jquery-1.8.3.js"></script>
+ <script src="../../jquery-1.9.0.js"></script>
<script src="../../ui/jquery.ui.core.js"></script>
<script src="../../ui/jquery.ui.widget.js"></script>
<script src="../../ui/jquery.ui.mouse.js"></script>
diff --git a/demos/slider/rangemin.html b/demos/slider/rangemin.html
index 8aec589f0..04e54f06c 100644
--- a/demos/slider/rangemin.html
+++ b/demos/slider/rangemin.html
@@ -4,7 +4,7 @@
<meta charset="utf-8">
<title>jQuery UI Slider - Range with fixed minimum</title>
<link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
- <script src="../../jquery-1.8.3.js"></script>
+ <script src="../../jquery-1.9.0.js"></script>
<script src="../../ui/jquery.ui.core.js"></script>
<script src="../../ui/jquery.ui.widget.js"></script>
<script src="../../ui/jquery.ui.mouse.js"></script>
diff --git a/demos/slider/side-scroll.html b/demos/slider/side-scroll.html
index 7dff3831c..1be75da54 100644
--- a/demos/slider/side-scroll.html
+++ b/demos/slider/side-scroll.html
@@ -4,7 +4,7 @@
<meta charset="utf-8">
<title>jQuery UI Slider - Slider scrollbar</title>
<link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
- <script src="../../jquery-1.8.3.js"></script>
+ <script src="../../jquery-1.9.0.js"></script>
<script src="../../ui/jquery.ui.core.js"></script>
<script src="../../ui/jquery.ui.widget.js"></script>
<script src="../../ui/jquery.ui.mouse.js"></script>
@@ -25,7 +25,7 @@
//scrollpane parts
var scrollPane = $( ".scroll-pane" ),
scrollContent = $( ".scroll-content" );
-
+
//build slider
var scrollbar = $( ".scroll-bar" ).slider({
slide: function( event, ui ) {
@@ -38,7 +38,7 @@
}
}
});
-
+
//append icon to handle
var handleHelper = scrollbar.find( ".ui-slider-handle" )
.mousedown(function() {
@@ -49,10 +49,10 @@
})
.append( "<span class='ui-icon ui-icon-grip-dotted-vertical'></span>" )
.wrap( "<div class='ui-handle-helper-parent'></div>" ).parent();
-
+
//change overflow to hidden now that slider handles the scrolling
scrollPane.css( "overflow", "hidden" );
-
+
//size scrollbar and handle proportionally to scroll distance
function sizeScrollbar() {
var remainder = scrollContent.width() - scrollPane.width();
@@ -64,7 +64,7 @@
});
handleHelper.width( "" ).width( scrollbar.width() - handleSize );
}
-
+
//reset slider value based on scroll content position
function resetValue() {
var remainder = scrollPane.width() - scrollContent.width();
@@ -73,7 +73,7 @@
var percentage = Math.round( leftVal / remainder * 100 );
scrollbar.slider( "value", percentage );
}
-
+
//if the slider is 100% and window gets larger, reveal content
function reflowContent() {
var showing = scrollContent.width() + parseInt( scrollContent.css( "margin-left" ), 10 );
@@ -82,7 +82,7 @@
scrollContent.css( "margin-left", parseInt( scrollContent.css( "margin-left" ), 10 ) + gap );
}
}
-
+
//change handle position on window resize
$( window ).resize(function() {
resetValue();
diff --git a/demos/slider/slider-vertical.html b/demos/slider/slider-vertical.html
index 264ef2a2c..fa6b21069 100644
--- a/demos/slider/slider-vertical.html
+++ b/demos/slider/slider-vertical.html
@@ -4,7 +4,7 @@
<meta charset="utf-8">
<title>jQuery UI Slider - Vertical slider</title>
<link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
- <script src="../../jquery-1.8.3.js"></script>
+ <script src="../../jquery-1.9.0.js"></script>
<script src="../../ui/jquery.ui.core.js"></script>
<script src="../../ui/jquery.ui.widget.js"></script>
<script src="../../ui/jquery.ui.mouse.js"></script>
diff --git a/demos/slider/steps.html b/demos/slider/steps.html
index bd5e8906a..d618725c7 100644
--- a/demos/slider/steps.html
+++ b/demos/slider/steps.html
@@ -4,7 +4,7 @@
<meta charset="utf-8">
<title>jQuery UI Slider - Snap to increments</title>
<link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
- <script src="../../jquery-1.8.3.js"></script>
+ <script src="../../jquery-1.9.0.js"></script>
<script src="../../ui/jquery.ui.core.js"></script>
<script src="../../ui/jquery.ui.widget.js"></script>
<script src="../../ui/jquery.ui.mouse.js"></script>