-
Notifications
You must be signed in to change notification settings - Fork 0
/
modals.html
executable file
·37 lines (27 loc) · 1.03 KB
/
modals.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<meta name="viewport"
content="width=device-width, initial-scale=1.0, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0"/>
<link rel="stylesheet" type="text/css" href="css/styles.css"/>
</head>
<body class="green">
<div class="block">
<p>Modals are a set of off-history pages that can be used to change a setting and come back. It uses the iOS modal
system and mimics it on other platforms.</p>
<p>Here are some examples :</p>
<a class="modal" href="javascript:;" data-href="modal_content_1.html">Modal 1</a>
<a class="modal" href="javascript:;" data-href="modal_content_2.html">Modal 2</a>
</div>
<script type="text/javascript" src="js/zepto.min.js"></script>
<script type="text/javascript" src="js/Cobalt-Web/cobalt.js"></script>
<script type="text/javascript" src="js/app.js"></script>
<script>
Zepto(function($) {
cobalt.init();
app.initPage('Modals');
})
</script>
</body>
</html>