PTags
JavaScript (jQuery) content tag editor plugin.
Caution warning danger attention!
This is the development site. It's a playground for
bleeding edge features and code that probably won't
work. You should head over to the
Main Site
About
PTags is a JavaScript content tag editor plugin for the
jQuery JavaScript library, developed by Hunter Perrin as part
of 2be.
It is designed to provide maximum flexibility, while
still being easy to use and easy to implement.
Cross-Browser
PTags works in all major browsers and provides
a consistent interface. It is tested thoroughly for
consistency.
Easy to Implement
The original input element is hidden and a clone input element is created
to allow the user to edit and create tags. This new input is
exactly the same as the original, except "__ptags" is
appended to the name and ID. The original input's value is
kept current with all the tags that are entered. This means you
don't have to change anything in your server-side scripts!
See All Features
Themeable
PTags uses the jQuery UI CSS library for styling, which
means it is fully and easily themeable. Try out some of the
readymade themes using the selector in the top right corner
of this page.
Completely Open
PTags is distributed under the
GPL,
LGPL,
and
MPL.
This triple copyleft licensing model avoids
incompatibility with other open source licenses.
Did you know?
This is the stable site. You can download code here that's
tested and proven to work. However, if you like to live
dangerously, you can also check out the
development site.
- Preserves original input element. The value is updated, so you don't have to alter your scripts.
- Stays in sync with input element. You can still use
val()
.
- Tags can be edited by clicking them.
- Supports any custom delimeters.
- Completely keyboard accessible.
Installation is simple. Include jQuery and jQuery UI (only the CSS is required). Then include the following files:
- jquery.ptags.js or jquery.ptags.min.js (Minified)
- jquery.ptags.default.css
© 2011-2012 SciActive.com. All Rights Reserved.
Comments