-
Notifications
You must be signed in to change notification settings - Fork 10
/
index.html
executable file
·86 lines (84 loc) · 3.95 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
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
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Flounder demo</title>
<link rel="stylesheet" href="../dist/flounder-structure.css">
<style type="text/css">
.demo--label
{
width : 150px;
margin-top : 15px;
display : inline-block;
}
</style>
</head>
<body>
<div>
<span class="demo--label">Vanilla from Input (sections, multiple tags, built from selector string)</span>
<input class="vanilla--input--tags" id="vanilla--input--tags" type="text">
</div>
<div>
<span class="demo--label">Vanilla from Input (multiple, dynamic options, default index, built from element)</span>
<input id="vanilla--input" type="text">
</div>
<div>
<style type="text/css">
.class--to--denote--selected--option
{
color: #fff;
background-color: #555;
}
.class--to--denote--selected--option:hover
{
color: #08f;
background-color: #509;
}
</style>
<span class="demo--label">Vanilla from Select (default value, custom classes, built from element)</span>
<select id="vanilla--select" class="test--class--one test--class--two">
<option value="1">Gewürzdose mit Streueinsatz</option>
<option value="2">2</option>
<option value="3" disabled>3</option>
<option value="4">4</option>
<option value="5">5</option>
</select>
</div>
<div>
<span class="demo--label">Vanilla from Div (multiple, tags, placeholder, built from element)</span>
<div style="display:inline-block;" id="vanilla--multiple--tags"></div>
</div>
<div>
<span class="demo--label">Vanilla from Span (default value, built from element)</span>
<span style="display:inline-block;" id="vanilla--span"></span>
</div>
<div>
<span class="demo--label">Vanilla from Div (multiple, desciption, default index, elements disabled, built from element)</span>
<div style="display:inline-block;" id="vanilla--multiple--desc"></div>
</div>
<div>
<span class="demo--label">AMD required vanilla from Div (description, placeholder, built from string)</span>
<div style="display:inline-block;" id="AMD--desc"></div>
</div>
<div>
<span class="demo--label">AMD required vanilla from select (loadFromUrl, placeholder, built from element)</span>
<select id="AMD--select" class="test--class--one test--class--two">
</select>
</div>
<div>
<span class="demo--label">Microbe plugin from Div (multiple, microbe wrapper, loads JSON onFirstTouch)</span>
<div style="display:inline-block;" id="microbe--multiple--desc"></div>
</div>
<div>
<span class="demo--label">jQuery plugin from Div (search, placeholder, jquery wrapper, loadData onInit)</span>
<div style="display:inline-block;" id="jquery--div"></div>
</div>
<button class="debug--mode">debug mode</button>
<button class="destroy--all">destroy all</button>
<script type="text/javascript" src="./vendor/jquery.js"></script>
<script type="text/javascript" src="../dist/flounder.jquery.js"></script>
<script type="text/javascript" src="./vendor/microbe.js"></script>
<script type="text/javascript" src="../dist/flounder.microbe.js"></script>
<script type="text/javascript" data-main="../demo/demoDist.js" src="./vendor/require.js"></script>
</body>
</html>