Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 3 additions & 6 deletions Demo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,7 @@
<!-- required stylesheet for TextboxList.Autocomplete -->
<link rel="stylesheet" href="../Source/TextboxList.Autocomplete.css" type="text/css" media="screen" charset="utf-8" />

<script src="mootools-1.2.1-core-yc.js" type="text/javascript" charset="utf-8"></script>

<!-- required for TextboxList -->
<script src="GrowingInput.js" type="text/javascript" charset="utf-8"></script>
<script src="mootools-core-1.4.5-full-nocompat.js" type="text/javascript" charset="utf-8"></script>

<script src="../Source/TextboxList.js" type="text/javascript" charset="utf-8"></script>
<script src="../Source/TextboxList.Autocomplete.js" type="text/javascript" charset="utf-8"></script>
Expand All @@ -30,7 +27,7 @@
t.add('Tag 1').add('Tag 2').add('Tag 3');

// With custom adding keys
var t2 = new TextboxList('form_tags_input_2', {bitsOptions:{editable:{addKeys: 188}}});
var t2 = new TextboxList('form_tags_input_2', {bitsOptions:{editable:{addKeys: [188, 32]},stopEnter:true}});
t2.add('Tag 1').add('Tag 2');

// Autocomplete initialization
Expand Down Expand Up @@ -69,7 +66,7 @@

/* Preloader for autocomplete */
.textboxlist-loading { background: url('images/spinner.gif') no-repeat 380px center; }

/* Autocomplete results styling */
.form_friends .textboxlist-autocomplete-result { overflow: hidden; zoom: 1; }
.form_friends .textboxlist-autocomplete-result img { float: left; padding-right: 10px; }
Expand Down
Loading