Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html dir="ltr">
  
<head>
<style type="text/css">
body,html {
    font-family: helvetica, arial, sans-serif;
    font-size: 90%;
}
</style>
<script
    src="http://ajax.googleapis.com/ajax/libs/dojo/1.6/dojo/dojo.xd.js"
    djConfig="parseOnLoad: true">
    
</script>
<script type="text/javascript">
    dojo.require("dijit.form.Slider");
</script>
<link rel="stylesheet" type="text/css"
    href="http://ajax.googleapis.com/ajax/libs/dojo/1.6/dijit/themes/claro/claro.css" />
</head>
<body class=" claro ">
    <div id="slider1" data-dojo-type="dijit.form.HorizontalSlider"
        data-dojo-props='name:"horizontal1",
            onChange:function(val){ dojo.byId("slider1input").value=dojo.number.format(val); },
            maximum:1/9,
            minimum:1/1,
            showButtons:true,
            discreteValues:9,
            intermediateChanges:true,
            style:{width:"400px"}
            '>
        <div dojoType="dijit.form.HorizontalRule" container="bottomDecoration"
            count=9 style="height: 5px;"></div>
        <ol data-dojo-type="dijit.form.HorizontalRuleLabels"
            data-dojo-props='
                container:"bottomDecoration", style:{height:"1em",fontSize:"75%"}'>
            <li>lowest</li>
            <li>highest</li>
        </ol>
    </div>
    Slider1 Value:
    <input readonly id="slider1input" size="4" />
</body>
</html>
Output

You can jump to the latest bin by adding /latest to your URL

Dismiss x
public
Bin info
anonymouspro
0viewers