Dojo Dijit and HTML5 in Real world applications/Dijit/dijit.Dialog

Dialog with scrollbar
The dijit.Dialog will auto size by default. It is easy to force a fixed size. However, the styling of width, hight and overflow of the dijit.Dialog should be done inside the dijit.Dialog div tag: If the style (height, width and overflow) are specified in the dijit.Dialog properties an unexpected result appears. See the demo of the dijit.Dialog implementation here.

Dialog with callback function
Very often you will need to call a function when the user close the pup-up dialog. In the next example we have a simple dijit.Dialog with a callback to the alert function - this is for demonstration only ;-) See the full demo of the dijit.Dialog implementation here.

Verified in
IE 8, Firefox 3.6.22, Dojo 1.6.1