Skip to content

Commit 505e222

Browse files
committed
Added missing files
1 parent 753efe2 commit 505e222

32 files changed

+1326
-0
lines changed

Tagedit.komodoproject

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!-- Komodo Project File - DO NOT EDIT -->
3+
<project id="495d5b26-566e-434a-94a4-cb996fa020a5" kpf_version="5" name="Tagedit.komodoproject">
4+
<preference-set idref="495d5b26-566e-434a-94a4-cb996fa020a5">
5+
<boolean id="import_live">1</boolean>
6+
</preference-set>
7+
</project>

css/jquery.tagedit-1.0.0.css

+47
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
/**
2+
* Styles for the jQuery Plugin tagedit
3+
*
4+
* Copyright (c) 2010 Oliver Albrecht [email protected]
5+
*
6+
* @author Oliver Albrecht [email protected]
7+
* @version 1.0.0
8+
*
9+
*/
10+
11+
/** Styles for the Example page **/
12+
body {font-size: 12px; color: #666; font-family: Verdana, sans-serif; margin: 20px;}
13+
input {font-size: 12px; color: #666; font-family: Verdana, sans-serif;}
14+
input[type=submit] {border: 1px solid #999; margin-top: 2em; background: #fff; -moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; line-height: 30px; height: 30px; -moz-box-shadow: 0 0 3px #888; -webkit-box-shadow: 0 0 3px #888; box-shadow: 0 0 3px #888;}
15+
label {font-weight: bold; margin-bottom: 0.5em; display: block;}
16+
.footer {margin-top: 100px;}
17+
18+
/**
19+
* Styles of the tagedit inputsforms
20+
*/
21+
.tagedit-list {margin: 0; padding: 5px 5px 0 5px; border: 1px solid #c6c6c6; width: 400px; overflow: auto; font-size: 11px; min-height: 25px; }
22+
.tagedit-list li.tagedit-listelement {list-style-type: none; float: left; margin: 0 5px 5px 0; padding: 0; }
23+
/* New Item input */
24+
.tagedit-list li.tagedit-listelement-new input {border: 0; height: 100%; padding: 2px 5px; width: 15px; background: #fff;}
25+
.tagedit-list li.tagedit-listelement-new input:focus {outline: none;}
26+
.tagedit-list li.tagedit-listelement-new input.tagedit-input-disabled {display: none;}
27+
/* Item that is put to the List */
28+
.tagedit-list li.tagedit-listelement-old {background: #DEE7F8 url(../img/disc.png) 4px center no-repeat; border: 1px solid #CAD8F3; padding: 2px 0 2px 13px; -moz-border-radius: 8px 4px 4px 8px; -webkit-border-radius: 8px 4px 4px 8px; border-radius: 8px 4px 4px 8px;}
29+
.tagedit-list li.tagedit-listelement-old:hover {background-color: #D6E4FF;}
30+
.tagedit-list li.tagedit-listelement-old a.tagedit-close,
31+
.tagedit-list li.tagedit-listelement-old a.tagedit-break,
32+
.tagedit-list li.tagedit-listelement-old a.tagedit-delete,
33+
.tagedit-list li.tagedit-listelement-old a.tagedit-save {font-weight: bold; text-indent: -2000px; display: inline-block; width: 15px; height: 100%; cursor: pointer; border-left: 1px dotted #7E9DD6; margin: 0 2px 0 5px; background: url(../img/cross.png) center center no-repeat;}
34+
.tagedit-list li.tagedit-listelement-old a.tagedit-save {background-image: url(../img/tick.png); margin-right: 0;}
35+
.tagedit-list li.tagedit-listelement-old a.tagedit-break {background-image: url(../img/undo.png); margin-right: 0;}
36+
.tagedit-list li.tagedit-listelement-old a.tagedit-delete {background-image: url(../img/delete.png); margin: 0 5px 0 2px; background-position: right center;}
37+
/* Items that are edited */
38+
.tagedit-list li.tagedit-listelement-edit input.tagedit-edit-input {border: 0; background: transparent; font-size: 11px; color: #666; padding: 0;}
39+
.tagedit-list li.tagedit-listelement-edit input:focus {outline: none;}
40+
.tagedit-list li.tagedit-listelement-edit a.tagedit-break {border: 0; margin-left: 0;}
41+
.tagedit-list li.tagedit-listelement-edit a.tagedit-close,
42+
.tagedit-list li.tagedit-listelement-edit span {display: none;}
43+
/* Item is marked as deleted */
44+
.tagedit-list li.tagedit-listelement-deleted,
45+
.tagedit-list li.tagedit-listelement-deleted:hover {padding-right: 5px; background-color: #FFD6D6; border-color: #FFB7B7; border-style: dashed; }
46+
.tagedit-list li.tagedit-listelement-deleted span {text-decoration: line-through;}
47+
.tagedit-list li.tagedit-listelement-deleted a.tagedit-close {margin-right: 0;}
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading

css/ui-lightness/jquery-ui-1.8.6.custom.css

+347
Large diffs are not rendered by default.

favicon.ico

1.12 KB
Binary file not shown.

img/cross.png

276 Bytes
Loading

img/delete.png

322 Bytes
Loading

img/disc.png

181 Bytes
Loading

img/edit.png

295 Bytes
Loading

img/go.png

282 Bytes
Loading

img/tick.png

289 Bytes
Loading

img/undo.png

351 Bytes
Loading

index.html

+82
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
1+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
2+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de" lang="de">
3+
<head>
4+
<title>jQuery Plugin tagedit - Tageditor</title>
5+
6+
<meta name="generator" content="Komodo IDE" />
7+
<meta name="author" content="Oliver Albrecht" />
8+
<meta name="description" content="Example Page for the jQuery Plugin tagedit. It offers an inputfield for adding, editing und deleting keywords, tags and other lists. There is also autocompletion" />
9+
<meta name="robots" content="index, follow" />
10+
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
11+
12+
<meta http-equiv="content-language" content="de"/>
13+
<meta name="language" content="de"/>
14+
15+
<link rel="shortcut icon" href="favicon.ico"/>
16+
<link rel="StyleSheet" href="css/ui-lightness/jquery-ui-1.8.6.custom.css" type="text/css" media="all"/>
17+
<link rel="StyleSheet" href="css/jquery.tagedit-1.0.0.css" type="text/css" media="all"/>
18+
19+
<script type="text/javascript" src="js/jquery-1.4.2.min.js"></script>
20+
<script type="text/javascript" src="js/jquery-ui-1.8.6.custom.min.js"></script>
21+
<script type="text/javascript" src="js/jquery.autoGrowInput.js"></script>
22+
<script type="text/javascript" src="js/jquery.tagedit-1.0.0.js"></script>
23+
24+
<script type="text/javascript">
25+
$(function() {
26+
27+
// Fullexample
28+
$( "#tagform-full" ).find('input.tag').tagedit({
29+
autocompleteURL: 'server/autocomplete.php',
30+
});
31+
32+
// Edit only
33+
$( "#tagform-editonly" ).find('input.tag').tagedit({
34+
autocompleteURL: 'server/autocomplete.php',
35+
allowEdit: false,
36+
allowAdd: false,
37+
});
38+
});
39+
</script>
40+
41+
</head>
42+
<body>
43+
<h1>jQuery Plugin Tagedit</h1>
44+
<p>
45+
The jQuery Plugin <strong>tagedit</strong> by <a href="http://webwork-albrecht.de" title="visit my homepage">Oliver Albrecht</a> offers an easy way to add, edit and delete lists of keywords.<br/>
46+
Keywords can be brought to the user with a autocomplete list.<br/><br/>
47+
This plugin was inspired by the <a href="http://levycarneiro.com/projects/tag-it/example.html">jQuery Plugin Tag it!</a> created by <a href="http://levycarneiro.com/">Levy Carneiro Jr</a>.
48+
</p>
49+
<h2>Dependencies</h2>
50+
<ul>
51+
<li><a href="http://jquery.com">jQuery 1.4.x</a></li>
52+
<li><a href="http://jqueryui.com">jQuery UI 1.8.x</a></li>
53+
<li><a href="http://jsbin.com/ahaxe">autoGrowInput</a> by <a href="http://james.padolsey.com">James Padolsey</a></li>
54+
</ul>
55+
56+
<h2>Try out a demonstration</h2>
57+
58+
<h3>Full example</h3>
59+
<form action="server/formtarget.php" method="post" id="tagform-full" target="_blank">
60+
<p>
61+
<input type="text" name="tag[19]" value="Merlin" class="tag"/>
62+
<input type="text" name="tag[15-d]" value="Little Owl" class="tag"/>
63+
64+
<input type="submit" name="save" value="Save"/>
65+
</p>
66+
</form>
67+
68+
<h3>Add only - restricted on Autocomplete List</h3>
69+
<form action="server/formtarget.php" method="post" id="tagform-editonly" target="_blank">
70+
<p>
71+
<input type="text" name="tag[3]" value="Hazel Grouse" class="tag" />
72+
73+
<input type="submit" name="save" value="Save"/>
74+
</p>
75+
</form>
76+
77+
<p class="footer">
78+
<a rel="license" href="http://creativecommons.org/licenses/by/3.0/"><img alt="Creative Commons License" style="border-width:0" src="http://i.creativecommons.org/l/by/3.0/88x31.png" /></a><br />This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by/3.0/">Creative Commons Attribution 3.0 Unported License</a>.<br/>
79+
&copy; 2010 Oliver Albrecht - <a href="http://webwork-albrecht.de">webwork-albrecht.de</a>
80+
</p>
81+
</body>
82+
</html>

0 commit comments

Comments
 (0)