This repository has been archived by the owner on Oct 8, 2021. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Dialog: Added info and demo of option closeBtn to the docs.
- Loading branch information
1 parent
6fd28f9
commit db4a2ea
Showing
3 changed files
with
68 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="utf-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
<title>jQuery Mobile Framework - Dialog Example</title> | ||
<link rel="stylesheet" href="../../css/themes/default/jquery.mobile.css" /> | ||
<link rel="stylesheet" href="../_assets/css/jqm-docs.css"/> | ||
|
||
<script src="../../js/jquery.js"></script> | ||
<script src="../../docs/_assets/js/jqm-docs.js"></script> | ||
<script src="../../js/"></script> | ||
|
||
</head> | ||
<body> | ||
|
||
<div data-role="page" data-close-btn="none"> | ||
<div data-role="header"> | ||
<h1>Dialog</h1> | ||
</div> | ||
|
||
<div data-role="content"> | ||
<h1>No close button</h1> | ||
<p>This is a regular page, styled as a dialog. To create a dialog, just link to a normal page and include a transition and <code>data-rel="dialog"</code> attribute.</p> | ||
<a href="docs-dialogs.html" data-role="button" data-rel="back" data-theme="b">Ok, I get it</a> | ||
</div> | ||
</div> | ||
|
||
|
||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="utf-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
<title>jQuery Mobile Framework - Dialog Example</title> | ||
<link rel="stylesheet" href="../../css/themes/default/jquery.mobile.css" /> | ||
<link rel="stylesheet" href="../_assets/css/jqm-docs.css"/> | ||
|
||
<script src="../../js/jquery.js"></script> | ||
<script src="../../docs/_assets/js/jqm-docs.js"></script> | ||
<script src="../../js/"></script> | ||
|
||
</head> | ||
<body> | ||
|
||
<div data-role="page" data-close-btn="right"> | ||
<div data-role="header"> | ||
<h1>Dialog</h1> | ||
</div> | ||
|
||
<div data-role="content"> | ||
<h1>Right close button</h1> | ||
<p>This is a regular page, styled as a dialog. To create a dialog, just link to a normal page and include a transition and <code>data-rel="dialog"</code> attribute.</p> | ||
<a href="docs-dialogs.html" data-role="button" data-rel="back" data-theme="b">Ok, I get it</a> | ||
</div> | ||
</div> | ||
|
||
|
||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters