jquery-ui/tests/visual/slider/slider_method_destroy.html

28 lines
862 B
HTML

<!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/jquery.ui.all.css" type="text/css">
<script type="text/javascript" src="../../../jquery-1.4.1.js"></script>
<script type="text/javascript" src="../../../ui/jquery.ui.core.js"></script>
<script type="text/javascript" src="../../../ui/jquery.ui.widget.js"></script>
<script type="text/javascript" src="../../../ui/jquery.ui.mouse.js"></script>
<script type="text/javascript" src="../../../ui/jquery.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>