-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathtaggerDemo.html
139 lines (115 loc) · 2.61 KB
/
taggerDemo.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<!-- Always force latest IE rendering engine (even in intranet) & Chrome Frame
Remove this if you use the .htaccess -->
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<title>TagTagger.js Demo</title>
<meta name="description" content="Example File to demo TagTagger.js to create and manage tags" />
<meta name="author" content="exex zian" />
<script src="http://ajax.googleapis.com/ajax/libs/jquery/2.0.2/jquery.min.js"></script>
<script>
!window.jQuery && document.write(unescape('<script src="lib/jquery.min.js"<\/script>'));
</script>
<script src="TagTagger.js"></script>
<link href="taggerStyles.css" rel="stylesheet" type="text/css"/>
<script>
$(function() {
$('#defaultEx').TagTagger();
});
</script>
<style>
body {
}
#defaultEx {
background-color: #82b47e;
border-radius: 5px;
padding: 3px;
margin: 3px;
}
h2, .title {
text-align: center;
font-family: "Courier New";
font-size: larger;
cursor: pointer;
}
.title {
color: #161D6D;
}
.title:hover {
text-shadow: 0 0 10px #ff0000;
}
p {
margin: 3px;
padding: 3px;
font-family: Tahoma;
font-size: medium;
}
code {
border: 1px solid gray;
background-color: #c7c7c7;
padding-right: 3px;
padding-left: 3px;
padding-top: 1px;
margin-right: 3px;
margin-top: 1px;
cursor: pointer;
}
#tagPool {
}
#frame {
width: 100%;
height: 500px;
}
</style>
</head>
<body>
<h2><span class="title">TagTagger.js</span> Demo </h2>
<hr size="3"/>
<div id="wrapper">
<div id="defaultEx">
<p id="DemoDef">
Demonstrates <span class="title">TagTagger.js</span> with default settings
</p>
<p>
➨ Default look and feel comes with:
</p>
<ul>
<li>
✓ wrapper box fixed with <b>500px</b>
<code>
width
</code>
and
<code>
min-height
</code>
of <b>90px</b>
</li>
<li>
✓ Tag element with dark blue background and white text color
</li>
<li>
✓ Minimum length of tag text is <b>1</b>
</li>
<li>
✓ Duplicate tag message Showing yellow background
</li>
<li>
✓ Styling changeable by modifying <code>
taggerStyles.css</code>
</li>
</ul>
</div>
<hr size=3/>
</div>
<hr size="3"/>
<br/>
<iframe id="frame" seamless="seamless" src="TagPoolDemo.html" seamless >
<p>
Your browser does not support iframes.
</p>
</iframe>
</body>
</html>