jQuery Plugin To Convert URLs & Emails Into Html Links - Linkify
| File Size: | 7.11 KB |
|---|---|
| Views Total: | 763 |
| Last Update: | |
| Publish Date: | |
| Official Website: | Go to website |
| License: | MIT |
Yet another jQuery 'linkify' plugin which convert valid URLs & Email addresses in the selected text to clickableHtml links. Works with http/https/ftp protocols, IP addresses and mailto links.
See also:
How to use it:
1. Include jQuery Linkify plugin after you have jQuery installed.
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script> <script src="js/jquery-linkify.min.js"></script>
2. Call the function to enable the plugin on a specified container.
$("#container").linkify();
3. Default ptions.
$("#container").linkify({
// CSS class for links
className: "linkified",
// add target attribute to links
target: "_self",
// add nofollow attribute to links
nofollow: false
});
This awesome jQuery plugin is developed by planettelex. For more Advanced Usages, please check the demo page or visit the official website.











