]> source.dussan.org Git - jquery-ui.git/commitdiff
demos/dialog: markup tweaks
authorRichard Worth <rdworth@gmail.com>
Wed, 31 Dec 2008 06:41:28 +0000 (06:41 +0000)
committerRichard Worth <rdworth@gmail.com>
Wed, 31 Dec 2008 06:41:28 +0000 (06:41 +0000)
demos/dialog/modal_confirmation.html
demos/dialog/modal_message.html

index 13666a6231ca83b1e7c8177b5c5332e355b0d566..245d8e196efacb228f17d75d820083970343307c 100644 (file)
 
 <div class="demo">
 
-       <div id="dialog" title="Empty the recycle bin?">
-               <p><span class="ui-icon ui-icon-alert" style="float:left; margin:0 7px 20px 0;"></span>These items will be permanently deleted and cannot be recovered. Are you sure?</p>
-       </div>
+<div id="dialog" title="Empty the recycle bin?">
+       <p><span class="ui-icon ui-icon-alert" style="float:left; margin:0 7px 20px 0;"></span>These items will be permanently deleted and cannot be recovered. Are you sure?</p>
+</div>
 
-       <!-- Sample page content to illustrate the layering of the dialog -->
-       <div class="hiddenInViewSource" style="padding:20px;">
+<!-- Sample page content to illustrate the layering of the dialog -->
+<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>
        <form>
                <input value="text input" /><br />
 
 </div><!-- End demo -->
 
-
-
 <div class="demo-description">
 
-<p>This type of dialog adds a button bar and is useful for confirming an action that may be destructive or important. These are typically displayed as modal dialogs to get the user's attention and force a decision before continuing. This example uses the an icon from the css sprite set and is set to be not resizable by setting this option to false.</p>
+<p>
+This type of dialog adds a button bar and is useful for confirming an action that may be destructive or important.
+These are typically displayed as modal dialogs to get the user's attention and force a decision before continuing.
+This example uses an icon from the css sprite set and is set to be not resizable by setting the resizable option to false.
+</p>
 
 </div><!-- End demo-description -->
 
-
 </body>
 </html>
index 8d22661815f5317f9e68d78dec8ef8c61c44a5f1..7ce68632beaf2b10b8e146a5972cad0020c7a07f 100644 (file)
 </head>
 <body>
 
-<div id="dialog" title="Download complete">
-       <p><span class="ui-icon ui-icon-circle-check" style="float:left; margin:0 7px 50px 0;"></span>Your files have downloaded successfully into the My Downloads folder.</p>
-       <p>Currently using <b>36% of your storage space</b>.</p>
-</div>
-
-
 <div class="demo">
 
-       <div id="dialog" title="Basic dialog">
-               <p>This is the default dialog which is useful for displaying information. The dialog window can be moved, resized and closed with the 'x' icon. </p>
-       </div>
+<div id="dialog" title="Download complete">
+       <p>
+               <span class="ui-icon ui-icon-circle-check" style="float:left; margin:0 7px 50px 0;"></span>
+               Your files have downloaded successfully into the My Downloads folder.
+       </p>
+       <p>
+               Currently using <b>36% of your storage space</b>.
+       </p>
+</div>
 
-       <!-- Sample page content to illustrate the layering of the dialog -->
-       <div class="hiddenInViewSource" style="padding:20px;">
+<!-- Sample page content to illustrate the layering of the dialog -->
+<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>
        <form>
                <input value="text input" /><br />
 
 </div><!-- End demo -->
 
-
-
 <div class="demo-description">
 
-<p>A modal message dialog like this is useful for providing information to the user that requires them to explicitly acknowledge before continuing with their work. </p><p>This example adds a button bar with a single 'Ok' button to dismiss the dialog.</p>
+<p>
+A modal message dialog like this is useful for providing information to the user that requires them to explicitly acknowledge before continuing with their work.
+</p>
+
+<p>
+This example adds a button bar with a single 'Ok' button to dismiss the dialog.
+</p>
 
 </div><!-- End demo-description -->