» tagged pages
» logout

(Feed found, click Add Page to syndicate.) Error finding feed, please try again » Find feed title

A Blog Page allows you to add entries, for news or other time sensitive postings

(Login required to save to your tagged pages.)
(or Cancel)

Make further edits, (or Cancel)

(Login required to save to your tagged pages.)
(or Cancel)

(Editing anonymously: to be credited for your changes, login or register a new account)

Change Page Permissions? Changing these permissions will adjust who can modify this page.

alex (change)
Swik Users (change)
(or Cancel)
Upload an image from your computer:
or Copy an image from a URL:
or Erase the current icon:
Icon Preview:

or Cancel

Erase bozComplete? The contents of bozComplete page and all pages directly attached to bozComplete will be erased.

or Cancel

(Editing anonymously: to be credited for your changes, login or register a new account)

other page actions:
bozComplete

bozComplete

bozComplete Wiki Pages

Tag Cloud

To further filter what appears in the Things Tagged bozComplete list, select a tag from the Tag Cloud.

bozComplete is an unobtrusive autocomplete JavaScript library for autocompleting preset words in an input box.

It uses binary search and merge sorting for speed, javascript objects for code cleanliness, cross-platform support tested on IE, Firefox, Safari and Opera, and optional term ranking.

Even on a relatively slow machine, bozComplete can handle choosing from over 50k completions while still remaining responsive. Try it out yourself.

To use bozComplete

  1. Include the script after including Prototype.
  2. Add the class ‘autocomplete’ to any input boxes you wish to have autocomplete. (note: they must have an id.)
  3. Include the line: Autocomplete.defaultSuggestTags = ‘alphabetized suggest words’;

That’s it.

If you want the autocomplete box to layer next to your input box, here are some suggested CSS rules by which you can do this:

Additional capabilities

bozComplete also offers the capability to customize the list of words to use for a specific input form. To do this, include a hidden input, with the id equal to = ’s’+id of the input to complete.

Additionally, bozComplete can order by a predetermined ranking. To use this feature, append a comma followed by a ranking number to each alphabetized autocomplete term.

To try this out, visit the test page. The test page offers a toggle for the number of search terms to complete on. An unlimited number of terms are supported by the script, however performance may suffer on slower machines if beyond 20,000 terms are used.

To download the script, grab the source from here.

Limitations

  • bozComplete does not support arbitrary capitalizations, only lowercase tags are supported currently. Uppercase tags will be lowercased.
  • If you add autocomplete inputs after the page has loaded, you will now need to call Autocomplete.findTargets() to let Autocomplete know to search for new inputs. This has been changed for performance reasons.

Projects using bozComplete

sorted by: recent | see : popular
Content Tagged bozComplete

UPGRADE: tag suggestions and tag cloud

New update to boz:

  • tag suggestions powered by bozComplete, you can now see and autocomplete common tags you have used
  • tag cloud: your tags now sort themselves by frequency of use and appear bigger if you use them more.
  • general caching improvements leveraging dojo.storage to speed load and render time.

Yay upgrade!

boz: boz News

Username:
Password:
(or Cancel)