diff --git a/css/structure/jquery.mobile.core.css b/css/structure/jquery.mobile.core.css index dc39cedf..7dc5abd4 100644 --- a/css/structure/jquery.mobile.core.css +++ b/css/structure/jquery.mobile.core.css @@ -59,6 +59,8 @@ div.ui-mobile-viewport { overflow-x: hidden; } .ui-loading .ui-mobile-viewport { overflow: hidden !important; } .ui-loading .ui-loader { display: block; } .ui-loading .ui-page { overflow: hidden; } +.ui-loading-inline { min-height: 35px; position: relative; } +.ui-loader-inline .ui-icon-loading { display: block; margin: 0 auto; position: absolute; left: 50%; top: 50%; margin: -17px 0 0 -17px; width: 35px; height: 35px; background-color: rgba(0,0,0,.1); } .ui-loader { display: none; position: absolute; opacity: .85; z-index: 100; left: 50%; width: 200px; margin-left: -130px; margin-top: -35px; padding: 10px 30px; } .ui-loader h1 { font-size: 15px; text-align: center; } .ui-loader .ui-icon { position: static; display: block; opacity: .9; margin: 0 auto; width: 35px; height: 35px; background-color: transparent; } diff --git a/docs/pages/dialog.html b/docs/pages/dialog.html index a8dcfbf6..7f49e583 100644 --- a/docs/pages/dialog.html +++ b/docs/pages/dialog.html @@ -22,7 +22,7 @@
This is a regular page, styled as a dialog. To create a dialog, just link to a normal page and include a transition and data-rel="dialog" attribute.
This is a regular page, styled as a dialog. To create a dialog, just link to a normal page and include a transition and data-rel="dialog" attribute.
A standard link with a href pointing to a local anchor (#foo) or external page (foo.html) will trigger a full animated page change via the AJAX nav system with the default transition.
+<a href="dialog.html">Link</a>
+
+
+ A dialog is made by adding data-rel="dialog" to a link to display the page with an inset appearance and the default dialog transition.
<a href="dialog.html" data-rel="dialog">Link</a>
+
+ A fetch link is created by adding the data-target attribute to a link. This tells the framework to not change pages and instead load the href into the target DOM element on the current page when the link is clicked. The target can be any jQuery selector (or restrict to ID only?).
A fetch link is created by adding the data-target attribute to a link. This tells the framework to not change pages and instead load the href into the target DOM element on the current page when the link is clicked. The target can be any jQuery selector (or restrict to ID only?).
<a href="dialog.html" data-target=".quote">
+
+
+
+To be replaced.
+The content fragment from the loaded page can be specified. By default, the framework will load in the contents of the data-role="page" container (not the page wrapper itself), but it's possible to specify what content from the page to pull into the target by adding a data-fragment attribute to the link with any jQuery selector.
<a href="dialog.html" data-target=".quote" data-fragment="[data-role='content']">
+
+
+ The target method for a link can be specified by adding the data-method attribute to a link. This specifies whether to replace, append, prepend, or insert the content before or after the target element. By default, an external href will replace the target.
<a href="dialog.html" data-target=".quote" data-method="after">
+
+
+
+
+ A breakpoint option will automatically load the fetch link if the screen width is larger than the specified value instead of waiting for the link to be clicked. The data-breakpoint attribute on the link specifies the min-width pixel value to load the link.
<a href="dialog.html" data-target=".quote" data-breakpoint="500">
+
+
+
+ Similar to above but examples use local hrefs (#foo) and there isn't a need for a data-fragment attribute since we're already specifying that in the href.
++ +“You will not apply my precept,” he said, shaking his head. “How often have I said to you that when you have eliminated the impossible, whatever remains, however improbable, must be the truth?”
+ Arthur Conan Doyle + Sherlock Holmes: The Sign of the Four +