Skip to content

Instantly share code, notes, and snippets.

@aarongustafson
Created July 25, 2010 16:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aarongustafson/489684 to your computer and use it in GitHub Desktop.
Save aarongustafson/489684 to your computer and use it in GitHub Desktop.
<!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;
>
<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>
<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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment