demos/dialog/modal.html: clarified the description for modal

This commit is contained in:
Richard Worth 2008-12-31 20:16:15 +00:00
parent b0bc2774ff
commit 5cad1621a2

View File

@ -27,12 +27,12 @@
<div class="demo"> <div class="demo">
<div id="dialog" title="Basic modal dialog"> <div id="dialog" title="Basic modal dialog">
<p>Adding the modal overlay screen makes the dialog look more prominent because it dims out the page content.</p> <p>Adding the modal overlay screen makes the dialog look more prominent because it dims out the page content.</p>
</div> </div>
<!-- Sample page content to illustrate the layering of the dialog --> <!-- Sample page content to illustrate the layering of the dialog -->
<div class="hiddenInViewSource" style="padding:20px;"> <div class="hiddenInViewSource" style="padding:20px;">
<p>Sed vel diam id libero <a href="http://example.com">rutrum convallis</a>. Donec aliquet leo vel magna. Phasellus rhoncus faucibus ante. Etiam bibendum, enim faucibus aliquet rhoncus, arcu felis ultricies neque, sit amet auctor elit eros a lectus.</p> <p>Sed vel diam id libero <a href="http://example.com">rutrum convallis</a>. Donec aliquet leo vel magna. Phasellus rhoncus faucibus ante. Etiam bibendum, enim faucibus aliquet rhoncus, arcu felis ultricies neque, sit amet auctor elit eros a lectus.</p>
<form> <form>
<input value="text input" /><br /> <input value="text input" /><br />
@ -51,7 +51,8 @@
<div class="demo-description"> <div class="demo-description">
<p> <p>
This is a simple modal dialog with a semi-transparent overlay layer added as an option to dim out the page content behind it and bring the user's attention to the dialog. A modal dialog prevents interaction from the rest of the page until it is dismissed. This is a simple modal dialog with a semi-transparent overlay layer added as an option to dim out the page content behind it and bring the user's attention to the dialog.
A modal dialog prevents the user from interacting with the rest of the page until it is closed.
</p> </p>
<p> <p>
@ -60,6 +61,5 @@ The dialog window can be moved, resized and closed with the 'x' icon.
</div><!-- End demo-description --> </div><!-- End demo-description -->
</body> </body>
</html> </html>