
{Keyworder} v1.0 is a light-weight and versatile jQuery plugin offering a straightforward option to handle your content material key phrases, acronyms and abbreviations in a tooltiped approach. However this isn’t the one software for this code, because it will also be used to detect textual content patterns similar to emails, URLs, IP addresses, numbers, dates and smileys and format them with default or customized templates. It comes with an entire set of built-in detectors and converters, such because the smileys dictionary, which mechanically detects the textual content indicators and converts them into smileys
Predominant options
- Detects an outlined record of key phrases and reveals their definitions
- within the browser’s default tooltip
- in a 3rd celebration jQuery tooltip (Tipsy)
- simply after a key phrase prevalence
- Replaces a listing of key phrases with the phrases outlined within the corresponding definitions
- Matches predefined textual content patterns and codecs them in desired trend
- Comes with a set of pre-defined dictionaries
- Templates and CSS types totally customisable
- Callbacks for occasions and delegates for many actions
- Simple to put in and to make use of
- Effectively documented
Examples
The next samples provide you with an concept of the just about infinite prospects of this sensible plugin:
- Tooltips: spotlight key phrases’ matches and present their definitions in a tooltip
- Inline definition: spotlight key phrases’ matches and insert their definitions simply after their occurrences
- Keyword replacement: change key phrases with their definitions in plain textual content or in HTML output
- Match pattern: detect patterns or varieties and format them as desired
- Dictionaries
- Smileys: change mechanically textual smileys with smiley icons
- File extensions: detect recordsdata and insert corresponding file extension icons
- Emails: detect plain textual content emails and convert them in mailto hyperlinks or masks them
- URLs: detect plain textual content URLs and convert them into hyperlinks
- IP addresses: spotlight IP addresses and supply tooltiped definition
- Dates: detect and convert date codecs
- Currencies: convert numeric values into forex codecs
- Numbers: convert numeric codecs
- Customisation
- Templates: customise your personal HTML templates for every key phrase
- Styles: apply completely different spotlight CSS courses for every key phrase
- Callbacks: make the most of the various callbacks to create superior elements
- Delegates: make the most of the delegate features to make use of your personal logic for alternative operations
Why use this plugin?
If you might want to keep key phrases, acronyms, abbreviations or any specific phrases in your content material, this may very well be a really handy, sensible and easy resolution. However, customers will respect the presence of visible helpers each time ‘mysterious’ or technical phrases are encountered in your textual content.
If you might want to carry out operations in your textual content, similar to, changing values into formatted numbers, or for instance generate hyperlinks from plain textual content URLs, or detect smileys, or why not all of that on the identical time, this plugin will prevent a variety of complications and can put a smile in your face