r1726 - trunk/demos/dialog

r1726 - trunk/demos/dialog


Author: fg.maggie
Date: Tue Jan 20 12:09:55 2009
New Revision: 1726
Modified:
trunk/demos/dialog/default.html
trunk/demos/dialog/index.html
trunk/demos/dialog/modal.html
trunk/demos/dialog/modal_confirmation.html
trunk/demos/dialog/modal_form.html
trunk/demos/dialog/modal_message.html
Log:
slightly reorganized/renamed demos to better reflect functionality
Modified: trunk/demos/dialog/default.html
==============================================================================
--- trunk/demos/dialog/default.html    (original)
+++ trunk/demos/dialog/default.html    Tue Jan 20 12:09:55 2009
@@ -1,7 +1,7 @@
<!doctype html>
<html lang="en">
<head>
-    <title>jQuery UI Dialog - Default Demo</title>
+    <title>jQuery UI Dialog - Default functionality</title>
    <link type="text/css" href="../../themes/base/ui.all.css"
rel="stylesheet" />
    <script type="text/javascript" src="../../jquery-1.3.js"></script>
    <script type="text/javascript" src="../../ui/ui.core.js"></script>
@@ -43,17 +43,7 @@
<div class="demo-description">
-


-This is a default dialog which opens in a floating layer above the page
content protected with an iframe.
-It is created by simply calling .dialog on the dialog content element,
like this:
-





-
-<pre><code>$("#dialog").dialog();
-</code></pre>
-
-


-A basic dialog window has a title bar and a content area. The dialog
window can be moved, resized and closed with the 'x' icon by default.
-



+

The basic dialog window is an overlay positioned within the viewport
and is protected from page content (like select elements) shining through
with an iframe. It has a title bar and a content area, and can be moved,
resized and closed with the 'x' icon by default.



</div><!-- End demo-description -->
Modified: trunk/demos/dialog/index.html
==============================================================================
--- trunk/demos/dialog/index.html    (original)
+++ trunk/demos/dialog/index.html    Tue Jan 20 12:09:55 2009
@@ -9,7 +9,7 @@
<div class="demos-nav">
    <h4>Examples</h4>
    <ul>
-        <li class="demo-config-on"><a href="default.html">Default Dialog</a></li>
+        <li class="demo-config-on"><a href="default.html">Default
functionality</a></li>
        <li><a href="modal.html">Modal dialog</a></li>
        <li><a href="modal_message.html">Modal message</a></li>
        <li><a href="modal_confirmation.html">Modal confirmation</a></li>
Modified: trunk/demos/dialog/modal.html
==============================================================================
--- trunk/demos/dialog/modal.html    (original)
+++ trunk/demos/dialog/modal.html    Tue Jan 20 12:09:55 2009
@@ -1,7 +1,7 @@
<!doctype html>
<html lang="en">
<head>
-    <title>jQuery UI Dialog - Modal Demo</title>
+    <title>jQuery UI Dialog - Basic modal</title>
    <link type="text/css" href="../../themes/base/ui.all.css"
rel="stylesheet" />
    <script type="text/javascript" src="../../jquery-1.3.js"></script>
    <script type="text/javascript" src="../../ui/ui.core.js"></script>
@@ -51,14 +51,7 @@
<div class="demo-description">
-


-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.
-






-
-


-The dialog window can be moved, resized and closed with the 'x' icon.
-


+

A modal dialog prevents the user from interacting with the rest of the
page until it is closed. To add a semi-transparent layer that dims out the
page content behind the dialog, set the background color and opacity of the
<strong>overlay</strong> option.



</div><!-- End demo-description -->
Modified: trunk/demos/dialog/modal_confirmation.html
==============================================================================
--- trunk/demos/dialog/modal_confirmation.html    (original)
+++ trunk/demos/dialog/modal_confirmation.html    Tue Jan 20 12:09:55 2009
@@ -1,7 +1,7 @@
<!doctype html>
<html lang="en">
<head>
-    <title>jQuery UI Dialog - Modal Confirmation Demo</title>
+    <title>jQuery UI Dialog - Modal confirmation</title>
    <link type="text/css" href="../../themes/base/ui.all.css"
rel="stylesheet" />
    <script type="text/javascript" src="../../jquery-1.3.js"></script>
    <script type="text/javascript" src="../../ui/ui.core.js"></script>
@@ -59,11 +59,7 @@
<div class="demo-description">
-


-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.
-







+

Confirm an action that may be destructive or important. Set the
<strong>modal</strong> option to true, and specify primary and secondary
user actions with the <strong>buttons</strong> option.


</div><!-- End demo-description -->
Modified: trunk/demos/dialog/modal_form.html
==============================================================================
--- trunk/demos/dialog/modal_form.html    (original)
+++ trunk/demos/dialog/modal_form.html    Tue Jan 20 12:09:55 2009
@@ -1,7 +1,7 @@
<!doctype html>
<html lang="en">
<head>
-    <title>jQuery UI Dialog - Modal Form Demo</title>
+    <title>jQuery UI Dialog - Modal form</title>
    <link type="text/css" href="../../themes/base/ui.all.css"
rel="stylesheet" />
    <script type="text/javascript" src="../../jquery-1.3.js"></script>
    <script type="text/javascript" src="../../ui/ui.core.js"></script>
@@ -74,10 +74,7 @@
<div class="demo-description">
-


-This is an example of how a dialog can be used for data entry by making it
larger and embedding a form into the content area.
-A multi-step wizard could be created by extending this with a step
navigation and forward and back buttons.
-





+

Use a modal dialog to require that the user enter data during a
multi-step process. Embed form markup in the content area, set the
<strong>modal</strong> option to true, and specify primary and secondary
user actions with the <strong>buttons</strong> option.



</div><!-- End demo-description -->
Modified: trunk/demos/dialog/modal_message.html
==============================================================================
--- trunk/demos/dialog/modal_message.html    (original)
+++ trunk/demos/dialog/modal_message.html    Tue Jan 20 12:09:55 2009
@@ -1,7 +1,7 @@
<!doctype html>
<html lang="en">
<head>
-    <title>jQuery UI Dialog - Modal Message Demo</title>
+    <title>jQuery UI Dialog - Modal message</title>
    <link type="text/css" href="../../themes/base/ui.all.css"
rel="stylesheet" />
    <script type="text/javascript" src="../../jquery-1.3.js"></script>
    <script type="text/javascript" src="../../ui/ui.core.js"></script>
@@ -60,13 +60,7 @@
<div class="demo-description">
-


-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.
-




-
-


-This example adds a button bar with a single 'Ok' button to dismiss the
dialog.
-



+

Use a modal dialog to explicitly acknowledge information or an action
before continuing their work. Set the <strong>modal</strong> option to
true, and specify a primary action (Ok) with the <strong>buttons</strong>
option.



</div><!-- End demo-description -->