jQuery – Selected Text Sharer
Jquery selected text sharer is a promoting and enhancing plugin focusing to increase the site usage. This plugin displays a widget having links to search / share, above the selected text. Inspired from NY times website.
- Features
- Demo
- Documentation
- Download
Features
- Cross browser supported.
- Highly customisable interface.
- Light-weight.
- Can add unlimited links to the widget for searching and sharing.
- Selected text truncation for Twitter.
- Can show widget for textboxes and textareas also.
- Can show widget only for particular elements.
- Available in non-Jquery version also.
Demo
Click the button below to view the example and demonstrations of selected text sharer plugin.
Documentation
Basic Usage
$('Element selector').selectedTextSharer({
title : 'Share this text ...', // Title of the widget
lists : 'Google, http://www.google.com/search?q=%s, favicon', // Links for searching / sharing
truncateChars : 115, // Number of characters to truncate for twitter.
extraClass : 'someClass', // Additional class for customizing the widget.
borderColor : '#444', // Color of the border
background : '#fff', // Background color
titleColor : '#f2f2f2', // Title Background color
hoverColor : '#ffffcc', // Links hover color
textColor : '#000' // Text color
});
Adding search/share Links
A single links requires three values. They are Name of the Link, URL, Icon URL. The variable %s should be inserted in the search / share URL to get the selected text. Additionaly, %ts can also be used to get the truncated selected text.
Also, favicon can be used instead of Icon URL to automatically get the Icon
- Example:
Google,http://www.google.com/search?q=<b>%s</b>,favicon
Adding multiple links
Multiple links can be added by joining the individual link by “|”
- Example:
Google, http://www.google.com/search?q=%s, favicon|Twitter, http://twitter.com/home?status=%ts ,favicon|Wikipedia ,http://en.wikipedia.org/w/index.php?title=Special:Search&search=%s,favicon
These links should be the value of the property “lists”
Pingback: WP Selected Text Sharer - Wordpress Plugin - Aakash Web
Pingback: Recently updated wordpress plugins: 2010.8.10 | WP Note
Pingback: Jquery Selected text searcher – Plugin jQuery | LudiBlog
Pingback: Jquery selected text sharer — Afficher un ToolTips à la sélection d’un texte
Pingback: Procuras múltiples « Remexer Na Lingua
Pingback: 35 plugins jQuery rien que pour vos sites web ! | LudiBlog
Pingback: jQuery Select Text Sharer | Me Salva
Pingback: WP Selected Text Sharer review, discussions, does it work, and ratings on Loadwp.com | Loadwp.com
Pingback: 390 ressources Javascript & jQuery
Pingback: 50 Plugins jQuery pour vos sites web ! | LudiBlog
Pingback: WP Selected Text Sharer | Best Plugins - wordpress – widgets – plugin 2012
Pingback: Liens pour le développeur web front-end et l’intégrateur HTML & CSS | Agence web design Montreal Quebec Canada | Sauvage Design Studio