Ticket #6739: dialog2.patch
| File dialog2.patch, 1.3 kB (added by guest, 8 months ago) |
|---|
-
tests/test_Dialog.html
59 59 } 60 60 setTimeout(function(){thirdDlg.show();},"3000"); 61 61 } 62 63 var invite; 64 dojo.addOnLoad(function() { 65 invite = new dijit.Dialog({title: "TEST"}, dojo.byId('dialogTest')); 66 }); 67 62 68 </script> 63 69 </head> 64 70 <body class="tundra"> … … 66 72 <h1 class="testTitle">Dijit layout.Dialog tests</h1> 67 73 <button dojoType="dijit.form.Button" onclick="dijit.byId('dialog1').show()">Show Dialog</button> | 68 74 75 <button dojoType="dijit.form.Button" onclick="invite.show()">Show Dialog (OK)</button> | 76 77 <a href="javascript:invite.show()" style="font-weight:bold;">Open Dialog (NOT OK - IE6)</a> | 78 79 <a href="javascript:void(0)" onclick="invite.show()" style="font-weight:bold;">Open Dialog (NOT OK - IE6)</a> | 80 81 69 82 <div dojoType="dijit.Dialog" id="dialog1" title="First Dialog" 70 83 onfocus="console.log('user focus handler')" 71 84 onblur="console.log('user blur handler')" … … 98 111 </table> 99 112 </div> 100 113 101 114 <div id="dialogTest"></div> 115 102 116 <button dojoType="dijit.form.Button" onclick="createDialog()" title="shows after 3 second delay, with blue background">Programatic Dialog (3 second delay)</button> | 103 117 104 118