Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

readme

  • Loading branch information...
commit 7240430f9b6947463284a881c282ff6f23d79f27 1 parent 1010782
@hiroprotagonist authored
Showing with 8 additions and 10 deletions.
  1. +8 −10 README.md
View
18 README.md
@@ -19,26 +19,24 @@ the header as well as within the content. Both should work.
Now add a div directly following this link. Wrap all content you like to show in the popup
into this div. Ready. See the following HTML code for details.
-<a data-icon="plus" data-role="actionsheet">Open</a>
-<div>
+ <a data-icon="plus" data-role="actionsheet">Open</a>
+ <div>
<a data-role="button" href="#">Action 1</a>
<a data-role="button" href="#">Action 2</a>
<a data-role="button" href="#">Action 3</a>
<br/>
<!-- This close button is optional. The widget also closes if you click or touch outside of the popup -->
<a data-role="button" data-rel="close" href="#">Cancel</a>
-</div>
+ </div>
Also you can use html ids to associate toggle and sheet. This way the sheet must not directly follow the toggle.
-<a data-role="actionsheet" data-sheet='sheet0'>Open</a>
-
-.... A lot a lot a lot markup in between ....
-
-<div id='sheet0'>
- <h1>This is sheet0 speaking</h1>
-</div>
+ <a data-role="actionsheet" data-sheet='sheet0'>Open</a>
+ .... A lot a lot a lot markup in between ....
+ <div id='sheet0'>
+ <h1>This is sheet0 speaking</h1>
+ </div>
* If you like to change the in -out Animation you can do that by editing the keyframes in jquery.mobile.actionsheet.css

0 comments on commit 7240430

Please sign in to comment.
Something went wrong with that request. Please try again.