-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathgettingstarted.html
More file actions
60 lines (43 loc) · 2.88 KB
/
gettingstarted.html
File metadata and controls
60 lines (43 loc) · 2.88 KB
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<!DOCTYPE HTML>
<html>
<head>
<title>nativeDroid - Theme for jQuery Mobile</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<!-- FontAwesome - http://fortawesome.github.io/Font-Awesome/ -->
<link rel="stylesheet" href="css/font-awesome.min.css" />
<!-- jQueryMobileCSS - original without styling -->
<link rel="stylesheet" href="css/jquerymobile.css" />
<!-- nativeDroid core CSS -->
<link rel="stylesheet" href="css/jquerymobile.nativedroid.css" />
<!-- nativeDroid: Light/Dark -->
<link rel="stylesheet" href="css/jquerymobile.nativedroid.dark.css" id='jQMnDTheme' />
<!-- nativeDroid: Color Schemes -->
<link rel="stylesheet" href="css/jquerymobile.nativedroid.color.green.css" id='jQMnDColor' />
<!-- jQuery / jQueryMobile Scripts -->
<script src="http://code.jquery.com/jquery-1.9.1.min.js"></script>
<script src="http://code.jquery.com/mobile/1.3.1/jquery.mobile-1.3.1.min.js"></script>
</head>
<body>
<div data-role="page" data-theme='b'>
<div data-role="header" data-position="fixed" data-tap-toggle="false" data-theme='b'>
<a href="index.html" data-ajax="false"><i class='icon-ellipsis-vertical'></i></a>
<h1>Getting started</h1>
</div>
<div data-role="content">
<div class='inset'>
<h2>How to implement nativeDroid?</h2>
<p>nativeDroid is basically a theme for <a href='http://www.jquerymobile.com'>jQuery Mobile</a> so you can use any functionality provided by jQM but for a better looking design there are a few tweaks to respect:</p>
<ul data-role='listview'>
<li data-role='list-divider'>Important to know</li>
<li>all styles are applied to <code>data-theme='b'</code></li>
<li>only use the structure stylesheet without a theme <code><a href='css/jquerymobile.css' data-ajax='false'>(css/jquerymobile.css)</a></code>.<br /><em>Stylesheets from jQuery Mobile's Themeroller will break the design.</em></li>
<li>the <code>data-inset='true|false'</code> parameter is not working in nativeDroid.<br />Use the wrapping <code><div class='inset'></code>-Tag instead.</li>
<li>use the <code>data-role='header'</code> only in combination with <code>data-position='fixed'</code> and <code>data-tap-toggle='false'</code> and specificly apply the <code>data-theme='b'</code> to link elements inside the header.</li>
<li style='text-decoration: line-through; opacity: 0.5;'>the <code>data-role='footer'</code> is not yet designed. Use them with cause.</li>
</ul>
<div class='message info'><i class='icon-lightbulb'></i><p>As a best practice we recommend you to start by copying one of the HTML-Documents from the demonstration.</p></div>
</div>
</div>
</div>
</body>
</html>