-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
44 lines (35 loc) · 1.66 KB
/
index.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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<title>Flexinav Calculator</title>
<link href="css/all.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.js"></script>
<script type="text/javascript" src="js/flexinavcalc.js"></script>
</head>
<body>
<h1>Flexinav Calculator</h1>
<p class="intro">Create flexible, full width navigation</p>
<form id="form">
<div class="input">
<label for="nav_width">Navigation width:</label>
<input type="text" name="nav_width" id="nav-width" placeholder="Navigation width" value="" pattern="[0-9]*"><span class="px">px</span>
</div>
<p class="label">Navigation Items:</p>
<div class="inputs">
<div class="nav-item">
<label for="1">1</label>
<input type="text" name="dynamic[]" class="field" placeholder="Navigation item width" value="" pattern="[0-9]*"><span class="px">px</span>
</div>
</div>
<p id="px-left">You have <em>0</em>px left to play with</p>
<p id="total-perc-width">Your total width so far adds up to <em></em>%</p>
<div class="dynamic-functions">
<a href="#" id="add">Add</a> | <a href="#" id="remove">Remove</a> | <a href="#" id="reset">Reset</a>
</div>
<span id="answers-wrapper"></span>
<input name="submit" type="button" value="Calculate"/>
</form><!--/form-->
</body>
</html>