All Projects → ioncache → Tag Handler

ioncache / Tag Handler

Licence: lgpl-3.0
Tag Handler is a jQuery plugin used for managing tag-type metadata.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Tag Handler

Tokenize2
Tokenize2 is a plugin which allows your users to select multiple items from a predefined list or ajax, using autocompletion as they type to find each item. You may have seen a similar type of text entry when filling in the recipients field sending messages on facebook or tags on tumblr.
Stars: ✭ 74 (-2.63%)
Mutual labels:  ajax, jquery-plugin
Jcanvas
A jQuery plugin that makes the HTML5 canvas easy to work with.
Stars: ✭ 612 (+705.26%)
Mutual labels:  jquery-plugin, javascript-library
Jquery Typeahead
Javascript Typeahead (autocomplete) plugin with more than 50 options and callbacks.
Stars: ✭ 527 (+593.42%)
Mutual labels:  jquery-plugin, autocomplete
Email Autocomplete
A jQuery plugin that suggests and autocompletes the domain in email fields.
Stars: ✭ 265 (+248.68%)
Mutual labels:  jquery-plugin, autocomplete
Infinite Ajax Scroll
Turn your existing pagination into infinite scrolling pages with ease
Stars: ✭ 804 (+957.89%)
Mutual labels:  ajax, javascript-library
Selectmenu
Simple, easily and diversity menu solution
Stars: ✭ 284 (+273.68%)
Mutual labels:  jquery-plugin, autocomplete
Form
jQuery Form Plugin
Stars: ✭ 5,122 (+6639.47%)
Mutual labels:  ajax, jquery-plugin
kolorwheel.js
🌈 Color palette generator JavaScript library
Stars: ✭ 37 (-51.32%)
Mutual labels:  jquery-plugin, javascript-library
Trip.js
🚀 Trip.js is a plugin that can help you customize a tutorial trip easily with more flexibilities.
Stars: ✭ 789 (+938.16%)
Mutual labels:  jquery-plugin, javascript-library
Selectpage
A simple style and powerful selector, including ajax remote data, autocomplete, pagination, tags, i18n and keyboard navigation features
Stars: ✭ 679 (+793.42%)
Mutual labels:  jquery-plugin, autocomplete
jquery.skeleton.loader
A jQuery plugin to make screen skeleton loader.
Stars: ✭ 65 (-14.47%)
Mutual labels:  jquery-plugin, javascript-library
Infinite Scroll
📜 Automatically add next page
Stars: ✭ 7,006 (+9118.42%)
Mutual labels:  ajax, jquery-plugin
jq-ajax-progress
jQuery plugin that adds support of `progress` promise
Stars: ✭ 59 (-22.37%)
Mutual labels:  jquery-plugin, ajax
Bunny
BunnyJS - Lightweight native (vanilla) JavaScript (JS) and ECMAScript 6 (ES6) browser library, package of small stand-alone components without dependencies: FormData, upload, image preview, HTML5 validation, Autocomplete, Dropdown, Calendar, Datepicker, Ajax, Datatable, Pagination, URL, Template engine, Element positioning, smooth scrolling, routing, inversion of control and more. Simple syntax and architecture. Next generation jQuery and front-end framework. Documentation and examples available.
Stars: ✭ 473 (+522.37%)
Mutual labels:  ajax, autocomplete
xGallerify
A lightweight, responsive, smart gallery based on jQuery
Stars: ✭ 52 (-31.58%)
Mutual labels:  jquery-plugin, javascript-library
Filterizr
✨ Filterizr is a JavaScript library that sorts, shuffles and filters responsive galleries using CSS3 transitions ✨
Stars: ✭ 546 (+618.42%)
Mutual labels:  jquery-plugin, javascript-library
ajxnetcore
Its an innovative method to turn an ASP.NET Core Application Into Single Page Application, While enhancing the Software performance both on server and client side.
Stars: ✭ 31 (-59.21%)
Mutual labels:  jquery-plugin, ajax
fancy-textfill
Fast implementation for resizing text to fill its container.
Stars: ✭ 17 (-77.63%)
Mutual labels:  jquery-plugin, javascript-library
Ua Parser Js
UAParser.js - Detect Browser, Engine, OS, CPU, and Device type/model from User-Agent data. Supports browser & node.js environment.
Stars: ✭ 6,421 (+8348.68%)
Mutual labels:  jquery-plugin, javascript-library
Push State
Turn static web sites into dynamic web apps.
Stars: ✭ 16 (-78.95%)
Mutual labels:  ajax, jquery-plugin

