]> source.dussan.org Git - jquery-ui.git/commitdiff
#4318 - Added visual test page
authorRichard Worth <rdworth@gmail.com>
Wed, 18 Mar 2009 08:53:21 +0000 (08:53 +0000)
committerRichard Worth <rdworth@gmail.com>
Wed, 18 Mar 2009 08:53:21 +0000 (08:53 +0000)
tests/visual/slider/slider_method_destroy.html [new file with mode: 0644]

diff --git a/tests/visual/slider/slider_method_destroy.html b/tests/visual/slider/slider_method_destroy.html
new file mode 100644 (file)
index 0000000..4d827cf
--- /dev/null
@@ -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>