Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

55 lines (53 sloc) 1.219 kb
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
<title>slider</title>
<style type='text/css'>
body {font-family: verdana}
.error {border: solid 1px red;}
.error_text { color: red; font-size: 10px;}
td {padding: 3px;}
.container {
width: 300px;
border: solid 1px black;
}
.slider {
width: 26px;
border: solid 2px green;
background-color: #008000;
height: 30px;
cursor: pointer;
}
#slider2 {
width: 40px;
}
body {
margin: 0px;
padding: 30px;
}
</style>
</head>
<body>
<div class='container'>
<div class='slider' id='slider'></div>
</div>
<input id='value'/>
<script type='text/javascript'
src='../../../steal/steal.js'>
</script>
<script type='text/javascript'>
steal('mxui/nav/slider', function(){
var value = $('#value');
$("#slider").mxui_nav_slider({
interval: 1,
min: 1,
max: 10,
val: 5
}).bind("changing change", function( ev, newValue ) {
value.val( newValue );
});
})
</script>
</body>
</html>
Jump to Line
Something went wrong with that request. Please try again.