Changeset 12163

Show
Ignore:
Timestamp:
01/25/08 03:42:09 (12 months ago)
Author:
bill
Message:

Put width on the dialog loaded from an href containing a <p>,
so it doesn't become too wide and hit the edge of the viewport.
All dialogs should have a specified width unless they are naturally
narrow (because they contain a form or something like that).

Refs #5669.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • dijit/trunk/tests/test_Dialog.html

    r12162 r12163  
    151151<button dojoType="dijit.form.Button" onclick="dijit.byId('fifthDlg').show();">Test slow loading HREF Dialog</button> 
    152152 
    153 <div dojoType="dijit.Dialog" id="fifthDlg" href="layout/getResponse.php?delay=3000&messId=3" title="From HREF (slow network simulated)"></div> 
     153<div dojoType="dijit.Dialog" id="fifthDlg" href="layout/getResponse.php?delay=3000&messId=3" 
     154        style="width: 300px" title="From HREF (slow network simulated)"></div> 
    154155 
    155156<p><b><i>(scroll down to see more links to click, for testing positioning / scroll handling)</i></b></p>