-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathar_dimensions.html
217 lines (183 loc) · 9.12 KB
/
ar_dimensions.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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="author" content="">
<title>Aspect Ratio Calculator</title>
<!-- Bootstrap core CSS -->
<link href="assets/css/bootstrap.min.css" rel="stylesheet">
<link href="assets/css/styles.css" rel="stylesheet">
</head>
<body>
<!-- Static navbar -->
<div class="navbar navbar-default navbar-static-top" role="navigation">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="index.html">Aspect Ratio</a>
</div>
<div class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<li class="active"><a href="index.html">Home</a></li>
<li><a href="#about">About</a></li>
<li><a href="#contact">Contact</a></li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Dropdown <span class="caret"></span></a>
<ul class="dropdown-menu" role="menu">
<li><a href="#">Action</a></li>
<li><a href="#">Another action</a></li>
<li><a href="#">Something else here</a></li>
<li class="divider"></li>
<li class="dropdown-header">Nav header</li>
<li><a href="#">Separated link</a></li>
<li><a href="#">One more separated link</a></li>
</ul>
</li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li><a href="#">Default</a></li>
<li class="active"><a href="./">Static top</a></li>
<li><a href="#">Fixed top</a></li>
</ul>
</div><!--/.nav-collapse -->
</div>
</div>
<div class="container">
<div class="row row-offcanvas row-offcanvas-right">
<div class="col-xs-12 col-sm-9">
<p class="pull-right visible-xs">
<button type="button" class="btn btn-primary btn-xs" data-toggle="offcanvas">Toggle nav</button>
</p>
<div class="jumbotron">
<h1> Aspect Ratio & Dimensions</h1>
<p class="lead">
Please enter your desired width to get the actual width, height and aspect ratios
</p>
<form role="form">
<div class="lead">
<p id="msg_status" class="lead"></p>
</div>
<div class="form-group">
<p class="lead">Presets</p>
<select id="presets" class="form-control presets">
<option selected>Select Preset</option>
<option value='1'>240p</option>
<option value='2'>360p</option>
<option value='3'>480p</option>
<option value='4'>720p</option>
<option value='5'>1080p</option>
</select>
<p class="help-block">Please chose from a the set presets</p>
</div>
<div class="form-group">
<div class="clearfix">
<div class="col-sm-6 width-block-minimal clearMargin marginRight">
<div class="input-group">
<span class="input-group-addon">Width</span>
<input type="text" id="aspect_width" class="form-control" placeholder="Width" value="1024">
</div>
<p class="help-block">Please enter your preferred width value</p>
</div>
<div class="col-sm-6 width-block-minimal clearMargin">
<div class="input-group">
<span class="input-group-addon">Height</span>
<input type="text" id="aspect_height" class="form-control" placeholder="Height" value="768">
</div>
<p class="help-block">Please enter your preferred height value</p>
</div>
</div>
</div>
<div class="form-group clearfix">
<div class="pull-right">
<button type="button" class="btn btn-danger reset">Reset</button>
<button type="button" class="btn btn-success calculate">Calculate</button>
</div>
</div>
<hr>
<p class="lead text-danger">
*please not that the supplied values are automatically to increase efficiency, accuracy and fluidity! Have fun :)
</p>
</form>
</div>
<div class="row other-info">
<div class="col-6 col-sm-6 col-lg-6">
<h2>Important</h2>
<p class="lead">
Please note that this would be the actual size of the video/image, and NOT to include the video players dimensions
(which at times might or maybe be usually 20 - 30 pixels more) - This only affects for videos only,
for images it should be a little more straight forward.
</p>
<p class="lead">
For flexibility purposes, i have also included the
<a class="text-danger" href="ar_dimensions.html">"both Aspect ratio and Dimensions calculator".</a> Please be sure
to check it out too.
</p>
</div><!--/span-->
<div class="col-6 col-sm-6 col-lg-6">
<h2>Some Info</h2>
<p class="lead">
The <a class="text-warning" href="4by3.html">Standard Definition (SD / 4:3)</a>
calculator is bundled <a class="label label-warning" href="4by3.html">here.</a> as well
please please be sure to check it out.
</p>
<p class="lead">
Or if you would like to play around with the
<a class="text-info" href="16by9.html">High Definition (HD / 16:9) </a> calculator,
be sure to check it out <a class="label label-danger" href="16by9.html"> here</a> as well.
</p>
<p class="lead">
And the all in one
<a class="text-success" href="16by9.html">Aspect Ratio and dimensions </a> calculator,
is also included <a class="label label-primary" href="ar_dimensions.html"> here</a> as well, please be sure to check it
out.
</p>
</div><!--/span-->
</div><!--/row-->
</div><!--/span-->
<div class="col-xs-6 col-sm-3 sidebar-offcanvas" id="sidebar" role="navigation">
<div class="list-group">
<a href="index.html" class="list-group-item active">Home</a>
<a href="16by9.html" class="list-group-item">16:9 Aspect Ratio (HD)</a>
<a href="4by3.html" class="list-group-item">4:3 Aspect Ratio (SD)</a>
<a href="ar_dimensions.html" class="list-group-item"> Aspect Ratio & Dimensions</a>
<a href="help.html" class="list-group-item"> Support & Documentation</a>
</div>
<div class="lead well">
<p>Dimensions</p>
<p>
<strong class="final_dimensions"></strong>
</p>
<hr>
<p>Aspect Ratio</p>
<p>
<strong class="final_aspect_ratio"></strong>
</p>
<hr>
<p>Mode</p>
<p>
<strong class="screen_mode"></strong>
</p>
</div>
</div><!--/span-->
</div><!--/row-->
<hr>
<footer>
<p>© SimTabi 2014</p>
</footer>
</div><!--/.container-->
<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="assets/js/jquery.js"></script>
<script src="assets/js/bootstrap.min.js"></script>
<script src="assets/js/app.config.js"></script>
</body>
</html>