aboutsummaryrefslogtreecommitdiffstats
path: root/tests/visual/slider
diff options
context:
space:
mode:
Diffstat (limited to 'tests/visual/slider')
-rw-r--r--tests/visual/slider/slider_method_destroy.html25
1 files changed, 25 insertions, 0 deletions
diff --git a/tests/visual/slider/slider_method_destroy.html b/tests/visual/slider/slider_method_destroy.html
new file mode 100644
index 000000000..4d827cf6a
--- /dev/null
+++ b/tests/visual/slider/slider_method_destroy.html
@@ -0,0 +1,25 @@
+<!doctype html>
+<html lang="en">
+<head>
+ <title>Slider Visual Test : Slider method destroy</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.2.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").slider({
+ range: true,
+ values: [25, 75]
+ });
+ $("#slider").slider("destroy");
+ });
+ </script>
+</head>
+<body>
+
+<div id="slider"></div>
+
+</body>
+</html>