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

26 lines
696 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/ui.all.css" type="text/css">
<script type="text/javascript" src="../../../jquery-1.3.2.js"></script>
<script type="text/javascript" src="../../../ui/jquery.ui.core.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>