public
Created

  • Download Gist
dojo.dtd
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
<!ENTITY % Boolean
"(true | false)"
>
...
<!-- attributes for Dojo Toolkit
showButtons display buttons (boolean)
intermediateChanges display intermediate steps (boolean)
-->
<!ENTITY % dojo-attrs
"showButtons %Boolean #IMPLIED
intermediateChanges %Boolean #IMPLIED"
>
...
<!ATTLIST select
%attrs;
name CDATA #REQUIRED
size %Number; #IMPLIED
multiple (multiple) #IMPLIED
disabled (disabled) #IMPLIED
tabindex %Number; #IMPLIED
onfocus %Script; #IMPLIED
onblur %Script; #IMPLIED
onchange %Script; #IMPLIED
%dojo-attrs;
>
dojo.html
HTML
1 2 3 4 5 6 7 8 9 10 11 12
<div dojoType="dijit.form.HorizontalSlider"
name="horizontal1"
onChange="dojo.byId('slider1input').value=arguments[0];"
value="10"
maximum="100"
minimum="0"
showButtons="false"
intermediateChanges="true"
style="width:50%; height: 20px;"
id="slider1">
<!-- ... -->
</div>
slider.html
HTML
1 2 3 4 5 6 7 8 9 10 11
<select class="dojo-form-horizontalSlider"
name="horizontal1"
showButtons="false"
intermediateChanges="true"
id="slider1">
<option>0</option>
<option>5</option>
<option selected="selected">10</option>
<!-- ... -->
<option>100</option>
</select>

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.