|
|
@ -0,0 +1,38 @@ |
|
|
|
<!DOCTYPE html> |
|
|
|
<html> |
|
|
|
<head> |
|
|
|
<meta charset="utf-8" /> |
|
|
|
<title>My first jQuery Mobile code</title> |
|
|
|
<link rel="stylesheet" href="http://code.jquery.com/mobile/1.2.0/jquery.mobile-1.2.0.min.css"> |
|
|
|
<script src="http://code.jquery.com/jquery-1.8.2.min.js"></script> |
|
|
|
<script type="text/javascript" src="http://code.jquery.com/mobile/1.2.0/jquery.mobile-1.2.0.min.js"></script> |
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1"> |
|
|
|
</head> |
|
|
|
|
|
|
|
<body> |
|
|
|
<div data-role="page" id="home"> |
|
|
|
<div data-role="header" data-position="fixed"> |
|
|
|
<h1>Layout grids</h1> |
|
|
|
</div> |
|
|
|
<div data-role="content"> |
|
|
|
<section class="ui-grid-a"> |
|
|
|
<div class="ui-block-a">Column 1</div> |
|
|
|
<div class="ui-block-b">Column 2</div> |
|
|
|
</section> |
|
|
|
<section class="ui-grid-b"> |
|
|
|
<!-- row 1 --> |
|
|
|
<div class="ui-block-a">Cell 1.1</div> |
|
|
|
<div class="ui-block-b">Cell 1.1</div> |
|
|
|
<div class="ui-block-c">Cell 1.1</div> |
|
|
|
<!-- row 2 --> |
|
|
|
<div class="ui-block-a">Cell 2.1</div> |
|
|
|
<div class="ui-block-b">Cell 2.1</div> |
|
|
|
<div class="ui-block-c">Cell 2.1</div> |
|
|
|
</section> |
|
|
|
</div> |
|
|
|
<div data-role="footer" data-position="fixed"> |
|
|
|
<h1>www.goodcleanfun.de</h1> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</body> |
|
|
|
</html> |