2010-03-12 03:18:34 +00:00
<!DOCTYPE html>
2009-04-17 13:59:27 +00:00
< html lang = "en" >
< head >
2010-03-12 03:18:34 +00:00
< meta charset = "UTF-8" / >
2009-04-17 13:59:27 +00:00
< title > Slider Visual Test : Slider ticket #3762< / title >
< link rel = "stylesheet" href = "../visual.css" type = "text/css" / >
2010-02-16 01:38:23 +00:00
< link rel = "stylesheet" href = "../../../themes/base/jquery.ui.all.css" type = "text/css" >
2010-02-16 02:39:57 +00:00
< script type = "text/javascript" src = "../../../jquery-1.4.2.js" > < / script >
2009-09-17 10:39:12 +00:00
< script type = "text/javascript" src = "../../../ui/jquery.ui.core.js" > < / script >
2009-12-16 22:20:18 +00:00
< script type = "text/javascript" src = "../../../ui/jquery.ui.widget.js" > < / script >
2010-01-01 12:43:36 +00:00
< script type = "text/javascript" src = "../../../ui/jquery.ui.mouse.js" > < / script >
2009-09-17 10:39:12 +00:00
< script type = "text/javascript" src = "../../../ui/jquery.ui.slider.js" > < / script >
2009-04-17 13:59:27 +00:00
< script type = "text/javascript" >
$(function() {
2009-04-19 23:15:44 +00:00
$("#slider").slider({ values: [5,0], range: true});
$("#slider1").slider({ values: [-1,5], range: true});
$("#slider2").slider({ values: [5,200], range: true});
$("#slider3").slider({ values: [5,0], range: true});
$("#slider4").slider({range: true});
2009-04-17 13:59:27 +00:00
});
< / script >
< / head >
< body >
< h1 class = "ui-widget-header" > < a href = "http://dev.jqueryui.com/ticket/3762" > #3762 - slider handles not restricted properly when set programmatically< / a > < / h1 >
< div id = "slider" > < / div >
2009-04-19 23:15:44 +00:00
< div > - if less than min, set to min< / div >
< div id = "slider1" > < / div >
< div > - if greater than max, set to max< / div >
< div id = "slider2" > < / div >
< div > - if less than previous handle value, set to previous handle value< / div >
< div id = "slider3" > < / div >
< div > no values set< / div >
< div id = "slider4" > < / div >
2009-04-17 13:59:27 +00:00
< / body >
< / html >