| 65 | | <button dojoType="dijit.form.Button" onclick='logMessage("clicked simple")'> |
| 66 | | <img src="../images/plus.gif" width="16" height="16"><br>Create |
| 67 | | </button> |
| 68 | | <button dojoType="dijit.form.DropDownButton" dropDownId='editMenu'> |
| 69 | | <img src="../images/note.gif" width="20" height="20"> Edit |
| 70 | | </button> |
| 71 | | <button dojoType="dijit.form.DropDownButton" dropDownId='editMenu'> |
| 72 | | <img src="../images/note.gif" width="20" height="20"><br>Edit |
| 73 | | </button> |
| 74 | | <button dojoType="dijit.form.DropDownButton" dropDownId='colorPalette'> |
| 75 | | <img src="../images/note.gif" width="20" height="20"> Color |
| 76 | | </button> |
| 77 | | <button dojoType="dijit.form.ComboButton" optionsTitle='save options' dropDownId='saveMenu' onClick='logMessage("clicked combo save")'> |
| 78 | | <img src="../images/note.gif" width="20" height="20"> Save |
| 79 | | </button> |
| 80 | | <button dojoType="dijit.form.ComboButton" optionsTitle='save options' dropDownId='saveMenu' onclick='logMessage("clicked combo save")'> |
| 81 | | <img src="../images/note.gif" width="20" height="20"><br>Save |
| 82 | | </button> |
| 83 | | <button dojoType="dijit.form.Button" onClick='logMessage("clicked simple")' disabled='true'> |
| 84 | | <img src="../images/plus.gif" width="16" height="16"> Disabled |
| 85 | | </button> |
| 86 | | <button dojoType="dijit.form.ToggleButton" onChange="console.log('toggled button selected='+arguments[0]);"> |
| 87 | | <img src="../images/plus.gif" width="16" height="16"> Toggle me |
| | 64 | <button dojoType="dijit.form.DropDownButton" dropDownId='editMenu' iconClass="noteIcon"> |
| | 65 | Edit |
| | 66 | </button> |
| | 67 | <button dojoType="dijit.form.DropDownButton" dropDownId='colorPalette' iconClass="noteIcon"> |
| | 68 | Color |
| | 69 | </button> |
| | 70 | <button dojoType="dijit.form.ComboButton" optionsTitle='save options' dropDownId='saveMenu' onClick='logMessage("clicked combo save")' |
| | 71 | iconClass="plusBlockIcon"> |
| | 72 | Save |
| | 73 | </button> |
| | 74 | <button dojoType="dijit.form.Button" onClick='logMessage("clicked simple")' disabled='true' iconClass="plusIcon"> |
| | 75 | Disabled |
| | 76 | </button> |
| | 77 | </div> |
| | 78 | <br clear=both> |
| | 79 | <h2>Toggle buttons</h2> |
| | 80 | <p>The button CSS as well as the icon CSS can change on toggle </p> |
| | 81 | <div class="box"> |
| | 82 | <button dojoType="dijit.form.ToggleButton" onChange="console.log('toggled button selected='+arguments[0]);" iconClass="dijitCheckboxIcon"> |
| | 83 | Toggle me |
| | 84 | </button> |
| | 85 | <button dojoType="dijit.form.ToggleButton" onChange="console.log('toggled button selected='+arguments[0]);" iconClass="dijitRadioIcon"> |
| | 86 | Toggle me |