Non Jquery version
Select a text to show widgetLorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it |
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it |
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it |
Can be added to a input and textareas also |
// This non-jquery version cannot target particular elements, but the entire document will be available for selection.
// To activate the widget, the following object should be added in the document
var sts_config = {
title: "Share this text ...",
lists: "Twitter,http://twitter.com/home?status=%ts ,favicon|Facebook,http://www.facebook.com/sharer.php?t=%s&u=http://google.com,favicon|Wikipedia (en),http://en.wikipedia.org/w/index.php?title=Special:Search&search=%s,favicon|Google Maps,http://maps.google.com/?q=%s,favicon",
truncateChars: "115",
extraClass: "",
borderColor: "#430070",
background: "#fff",
titleColor: "#f2f2f2",
hoverColor: "#c2f7ff",
textColor: "#000"
};
<!-- No need to target particular elements. This non-jquery version targets the entire document-->