jQuery Tag Handler v1.3.1 Copyright (C) 2010-2011 Mark Jubenville Mark Jubenville - [email protected] http://ioncache.github.com/Tag-Handler

Development time supported by: Raybec Communications http://www.raybec.com http://www.mysaleslink.com

Modified by Javier Fernandez Escribano - [email protected] Added autocomplete queries as the user writes

Development time supported by: Tourist Eye http://www.touristeye.com

Based heavily on: Tag it! by Levy Carneiro Jr (http://levycarneiro.com/) http://levycarneiro.com/projects/tag-it/example.html http://github.com/levycarneiro/tag-it http://plugins.jquery.com/project/tag-it

Tag icons/cursors converted from: From the famfamfam.com Silk icon set: http://www.famfamfam.com/lab/icons/silk/

Loader image created at: Preloaders.net http://preloaders.net/


Description

Tag Handler is a jQuery plugin used for managing tag-type metadata.


Basic Usage Instructions

  • Tag Handler must be attached to one or more

      tags in your HTML.
  • To add a tag, click on the tag box, type in a name, and hit enter or comma.

  • Tags may be removed from the tag box by hitting backspace inside the box or by clicking on the tag.

  • The list of tags may be initialized in 1 of 3 ways:

  1. By passing arrays of tag names as options to the plugin ("availableTags" and "assignedTags"); or,

  2. By supplying a "getURL" for the tags to be retrieved via AJAX.

When using this method, the server must supply a JSON formatted array named "availableTags" and optionally an additional array named "assignedTags".

  1. By supplying a "getURL" and initLoad: false.

When using this method, it will get the "assignedTags" from the array as in method 1. When the user writes a tag, it will query the server searching for similar tags.

Either way, the information from these 3 methods will be used in the following manner:

availableTags: each item in this array will populate the autocomplete drop-down list

assignedTags: each item this array will become a tag in the tag box

  • Tags may be sent back to the server by supplying an "updateURL". In this case, an array will be sent back to the server named "tags".

  • You can define whether the user can create new tags or select tags only.

  • You can define if the user can edit the tags.

  • A sample CSS file is included that can be used to help with formatting tags.


Plugin Examples

Example 1: The Tag Handler will be initialized with no options and no default tags:

$("#basic_tag_handler").tagHandler();

Example 2: The Tag Handler will be initialized with preset tags from the assignedTags and availableTags arrays, and autocomplete witll be turned on:

$("#array_tag_handler").tagHandler({ assignedTags: [ 'Perl' ], availableTags: [ 'C', 'C++', 'C#', 'Java', 'Perl', 'PHP', 'Python' ], autocomplete: true });

See http://ioncache.github.com/Tag-Handler for more examples


Plugin Options

Tag data specific options:

Option Description Default Value


assignedTags array to pass a list of already assigned tags [] availableTags array to pass a list of all available tags [] getData data field with info for getURL '' getURL URL for retrieving tag lists via ajax {} initLoad indicates if all tags should be loaded on init true updateData data field with additional info for updtateURL {} updateURL URL for saving tags via ajax ''

Callback options:

Option Description Default Value


onAdd function to be called when a new tag is added {} onDelete function to be called when a tag is deleted {} afterAdd function to be called after a new tag is added {} afterDelete function to be called after a tag is deleted {}

Miscellaneous options:

Option Description Default Value


allowAdd indicates whether the user can add new tags true allowEdit indicates whether the tag list is editable true autocomplete requires jqueryui autocomplete plugin false autoUpdate indicates whether updating occurs automatically false whenever a tag is added/deleted - if set true, the save button will not be shown className base class name that will be added to the tag 'tagHandler' container debug will turn on some console logging debug info false delimiter extra delimiter to use to separate tags '' note 'enter' and 'comma' are always allowed maxTags sets a limit to the number of allowed tags, set 0 to 0 to allow unlimited minChars minimum number of chars to type before starting 0 autocomplete msgError message shown when there is an error loading 'There was an the tags error getting the tag list.' msgNoNewTag message shown when the user cannot add a new 'You don't have tag permission to create a new tag.' queryname query term used to send user typed data 'q' sortTags sets sorting of tag names alphabetically true

Methods

Name Description Usage


getTags returns an array of tags .tagHandler("getTags") getSerializedTags returns comma separated .tagHandler("getSerializedTags") string of tags


License

This program is free software: you can redistribute it and/or modify it under the terms of the Lesser GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Lesser GNU General Public License for more details.

You should have received a copy of the Lesser GNU General Public License along with this program. If not, see < http://www.gnu.org/licenses/ >.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].