r1868 - trunk/tests/visual/slider
Author: rdworth
Date: Thu Jan 29 09:06:47 2009
New Revision: 1868
Added:
trunk/tests/visual/slider/slider_horizontal.html (contents, props
changed)
trunk/tests/visual/slider/slider_horizontal_range.html (contents,
props changed)
trunk/tests/visual/slider/slider_horizontal_range_max.html (contents,
props changed)
trunk/tests/visual/slider/slider_horizontal_range_min.html (contents,
props changed)
trunk/tests/visual/slider/slider_vertical.html
- copied, changed from r1864, /trunk/tests/visual/slider/default.html
trunk/tests/visual/slider/slider_vertical_range.html (contents, props
changed)
trunk/tests/visual/slider/slider_vertical_range_max.html (contents,
props changed)
trunk/tests/visual/slider/slider_vertical_range_min.html (contents,
props changed)
Log:
slider visual tests: added horizontal and vertical default and range (true,
min, max) tests
Added: trunk/tests/visual/slider/slider_horizontal.html
==============================================================================
--- (empty file)
+++ trunk/tests/visual/slider/slider_horizontal.html Thu Jan 29 09:06:47
2009
@@ -0,0 +1,24 @@
+<!doctype html>
+<html lang="en">
+<head>
+ <title>Slider Visual Test : Slider horizontal</title>
+ <link rel="stylesheet" href="../visual.css" type="text/css" />
+ <link rel="stylesheet" href="../../../themes/base/ui.all.css"
type="text/css">
+ <script type="text/javascript" src="../../../jquery-1.3.1.js"></script>
+ <script type="text/javascript" src="../../../ui/ui.core.js"></script>
+ <script type="text/javascript" src="../../../ui/ui.slider.js"></script>
+ <script type="text/javascript">
+ $(function() {
+ $("#slider-horizontal").slider({
+ orientation: 'horizontal',
+ value: 50
+ });
+ });
+ </script>
+</head>
+<body>
+
+<div id="slider-horizontal"></div>
+
+</body>
+</html>
Added: trunk/tests/visual/slider/slider_horizontal_range.html
==============================================================================
--- (empty file)
+++ trunk/tests/visual/slider/slider_horizontal_range.html Thu Jan 29
09:06:47 2009
@@ -0,0 +1,25 @@
+<!doctype html>
+<html lang="en">
+<head>
+ <title>Slider Visual Test : Slider horizontal range</title>
+ <link rel="stylesheet" href="../visual.css" type="text/css" />
+ <link rel="stylesheet" href="../../../themes/base/ui.all.css"
type="text/css">
+ <script type="text/javascript" src="../../../jquery-1.3.1.js"></script>
+ <script type="text/javascript" src="../../../ui/ui.core.js"></script>
+ <script type="text/javascript" src="../../../ui/ui.slider.js"></script>
+ <script type="text/javascript">
+ $(function() {
+ $("#slider-horizontal-range").slider({
+ orientation: 'horizontal',
+ range: true,
+ values: [25, 75]
+ });
+ });
+ </script>
+</head>
+<body>
+
+<div id="slider-horizontal-range"></div>
+
+</body>
+</html>
Added: trunk/tests/visual/slider/slider_horizontal_range_max.html
==============================================================================
--- (empty file)
+++ trunk/tests/visual/slider/slider_horizontal_range_max.html Thu Jan 29
09:06:47 2009
@@ -0,0 +1,25 @@
+<!doctype html>
+<html lang="en">
+<head>
+ <title>Slider Visual Test : Slider horizontal range max</title>
+ <link rel="stylesheet" href="../visual.css" type="text/css" />
+ <link rel="stylesheet" href="../../../themes/base/ui.all.css"
type="text/css">
+ <script type="text/javascript" src="../../../jquery-1.3.1.js"></script>
+ <script type="text/javascript" src="../../../ui/ui.core.js"></script>
+ <script type="text/javascript" src="../../../ui/ui.slider.js"></script>
+ <script type="text/javascript">
+ $(function() {
+ $("#slider-horizontal-range-max").slider({
+ orientation: 'horizontal',
+ range: 'max',
+ value: 75
+ });
+ });
+ </script>
+</head>
+<body>
+
+<div id="slider-horizontal-range-max"></div>
+
+</body>
+</html>
Added: trunk/tests/visual/slider/slider_horizontal_range_min.html
==============================================================================
--- (empty file)
+++ trunk/tests/visual/slider/slider_horizontal_range_min.html Thu Jan 29
09:06:47 2009
@@ -0,0 +1,25 @@
+<!doctype html>
+<html lang="en">
+<head>
+ <title>Slider Visual Test : Slider horizontal range min</title>
+ <link rel="stylesheet" href="../visual.css" type="text/css" />
+ <link rel="stylesheet" href="../../../themes/base/ui.all.css"
type="text/css">
+ <script type="text/javascript" src="../../../jquery-1.3.1.js"></script>
+ <script type="text/javascript" src="../../../ui/ui.core.js"></script>
+ <script type="text/javascript" src="../../../ui/ui.slider.js"></script>
+ <script type="text/javascript">
+ $(function() {
+ $("#slider-horizontal-range-min").slider({
+ orientation: 'horizontal',
+ range: 'min',
+ value: 25
+ });
+ });
+ </script>
+</head>
+<body>
+
+<div id="slider-horizontal-range-min"></div>
+
+</body>
+</html>
Copied: trunk/tests/visual/slider/slider_vertical.html (from r1864,
/trunk/tests/visual/slider/default.html)
==============================================================================
--- /trunk/tests/visual/slider/default.html (original)
+++ trunk/tests/visual/slider/slider_vertical.html Thu Jan 29 09:06:47 2009
@@ -1,7 +1,7 @@
<!doctype html>
<html lang="en">
<head>
- <title>Slider Visual Test : Default</title>
+ <title>Slider Visual Test : Slider vertical</title>
<link rel="stylesheet" href="../visual.css" type="text/css" />
<link rel="stylesheet" href="../../../themes/base/ui.all.css"
type="text/css">
<script type="text/javascript" src="../../../jquery-1.3.1.js"></script>
@@ -9,13 +9,16 @@
<script type="text/javascript" src="../../../ui/ui.slider.js"></script>
<script type="text/javascript">
$(function() {
- $("#slider").slider();
+ $("#slider-vertical").slider({
+ orientation: 'vertical',
+ value: 50
+ });
});
</script>
</head>
<body>
-<div id="slider"></div>
+<div id="slider-vertical"></div>
</body>
</html>
Added: trunk/tests/visual/slider/slider_vertical_range.html
==============================================================================
--- (empty file)
+++ trunk/tests/visual/slider/slider_vertical_range.html Thu Jan 29
09:06:47 2009
@@ -0,0 +1,25 @@
+<!doctype html>
+<html lang="en">
+<head>
+ <title>Slider Visual Test : Slider vertical range</title>
+ <link rel="stylesheet" href="../visual.css" type="text/css" />
+ <link rel="stylesheet" href="../../../themes/base/ui.all.css"
type="text/css">
+ <script type="text/javascript" src="../../../jquery-1.3.1.js"></script>
+ <script type="text/javascript" src="../../../ui/ui.core.js"></script>
+ <script type="text/javascript" src="../../../ui/ui.slider.js"></script>
+ <script type="text/javascript">
+ $(function() {
+ $("#slider-vertical-range").slider({
+ orientation: 'vertical',
+ range: true,
+ values: [25, 75]
+ });
+ });
+ </script>
+</head>
+<body>
+
+<div id="slider-vertical-range"></div>
+
+</body>
+</html>
Added: trunk/tests/visual/slider/slider_vertical_range_max.html
==============================================================================
--- (empty file)
+++ trunk/tests/visual/slider/slider_vertical_range_max.html Thu Jan 29
09:06:47 2009
@@ -0,0 +1,25 @@
+<!doctype html>
+<html lang="en">
+<head>
+ <title>Slider Visual Test : Slider vertical range max</title>
+ <link rel="stylesheet" href="../visual.css" type="text/css" />
+ <link rel="stylesheet" href="../../../themes/base/ui.all.css"
type="text/css">
+ <script type="text/javascript" src="../../../jquery-1.3.1.js"></script>
+ <script type="text/javascript" src="../../../ui/ui.core.js"></script>
+ <script type="text/javascript" src="../../../ui/ui.slider.js"></script>
+ <script type="text/javascript">
+ $(function() {
+ $("#slider-vertical-range-max").slider({
+ orientation: 'vertical',
+ range: 'max',
+ value: 75
+ });
+ });
+ </script>
+</head>
+<body>
+
+<div id="slider-vertical-range-max"></div>
+
+</body>
+</html>
Added: trunk/tests/visual/slider/slider_vertical_range_min.html
==============================================================================
--- (empty file)
+++ trunk/tests/visual/slider/slider_vertical_range_min.html Thu Jan 29
09:06:47 2009
@@ -0,0 +1,25 @@
+<!doctype html>
+<html lang="en">
+<head>
+ <title>Slider Visual Test : Slider vertical range min</title>
+ <link rel="stylesheet" href="../visual.css" type="text/css" />
+ <link rel="stylesheet" href="../../../themes/base/ui.all.css"
type="text/css">
+ <script type="text/javascript" src="../../../jquery-1.3.1.js"></script>
+ <script type="text/javascript" src="../../../ui/ui.core.js"></script>
+ <script type="text/javascript" src="../../../ui/ui.slider.js"></script>
+ <script type="text/javascript">
+ $(function() {
+ $("#slider-vertical-range-min").slider({
+ orientation: 'vertical',
+ range: 'min',
+ value: 25
+ });
+ });
+ </script>
+</head>
+<body>
+
+<div id="slider-vertical-range-min"></div>
+
+</body>
+</html>