Skip to content

Commit a1ef950

Browse files
author
Gabriel Schulhof
committed
Checkbox: Forgot to add example illustrating pre-rendering.
1 parent 6b8c467 commit a1ef950

File tree

1 file changed

+42
-0
lines changed

1 file changed

+42
-0
lines changed

resources/checkbox/example6.html

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<title>Page Title</title>
5+
6+
<meta name="viewport" content="width=device-width, initial-scale=1">
7+
8+
<link rel="stylesheet" href="http://code.jquery.com/mobile/1.4.0-alpha.2/jquery.mobile-1.4.0-alpha.2.min.css" />
9+
<script src="http://code.jquery.com/jquery-1.9.1.min.js"></script>
10+
<script src="http://code.jquery.com/mobile/1.4.0-alpha.2/jquery.mobile-1.4.0-alpha.2.min.js"></script>
11+
<style>
12+
html, body { padding: 0; margin: 0; }
13+
html, .ui-mobile, .ui-mobile body {
14+
height: 85px;
15+
}
16+
.ui-mobile, .ui-mobile .ui-page {
17+
min-height: 85px;
18+
}
19+
.ui-content{
20+
padding:10px 15px 0px 15px;
21+
}
22+
.custom-button {
23+
border: 3px dashed;
24+
border-color: red !important;
25+
}
26+
</style>
27+
</head>
28+
29+
<body>
30+
<div data-role="page" style="max-height:90px; min-height:90px;">
31+
<div data-role="content" >
32+
<form>
33+
<div class="ui-checkbox">
34+
<label for="my-checkbox" class="ui-btn ui-btn-inherit ui-btn-icon-left ui-icon-checkbox-off ui-checkbox-off">My Checkbox</label>
35+
<input type="checkbox" id="my-checkbox" data-corners="false" data-enhanced="true"></input>
36+
</div>
37+
</form>
38+
</div>
39+
</div>
40+
</body>
41+
</html>
42+

0 commit comments

Comments
 (0)